Skip to content
Snippets Groups Projects
Commit c366a6f1 authored by Christoph Pohl's avatar Christoph Pohl Committed by ARMAR-DE
Browse files

Fix wrong order of magnitude of comparison timestamp

parent 1c79b1e5
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,7 @@ namespace armarx
//! \ingroup VirtualTime
//! Prints duration with comment in front of it if it took longer than threshold
#define RT_TIMING_CEND_COMMENT(name, comment, thresholdMs) \
if ((armarx::rtNow() - name).toMicroSeconds() >= thresholdMs) \
if ((armarx::rtNow() - name).toMilliSeconds() >= thresholdMs) \
RT_TIMING_END_COMMENT(name, comment)
//! \ingroup VirtualTime
//! Prints duration if it took longer than thresholdMs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment