Go to the source code of this file.
◆ CLOG
◆ MEAS_TIME
| #define MEAS_TIME |
( |
|
func, |
|
|
|
doPrint, |
|
|
|
name |
|
) |
| |
Value: do { \
if (doPrint) { \
auto timeStart = std::chrono::high_resolution_clock::now(); \
func; \
double timeUsed = std::chrono::duration<double>(std::chrono::high_resolution_clock::now()-timeStart).count() * 1e+3; \
fprintf(stdout, "~~ MEAS_TIME[%s]: %.2f ms\n", name, timeUsed); } \
else { func; } \
} while (0)
Definition at line 31 of file sources/libs/nvmultiobjecttracker/include/modules/utility/debug_common.hpp.