#include <vpr/md/SIM/Clock.h>
Collaboration diagram for vpr::sim::Clock:

Public Member Functions | |
| Clock () | |
| const vpr::Interval & | getCurrentTime () const |
| void | setCurrentTime (const vpr::Interval &time) |
The basic unit of time is tens of microseconds since that is what vpr::Interval uses.
Definition at line 63 of file Clock.h.
| vpr::sim::Clock::Clock | ( | ) | [inline] |
Definition at line 66 of file Clock.h.
00067 : mCurrentTime(0, vpr::Interval::Base) 00068 { 00069 /* Do nothing. */ ; 00070 }
| const vpr::Interval& vpr::sim::Clock::getCurrentTime | ( | ) | const [inline] |
Definition at line 72 of file Clock.h.
Referenced by vpr::SocketStreamImplSIM::accept(), vpr::sim::Controller::processEvents(), vpr::sim::Controller::processNextEvent(), and vpr::sim::SocketManager::sendMessage().
| void vpr::sim::Clock::setCurrentTime | ( | const vpr::Interval & | time | ) | [inline] |
Definition at line 77 of file Clock.h.
Referenced by vpr::sim::Controller::processEvents(), and vpr::sim::Controller::processNextEvent().
1.5.1