operf_counter Class Reference

#include <operf_counter.h>

List of all members.

Public Member Functions

 operf_counter (operf_event_t &evt, bool enable_on_exec, bool callgraph, bool separate_by_cpu, bool inherit, int event_number)
 ~operf_counter ()
int perf_event_open (pid_t pid, int cpu, operf_record *pr)
struct perf_event_attr * the_attr (void) const
int get_fd (void) const
int get_id (void) const
int get_evt_num (void) const
const std::string get_event_name (void) const

Constructor & Destructor Documentation

operf_counter::operf_counter ( operf_event_t evt,
bool  enable_on_exec,
bool  callgraph,
bool  separate_by_cpu,
bool  inherit,
int  event_number 
operf_counter::~operf_counter (  ) 

Member Function Documentation

const std::string operf_counter::get_event_name ( void   )  const [inline]
int operf_counter::get_evt_num ( void   )  const [inline]
int operf_counter::get_fd ( void   )  const [inline]
int operf_counter::get_id ( void   )  const [inline]
int operf_counter::perf_event_open ( pid_t  pid,
int  cpu,
operf_record pr 
struct perf_event_attr* operf_counter::the_attr ( void   )  const [inline, read]

References attr.

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

Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1