#include "copyright.h"#include "system.h"#include <sys/time.h>#include <stdio.h>#include <signal.h>#include <pthread.h>#include <unistd.h>Go to the source code of this file.
Functions | |
| void | Cleanup () |
| void | Initialize (int argc, char **argv) |
Variables | |
| Thread * | currentThread |
| Thread * | threadToBeDestroyed |
| Scheduler * | scheduler |
| Interrupt * | interrupt |
| Statistics * | stats |
| Timer * | timer |
| long | timerCount = 0 |
| long | secCount = 0 |
| int | tready |
|
|
Definition at line 187 of file system.cc. References Exit(), interrupt, scheduler, timer, and timer_id. Referenced by Interrupt::Halt(), and Initialize().
|
|
||||||||||||
|
Definition at line 90 of file system.cc. References ASSERT, CallOnUserAbort(), Cleanup(), DebugInit(), Interrupt::Enable(), FALSE, interrupt, RandomInit(), scheduler, stats, threadToBeDestroyed, timer, and TRUE. Referenced by main().
|
|
|
Definition at line 19 of file system.cc. Referenced by Thread::Finish(), main(), Interrupt::OneTick(), Semaphore::P(), Machine::Run(), schedule(), Thread::Sleep(), Thread::Suspend(), Scheduler::timerIntH(), Thread::Yield(), and Thread::~Thread(). |
|
|
|
Definition at line 21 of file system.cc. Referenced by Cleanup(), Thread::Fork(), Initialize(), main(), schedule(), Thread::Suspend(), Scheduler::timerIntH(), and Semaphore::V(). |
|
|
Definition at line 29 of file system.cc. Referenced by Statistics::Print(), and Scheduler::timerIntH(). |
|
|
Definition at line 23 of file system.cc. Referenced by Console::CheckCharAvail(), Network::CheckPktAvail(), Disk::ComputeLatency(), Machine::Debugger(), Interrupt::DumpState(), Interrupt::Halt(), Initialize(), Interrupt::OneTick(), Disk::ReadRequest(), Machine::Run(), Interrupt::Schedule(), Network::SendDone(), Console::WriteDone(), and Disk::WriteRequest(). |
|
|
Definition at line 20 of file system.cc. Referenced by Thread::Finish(), Initialize(), and schedule(). |
|
|
Definition at line 24 of file system.cc. Referenced by Cleanup(), and Initialize(). |
|
|
Definition at line 28 of file system.cc. Referenced by Statistics::Print(), and Scheduler::timerIntH(). |
|
|
|
1.3.8