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

#include <perfmon.h>

List of all members.

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

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().

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

Definition at line 24 of file perfmon.h.

Referenced by restart(), and stop().


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