BAM
Abstract Machine for Bottom-Up Evaluation with the Push Method
Public Member Functions | List of all members
perf_c Class Reference

#include <perf.h>

Public Member Functions

void start ()
 
void stop ()
 
long int realtime_msec ()
 
long int cputime_msec ()
 

Detailed Description

Class for runtime measurements (with UNIX and Windows versions)

I wanted to call the class timer_c, but there was a name conflict (with the corresponding pointer type time_t if I remember correctly). Currently, it basically still is a timer, but I might add some more functions to get other performance-related information later.

Member Function Documentation

long int perf_c::cputime_msec ( )

CPU time between last start() and stop() in millisecs.

long int perf_c::realtime_msec ( )

Time between last start() and stop() in milliseconds.

void perf_c::start ( )

Start time measurement.

void perf_c::stop ( )

Stop time measurement.


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