Public Member Functions | |
Condq (Simulation *s, Label l, CondqObserver *o=0) | |
Construction. | |
~Condq () | |
Destruction. | |
const std::list< Process * > & | getProcessList () const |
Get list of blocked process objects. | |
virtual Trace * | getTrace () const |
Get pointer to Trace. | |
virtual void | report (Report *r) |
Generate report. | |
Synchronisation | |
bool | wait (Condition cond) |
Wait for cond. | |
void | signal () |
Trigger condition check. | |
Statistics | |
Statistics | |
virtual void | reset () |
Reset statistics. | |
unsigned int | getZeroWait () const |
Number of processes. | |
double | getAVWaitTime () const |
Average slave waiting time. | |
unsigned int | getUsers () const |
Users. | |
unsigned int | getSignals () const |
Signals. | |
Static Public Attributes | |
Condq specific trace marks | |
const MarkTypeId | baseMarkId = 1000 |
const MarkType | markCreate = MarkType("create", baseMarkId+1, typeid(Condq)) |
const MarkType | markDestroy = MarkType("destroy", baseMarkId+2, typeid(Condq)) |
const MarkType | markWait = MarkType("wait", baseMarkId+3, typeid(Condq)) |
const MarkType | markContinue = MarkType("continue", baseMarkId+4, typeid(Condq)) |
const MarkType | markSignal = MarkType("signal", baseMarkId+5, typeid(Condq)) |
|
Construction.
|
|
Wait for cond.
If the supplied condition |