All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
osl::misc::TSC Class Reference

#include <perfmon.h>

List of all members.

Public Member Functions

 TSC (const char *m)
void start ()
void stop ()
 ~TSC ()

Private Attributes

unsigned long long start_time
unsigned long long sum_time
long long int counter
std::string message

Detailed Description

Definition at line 83 of file perfmon.h.


Constructor & Destructor Documentation

osl::misc::TSC::TSC ( const char *  m) [inline]

Definition at line 90 of file perfmon.h.

osl::misc::TSC::~TSC ( ) [inline]

Definition at line 120 of file perfmon.h.

References counter, message, and sum_time.


Member Function Documentation

void osl::misc::TSC::start ( ) [inline]

Definition at line 91 of file perfmon.h.

References counter, and start_time.

void osl::misc::TSC::stop ( ) [inline]

Definition at line 106 of file perfmon.h.

References start_time, and sum_time.


Member Data Documentation

long long int osl::misc::TSC::counter [private]

Definition at line 87 of file perfmon.h.

Referenced by start(), and ~TSC().

std::string osl::misc::TSC::message [private]

Definition at line 88 of file perfmon.h.

Referenced by ~TSC().

unsigned long long osl::misc::TSC::start_time [private]

Definition at line 85 of file perfmon.h.

Referenced by start(), and stop().

unsigned long long osl::misc::TSC::sum_time [private]

Definition at line 86 of file perfmon.h.

Referenced by stop(), and ~TSC().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines