Record code block execution time.
- To profile a function or code block insert
VTB_PROFILE_BLOCK(__func__);
at the start of the block.
- You can use any constant string instead of
__func__
.
Methods
print() -> void
~Profile()
Profile(const char * tag)explicit
Profile()