Go to the source code of this file.
Classes | |
class | DUtils::Profiler |
Namespaces | |
namespace | DUtils |
Defines | |
#define | PROFILE(cmd) PROFILE_S(cmd, "") |
#define | PROFILE_S(cmd, s) |
{ DUtils::Timestamp t_begin, t_end; \ t_begin.setToCurrentTime(); \ cmd; \ t_end.setToCurrentTime(); \ std::cout << s << " - elapsed time: " \ << DUtils::Timestamp::Format(t_end - t_begin) \ << std::endl; \ }
Definition at line 36 of file Profiler.h.