Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

stats.h File Reference

#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...


Variable Documentation

const int ConsoleTime = 100
 

time to read or write one character.

Definition at line 56 of file stats.h.

const int NetworkTime = 100
 

time to send or receive one packet.

Definition at line 57 of file stats.h.

const int RotationTime = 500
 

time disk takes to rotate one sector.

Definition at line 54 of file stats.h.

const int SeekTime = 500
 

time disk takes to seek past one track.

Definition at line 55 of file stats.h.

const int SystemTick = 10
 

advance each time interrupts are enabled.

Definition at line 53 of file stats.h.

const int TimerTicks = 100
 

(average) time between timer interrupts.

Definition at line 58 of file stats.h.

const int UserTick = 1
 

advance for each user-level instruction.

Definition at line 52 of file stats.h.


Generated at Wed Jul 4 11:32:22 2001 for Nachos by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001