MCKL
Monte Carlo Kernel Library
Classes | Namespaces | Typedefs | Functions
stop_watch.hpp File Reference
#include <mckl/internal/common.hpp>
#include <chrono>
#include <ratio>

Go to the source code of this file.

Classes

class  mckl::StopWatchClockAdapter< ClockType >
 StopWatch as an adapter of C++ standard library compatible clock. More...
 
class  mckl::StopWatchGuard< WatchType >
 Start and stop a StopWatch in scope (similiar to a mutex lock guard) More...
 

Namespaces

 mckl
 
 mckl::internal
 

Typedefs

using mckl::StopWatch = StopWatchClockAdapter<>
 Stop watch using <chrono> More...
 

Functions

std::uint64_t mckl::internal::cycle_start ()
 
std::uint64_t mckl::internal::cycle_stop ()