#include "copyright.h"Go to the source code of this file.
Compounds | |
| class | Statistics |
| The following class defines the statistics that are to be kept about Nachos behavior -- how much time (ticks) elapsed, how many user instructions executed, etc. The fields in this class are public to make it easier to update. More... | |
Variables | |
| const int | UserTick = 1 |
| advance for each user-level instruction. More... | |
| const int | SystemTick = 10 |
| advance each time interrupts are enabled. More... | |
| const int | RotationTime = 500 |
| time disk takes to rotate one sector. More... | |
| const int | SeekTime = 500 |
| time disk takes to seek past one track. More... | |
| const int | ConsoleTime = 100 |
| time to read or write one character. More... | |
| const int | NetworkTime = 100 |
| time to send or receive one packet. More... | |
| const int | TimerTicks = 100 |
| (average) time between timer interrupts. More... | |
|
|
time to read or write one character.
|
|
|
time to send or receive one packet.
|
|
|
time disk takes to rotate one sector.
|
|
|
time disk takes to seek past one track.
|
|
|
advance each time interrupts are enabled.
|
|
|
(average) time between timer interrupts.
|
|
|
advance for each user-level instruction.
|
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001