Changeset 32601 for trunk/ippMonitor
- Timestamp:
- Nov 1, 2011, 9:31:19 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippMonitor/czartool/czartool/CzarDb.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/czartool/czartool/CzarDb.pm
r32093 r32601 682 682 # added, and store value to subtract from linear value below. If > 1000 683 683 # processed per hour, then it must be wrong 684 if (($thisProcessed - $lastProcessed)/( $timeSep/3600) > 1000) {684 if (($thisProcessed - $lastProcessed)/(($timeSep/3600)+1) > 1000) { 685 685 $positiveJump = $thisProcessed - $lastProcessed; 686 686 } … … 702 702 703 703 # calculate first derivative in units of images per hour 704 $derivPending = $diffPending/($timeSep/3600 );705 $derivFaults = $diffFaults/($timeSep/3600 );706 $derivProcessed = $diffProcessed/($timeSep/3600 );704 $derivPending = $diffPending/($timeSep/3600 +1); 705 $derivFaults = $diffFaults/($timeSep/3600 +1); 706 $derivProcessed = $diffProcessed/($timeSep/3600 +1); 707 707 708 708 }
Note:
See TracChangeset
for help on using the changeset viewer.
