Event CountersProcedural Interface
- The event specifiers e0 and e1 can also be set (or overruled) at run time by the environment variables
- link with -lperfex
- the counter values c0 and c1 are 64 bit integers
int start_counters(int e0, int e1);
int read_counters( int e0, long long *c0,
int print_counters(int e0, long long c0,
INTEGER*4 FUNCTION START_COUNTERS(E0, E1)
INTEGER*4 FUNCTION READ_COUNTERS(E0, C0, E1, C1)
INTEGER*4 FUNCTION PRINT_COUNTERS(E0, C0, E1, C1)