Public Member Functions | Private Attributes
btClock Class Reference

The btClock is a portable basic clock that measures accurate time in seconds, use for profiling. More...

#include <btQuickprof.h>

List of all members.

Public Member Functions

 btClock ()
 btClock (const btClock &other)
unsigned long int getTimeMicroseconds ()
unsigned long int getTimeMilliseconds ()
btClockoperator= (const btClock &other)
void reset ()
 Resets the initial reference time.
 ~btClock ()

Private Attributes

struct btClockData * m_data

Detailed Description

The btClock is a portable basic clock that measures accurate time in seconds, use for profiling.

Definition at line 35 of file btQuickprof.h.


Constructor & Destructor Documentation

btClock::btClock ( const btClock other)

Member Function Documentation

unsigned long int btClock::getTimeMicroseconds ( )

Returns the time in us since the last call to reset or since the Clock was created.

unsigned long int btClock::getTimeMilliseconds ( )

Returns the time in ms since the last call to reset or since the btClock was created.

btClock& btClock::operator= ( const btClock other)
void btClock::reset ( )

Resets the initial reference time.


Member Data Documentation

struct btClockData* btClock::m_data [private]

Definition at line 56 of file btQuickprof.h.


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


bullet
Author(s): Erwin Coumans, ROS package maintained by Tully Foote
autogenerated on Wed Oct 31 2012 07:54:32