Changeset 1787 in Sophya for trunk/ArchTOIPipe/Kernel/toiprocessor.cc
- Timestamp:
- Nov 26, 2001, 4:13:48 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/Kernel/toiprocessor.cc
r1773 r1787 3 3 // Christophe Magneville 4 4 // Reza Ansari 5 // $Id: toiprocessor.cc,v 1.2 0 2001-11-16 14:10:42aubourg Exp $5 // $Id: toiprocessor.cc,v 1.21 2001-11-26 15:13:48 aubourg Exp $ 6 6 7 7 #include "toiprocessor.h" … … 39 39 minOut = -1; 40 40 maxOut = -1; 41 forcedMinIn = -1; 42 forcedMaxIn = -1; 41 43 neededHistory = 1000; 42 44 lastAWN = 0; … … 72 74 int TOIProcessor::getMinOut() { 73 75 //cout << name << "minout" << endl; 74 if (minOut < 0) minOut = calcMinOut();76 if (minOut < 0) minOut = calcMinOut(); 75 77 //cout << name << "minout=" << minOut << endl; 76 78 return minOut; … … 101 103 if (x > minIn) minIn = x; 102 104 } 105 if (forcedMinIn > 0 && forcedMinIn > minIn) minIn = forcedMinIn; 103 106 return minIn; 104 107 } … … 113 116 if (x < maxIn) maxIn = x; 114 117 } 118 if (forcedMaxIn > 0 && forcedMaxIn < maxIn) maxIn = forcedMaxIn; 115 119 return maxIn; 116 120 }
Note:
See TracChangeset
for help on using the changeset viewer.