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() [1/2]

Portable_Timer::Portable_Timer ( )
inline

Definition at line 143 of file portable_timer.hh.

◆ Portable_Timer() [2/2]

Portable_Timer::Portable_Timer ( int  clkid)
inline

Definition at line 148 of file portable_timer.hh.

Member Function Documentation

◆ elapsed()

double Portable_Timer::elapsed ( )
inline

Definition at line 167 of file portable_timer.hh.

◆ start()

void Portable_Timer::start ( )
inline

Definition at line 151 of file portable_timer.hh.

◆ stop()

void Portable_Timer::stop ( )
inline

Definition at line 159 of file portable_timer.hh.

◆ user_time()

double Portable_Timer::user_time ( )
inline

Definition at line 172 of file portable_timer.hh.

Member Data Documentation

◆ m_clkid

int Portable_Timer::m_clkid
private

Definition at line 180 of file portable_timer.hh.

◆ m_start_time

double Portable_Timer::m_start_time
private

Definition at line 181 of file portable_timer.hh.

◆ m_stop_time

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 Tue Jul 4 2023 02:41:03