#include <alarm.H>
Inherited by INSTLIB::ALARM_BASE.
Public Member Functions | |
| ARMED_COUNT (THREADID max_threads, THREADID tid) | |
| INT64 | Count (THREADID tid=0) const |
| BOOL | CounterAdvance (THREADID tid, INT64 ninst=1) |
| BOOL | CounterAdvanceCheckNThreads (THREADID tid, UINT32 LowTid, UINT32 HighTid, INT64 ninst=1) |
| BOOL | Active () const |
| VOID | ActivateCommon () |
| void | Set (INT64 orig_count, BOOL rearm, BOOL always_armed, THREADID tid) |
Protected Member Functions | |
| BOOL | Armed (THREADID tid=0) const |
| VOID | SetArmed (THREADID tid=0) |
| VOID | SetCount (THREADID tid, INT64 count) |
| VOID | ResetCount (THREADID tid) |
| VOID | Disarm (THREADID tid=0) |
Protected Attributes | |
| INT64 | _orig_count |
| INT64 * | _count |
| BOOL * | _armed |
| BOOL | _active |
| BOOL | _rearm |
| BOOL | _always_armed |
| THREADID | _maxThreads |
| THREADID | _tid |
| PIN_LOCK | _pin_lock |
|
|
Set the alarm to be active. |
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
Advance the counter
|
|
||||||||||||||||||||
|
Advance the counter and check whether the alarm should fire. If a TID range was specified, the alarm will fire only after all the threads in the range have advanced past the specified count.
|
|
|
Set the armed value. |
|
||||||||||||||||||||
|
Set several common fields |
|
|
Set the armed value. |
|
||||||||||||
|
Set the count value. |
1.4.6