Skip to content
Snippets Groups Projects
Commit 33664e85 authored by Ramin Yaghoubzadeh Torky's avatar Ramin Yaghoubzadeh Torky
Browse files

C++: simple profiling timers

[.. code ...]
IPAACA_SIMPLE_TIMER_BEGIN(blockid1)
[... first code block to time ...]
IPAACA_SIMPLE_TIMER_END(blockid1, "Processing loop 1")
[...]

-> e.g.: "Processing loop - us elapsed: 15" to terminal

Several blocks can be timed in one stack frame using more blockids
(TODO: implement profiling mode that can be turned on/off)
parent d96d51e2
No related branches found
No related tags found
Loading
Loading
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