All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
osl::misc::PerfMon Class Reference

#include <perfmon.h>

Public Member Functions

void restart ()
 
 PerfMon ()
 
unsigned long long stop ()
 
void stop (const char *message, int loop)
 

Static Public Member Functions

static void message (unsigned long long cycles, const char *message, long long int loop)
 

Private Attributes

rusage start_time
 

Detailed Description

Definition at line 19 of file perfmon.h.

Constructor & Destructor Documentation

osl::misc::PerfMon::PerfMon ( )
inline

Definition at line 48 of file perfmon.h.

References restart().

Member Function Documentation

void osl::misc::PerfMon::message ( unsigned long long  cycles,
const char *  message,
long long int  loop 
)
static

Definition at line 9 of file perfmon.cc.

Referenced by stop(), osl::misc::Counter::~Counter(), and osl::misc::TSC::~TSC().

void osl::misc::PerfMon::restart ( )
inline

Definition at line 27 of file perfmon.h.

References start_time.

Referenced by main(), PerfMon(), and run().

unsigned long long osl::misc::PerfMon::stop ( )
inline

Definition at line 51 of file perfmon.h.

References start_time.

Referenced by main(), qsearch(), run(), search(), stop(), test_position(), and testWinOrLose().

void osl::misc::PerfMon::stop ( const char *  message,
int  loop 
)
inline

Definition at line 75 of file perfmon.h.

References cycles, message(), and stop().

Member Data Documentation

rusage osl::misc::PerfMon::start_time
private

Definition at line 24 of file perfmon.h.

Referenced by restart(), and stop().


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