#include <alarm.H>
Inherited by INSTLIB::ALARM_ADDRESS_COUNT, and INSTLIB::ALARM_ICOUNT.
Public Member Functions | |
ARMED_COUNT (UINT64 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 |
UINT64 | _maxThreads |
THREADID | _tid |
PIN_LOCK | _pin_lock |
|
Set the alarm to be active. |
|
|
|
|
|
|
|
Advance the counter
|
|
Advance the counter
|
|
Set the armed value. |
|
Set several common fields |
|
Set the armed value. |
|
Set the count value. |