|
Public Types |
enum | { Tb_entry_size = 64
} |
Public Member Functions |
void | clear () |
void | hide () |
void | unhide () |
Address | ip () const |
Context * | ctx () const |
Unsigned8 | type () const |
int | hidden () const |
Mword | number () const |
void | number (Mword number) |
void | rdpmc1 () |
void | rdpmc2 () |
Unsigned32 | kclock () const |
Unsigned64 | tsc () const |
Unsigned32 | pmc1 () const |
Unsigned32 | pmc2 () const |
void | rdtsc () |
Static Public Member Functions |
static void | set_rdcnt (int num, Mword(*f)()) |
Protected Member Functions |
void | set_global (char type, Context *ctx, Address ip) |
Protected Attributes |
Mword | _number |
| event number
|
Address | _ip |
| instruction pointer
|
Context * | _ctx |
| Context.
|
Unsigned64 | _tsc |
| time stamp counter
|
Unsigned32 | _pmc1 |
| performance counter value 1
|
Unsigned32 | _pmc2 |
| performance counter value 2
|
Unsigned32 | _kclock |
| lower 32 bits of kernel clock
|
Unsigned8 | _type |
| type of entry
|
Static Protected Attributes |
static Mword(* | rdcnt1 )() = dummy_read_pmc |
static Mword(* | rdcnt2 )() = dummy_read_pmc |
Static Private Member Functions |
static Mword | dummy_read_pmc () |