#include <kern_cnt.h>
Static Public Member Functions | |
| static Mword * | get_ctr (int num) |
| static const char *const | get_str (Mword num) |
| static int | mode (Mword slot, const char **mode, const char **name, Mword *event) |
| static int | setup_pmc (Mword slot, Mword event) |
Private Types | |
| enum | { Max_slot = 2 } |
Static Private Member Functions | |
| static Mword | read_kcnt1 () |
| static Mword | read_kcnt2 () |
Static Private Attributes | |
| static Mword * | kcnt [Max_slot] |
| static Mword(* | read_kcnt_fn [Max_slot])() = { read_kcnt1, read_kcnt2 } |
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
1.4.2