g2o
Classes | Namespaces | Macros | Functions
timeutil.h File Reference

utility functions for handling time related stuff More...

#include <sys/time.h>
#include <string>
#include "g2o_stuff_api.h"
Include dependency graph for timeutil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  g2o::ScopeTime
 Class to measure the time spent in a scope. More...
 

Namespaces

 g2o
 

Macros

#define DO_EVERY_TS(secs, currentTime, code)
 
#define DO_EVERY(secs, code)   DO_EVERY_TS(secs, g2o::get_time(), code)
 Executes code, only if secs are gone since last exec. More...
 
#define MEASURE_TIME(text, code)
 
#define MEASURE_FUNCTION_TIME   g2o::ScopeTime scopeTime(__PRETTY_FUNCTION__)
 

Functions

double g2o::get_time ()
 
double g2o::get_monotonic_time ()
 

Detailed Description

utility functions for handling time related stuff

Definition in file timeutil.h.