ocount_counter Class Reference

#include <ocount_counter.h>

List of all members.

Public Member Functions

 ocount_counter (operf_event_t &evt, bool enable_on_exec, bool inherit)
 ~ocount_counter ()
int perf_event_open (pid_t pid, int cpu)
int get_cpu (void)
pid_t get_pid (void)
const std::string get_event_name (void) const
int read_count_data (ocount_accum_t *accum)

Constructor & Destructor Documentation

ocount_counter::ocount_counter ( operf_event_t evt,
bool  enable_on_exec,
bool  inherit 
ocount_counter::~ocount_counter (  ) 

Member Function Documentation

int ocount_counter::get_cpu ( void   )  [inline]
const std::string ocount_counter::get_event_name ( void   )  const [inline]
pid_t ocount_counter::get_pid ( void   )  [inline]
int ocount_counter::perf_event_open ( pid_t  pid,
int  cpu 

References attr, cverb, OP_PERF_HANDLED_ERROR, and pid.

int ocount_counter::read_count_data ( ocount_accum_t accum  ) 

The documentation for this class was generated from the following files:

Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1