ILLIXR: Illinois Extended Reality Testbed
Public Member Functions | List of all members
print_timer< now_fn, time_point, duration > Class Template Reference

Like timer, but prints the output. More...

#include <cpu_timer.hpp>

Public Member Functions

 print_timer (const std::string &name, const now_fn &now)
 

Detailed Description

template<typename now_fn, typename time_point = decltype(std::declval<now_fn>()()), typename duration = decltype(std::declval<time_point>() - std::declval<time_point>())>
class print_timer< now_fn, time_point, duration >

Like timer, but prints the output.

See PRINT_CPU_TIME_FOR_THIS_BLOCK(name)


The documentation for this class was generated from the following file: