pinocchio  2.3.1-dirty
PinocchioTicToc Struct Reference

Public Types

enum  Unit {
  S = 1,
  MS = 1000,
  US = 1000000,
  NS = 1000000000
}
 

Public Member Functions

 PinocchioTicToc (Unit def=MS)
 
void tic ()
 
double toc ()
 
double toc (const Unit factor)
 
void toc (std::ostream &os, double SMOOTH=1)
 

Static Public Member Functions

static std::string unitName (Unit u)
 

Public Attributes

Unit DEFAULT_UNIT
 
std::stack< struct timeval > stack
 
struct timeval t0
 

Detailed Description

Definition at line 21 of file timer.hpp.


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