mcx::utils::measure

mcx::utils::measure

More…

Public Functions

Name
template <typename F ,typename… Args>
TimeT::rep
execution(F && func, Args &&… args)
void start(void )
TimeT::rep stop(void )

Public Attributes

Name
std::chrono::system_clock::time_point start_time_

Detailed Description

template <typename TimeT  =std::chrono::milliseconds>
struct mcx::utils::measure;

Public Functions Documentation

function execution

template <typename F ,
typename... Args>
static inline TimeT::rep execution(
    F && func,
    Args &&... args
)

function start

static inline void start(
    void 
)

function stop

static inline TimeT::rep stop(
    void 
)

Public Attributes Documentation

variable start_time_

static std::chrono::system_clock::time_point start_time_;

Updated on 2022-04-05 at 16:21:27 +0200