Pin
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes
CONTROLLER::IALARM Class Reference

List of all members.

Public Member Functions

 IALARM (UINT32 tid, UINT64 count, BOOL need_ctxt, ALARM_MANAGER *manager)
VOID Arm ()
VOID Arm (THREADID tid)
VOID Disarm (THREADID tid)
VOID Disarm ()
VOID SetCount (UINT64 count)

Protected Member Functions

UINT32 GetInstrumentOrder ()
UINT32 GetLateInstrumentOrder ()

Static Protected Member Functions

static VOID InsertIfCall_Count (IALARM *alarm, INS ins, UINT32 ninst, IPOINT point=IPOINT_BEFORE)
static VOID InsertThenCall_Fire (IALARM *alarm, INS ins, IPOINT point=IPOINT_BEFORE)
static VOID Insert_LateInstrumentation (IALARM *alarm, INS ins)
static ADDRINT
PIN_FAST_ANALYSIS_CALL 
Count (IALARM *ialarm, UINT32 tid, UINT32 ninst)
static VOID Fire (IALARM *ialarm, CONTEXT *ctxt, VOID *ip, UINT32 tid)
static ADDRINT
PIN_FAST_ANALYSIS_CALL 
ActivateLate (IALARM *ialarm, UINT32 tid)
static VOID LateFire (IALARM *ialarm, CONTEXT *ctxt, VOID *ip, UINT32 tid)
static VOID TraceAddress (TRACE trace, VOID *v)
static VOID InsertIfCall_Target (IALARM *ialarm, INS ins)
static VOID InsertIfCall_FirstIp (IALARM *ialarm, INS ins, IPOINT point)
static ADDRINT
PIN_FAST_ANALYSIS_CALL 
CheckTarget (IALARM *ialarm, UINT32 tid, ADDRINT branch_target)
static ADDRINT
PIN_FAST_ANALYSIS_CALL 
CheckFirstIp (IALARM *ialarm, UINT32 tid, ADDRINT addr)
static VOID ThreadStart (THREADID tid, CONTEXT *ctxt, INT32 flags, VOID *v)

Protected Attributes

BOOL _need_context
UINT32 _tid
CACHELINE_COUNTER _target_count
CACHELINE_COUNTER _thread_count [PIN_MAX_THREADS]
BOOL _armed [PIN_MAX_THREADS]
ALARM_MANAGER_alarm_manager
volatile BOOL _activate_late_handler
ADDRINT _address

Static Protected Attributes

static set< ADDRINT > _thread_first_ip
static ADDRINT _threads_first_ip_vec [PIN_MAX_THREADS]

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator