|
Public Member Functions |
virtual int | init ()=0 |
virtual void | set_pmc_event (Mword slot)=0 |
void | touch_watchdog () |
Mword | watchdog_allocated () |
Mword | loadcnt_allocated () |
virtual void | clear_pmc (Mword reg_nr) |
void | mode (Mword slot, const char **mode, Mword *event, Mword *user, Mword *kern, Mword *edge) |
void | setup_pmc (Mword slot, Mword bitmask, Mword event, Mword user, Mword kern, Mword edge) |
virtual void | start_pmc (Mword) |
int | have_watchdog () |
void | setup_watchdog (Mword timeout) |
void | setup_loadcnt () |
virtual void | init_watchdog () |
virtual void | init_loadcnt () |
virtual void | start_watchdog () |
virtual void | stop_watchdog () |
Protected Member Functions |
| Perf_cnt_arch (Mword sel_reg0, Mword ctr_reg0, Mword nr_regs, Mword watchdog) |
Protected Attributes |
Mword | _nr_regs |
Mword | _sel_reg0 |
Mword | _ctr_reg0 |
Mword | _watchdog |
Static Protected Attributes |
static Mword | pmc_watchdog = (Mword)-1 |
static Mword | pmc_loadcnt = (Mword)-1 |
static Signed64 | hold_watchdog |
static Event | pmc_event [Perf_cnt::Max_slot] |
static char | pmc_alloc [Perf_cnt::Max_pmc] |
Private Member Functions |
void | alloc_watchdog () |
void | alloc_loadcnt () |
int | alloc_pmc (Mword slot, Mword bitmask) |
Classes |
struct | Event |