Changeset 32068
- Timestamp:
- Aug 10, 2011, 8:54:44 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/tools/czartool/CzarDb.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/czartool/CzarDb.pm
r31899 r32068 679 679 $diffFaults = $thisFaults - $lastFaults; 680 680 681 # First, look for large positive jumps in processed, most likely a label 682 # added, and store value to subtract from linear value below. If > 1000 683 # processed per hour, then it must be wrong 684 if (($thisProcessed - $lastProcessed)/($timeSep/3600) > 1000) { 685 $positiveJump = $thisProcessed - $lastProcessed; 686 } 687 else { 688 689 $positiveJump = 0; 690 } 681 691 # we only count increases in processing - drops are due to cleanup etc 682 692 if ($thisProcessed > $lastProcessed) { … … 696 706 $derivProcessed = $diffProcessed/($timeSep/3600); 697 707 698 # look for large positive jumps in processed, most likely a label added, and store value to subtract from linear value below699 if ($derivProcessed > 1000) {700 $positiveJump = $thisProcessed - $lastProcessed;701 }702 else {703 704 $positiveJump = 0;705 }706 708 } 707 709 # first time in
Note:
See TracChangeset
for help on using the changeset viewer.
