Macros | Functions | Variables
test_boost.cpp File Reference
#include <sys/time.h>
#include <dynamic-graph/linear-algebra.h>
#include <iostream>
#include <sot/core/debug.hh>
#include <sot/core/matrix-geometry.hh>
#include <sot/core/matrix-svd.hh>
#include <sot/core/memory-task-sot.hh>
#include <unistd.h>
#include <list>
Include dependency graph for test_boost.cpp:

Go to the source code of this file.

Macros

#define INIT_CHRONO(name)
 
#define START_CHRONO(name)
 
#define STOP_CHRONO(name, commentaire)
 

Functions

int main (int argc, char **argv)
 

Variables

double timerCounter
 

Macro Definition Documentation

◆ INIT_CHRONO

#define INIT_CHRONO (   name)
Value:
struct timeval t0##_##name, t1##_##name; \
double dt##_##name

Definition at line 31 of file test_boost.cpp.

◆ START_CHRONO

#define START_CHRONO (   name)
Value:
gettimeofday(&t0##_##name, NULL); \
sotDEBUG(25) << "t0 " << #name << ": " << t0##_##name.tv_sec << " - " \
<< t0##_##name.tv_usec << std::endl

Definition at line 34 of file test_boost.cpp.

◆ STOP_CHRONO

#define STOP_CHRONO (   name,
  commentaire 
)
Value:
gettimeofday(&t1##_##name, NULL); \
dt##_##name = ((double)(t1##_##name.tv_sec - t0##_##name.tv_sec) * 1000. + \
(double)(t1##_##name.tv_usec - t0##_##name.tv_usec) / 1000.); \
sotDEBUG(25) << "t1 " << #name << ": " << t1##_##name.tv_sec << " - " \
<< t1##_##name.tv_usec << std::endl; \
sotDEBUG(1) << "Time spent " << #name " " commentaire << " = " \
<< dt##_##name << std::endl

Definition at line 38 of file test_boost.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 127 of file test_boost.cpp.

Variable Documentation

◆ timerCounter

double timerCounter

Definition at line 52 of file test_boost.cpp.

dynamicgraph::sot::double
double
Definition: fir-filter.cpp:49
test-parameter-server.dt
float dt
Definition: test-parameter-server.py:14
compile.name
name
Definition: compile.py:23


sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Tue Oct 24 2023 02:26:32