17 #include "copyright.h" 37 long long systemTicks;
46 int numConsoleCharsRead;
47 int numConsoleCharsWritten;
65 #define UserTick 1 // advance for each user-level instruction 66 #define SystemTick 10 // advance each time interrupts are enabled 67 #define RotationTime 500 // time disk takes to rotate one sector 68 #define SeekTime 500 // time disk takes to seek past one track 69 #define ConsoleTime 100 // time to read or write one character 70 #define NetworkTime 100 // time to send or receive one packet 71 #define TimerTicks 100 // (average) time between timer interrupts Statistics()
Statistics::Statistics Initialize performance metrics to zero, at system startup. ...
Definition: stats.cc:20
void Print()
Statistics::Print Print performance metrics, when we've finished everything at system shutdown...
Definition: stats.cc:35
The following class defines the statistics that are to be kept about Nachos behavior – how much time...
Definition: stats.h:25