RtTiming.h File Reference
#include <time.h>
#include <IceUtil/Time.h>
+ Include dependency graph for RtTiming.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 armarx
 This file offers overloads of toIce() and fromIce() functions for STL container types.
 
 armarx::rt_timing
 
 armarx::rt_timing::constants
 

Macros

#define RT_TIMING_CEND(name, thresholdMs)   RT_TIMING_CEND_COMMENT(name, #name, thresholdMs)
 
#define RT_TIMING_CEND_COMMENT(name, comment, thresholdMs)
 
#define RT_TIMING_END(name)   RT_TIMING_END_COMMENT(name, #name)
 
#define RT_TIMING_END_COMMENT(name, comment)   printf("%s - duration: %.3f ms \n", comment, (armarx::rtNow() - name).toMilliSecondsDouble());
 
#define RT_TIMING_START(name)   auto name = armarx::rtNow();
 

Functions

IceUtil::Time rtNow ()
 

Variables

constexpr const std::int64_t seconds2MicroSeconds = 1e6
 

Macro Definition Documentation

◆ RT_TIMING_START

#define RT_TIMING_START (   name)    auto name = armarx::rtNow();

Definition at line 50 of file RtTiming.h.