Public Member Functions | Private Attributes | List of all members
Portable_Timer Class Reference

#include <portable_timer.hh>

Public Member Functions

double elapsed ()
 
 Portable_Timer ()
 
 Portable_Timer (int clkid)
 
void start ()
 
void stop ()
 
double user_time ()
 

Private Attributes

int m_clkid
 
double m_start_time
 
double m_stop_time
 

Detailed Description

Definition at line 139 of file portable_timer.hh.

Constructor & Destructor Documentation

Portable_Timer::Portable_Timer ( )
inline

Definition at line 143 of file portable_timer.hh.

Portable_Timer::Portable_Timer ( int  clkid)
inline

Definition at line 148 of file portable_timer.hh.

Member Function Documentation

double Portable_Timer::elapsed ( )
inline

Definition at line 167 of file portable_timer.hh.

void Portable_Timer::start ( )
inline

Definition at line 151 of file portable_timer.hh.

void Portable_Timer::stop ( )
inline

Definition at line 159 of file portable_timer.hh.

double Portable_Timer::user_time ( )
inline

Definition at line 172 of file portable_timer.hh.

Member Data Documentation

int Portable_Timer::m_clkid
private

Definition at line 180 of file portable_timer.hh.

double Portable_Timer::m_start_time
private

Definition at line 181 of file portable_timer.hh.

double Portable_Timer::m_stop_time
private

Definition at line 181 of file portable_timer.hh.


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


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:48