NebulaStream  0.6.213
NebulaStream is a data and application management framework for the internet of things
NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::Snapshot Class Reference

#include <Timer.hpp>

Collaboration diagram for NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::Snapshot:
[legend]

Public Member Functions

 Snapshot (std::string name, TimeUnit runtime, std::vector< Snapshot > children)
 
int64_t getRuntime ()
 
PrintTimePrecision getPrintTime ()
 

Public Attributes

std::string name
 
TimeUnit runtime
 
std::vector< Snapshotchildren
 

Constructor & Destructor Documentation

◆ Snapshot()

template<typename TimeUnit = std::chrono::nanoseconds, typename PrintTimeUnit = std::milli, typename PrintTimePrecision = double, typename ClockType = std::chrono::high_resolution_clock>
NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::Snapshot::Snapshot ( std::string  name,
TimeUnit  runtime,
std::vector< Snapshot children 
)
inline

Member Function Documentation

◆ getPrintTime()

template<typename TimeUnit = std::chrono::nanoseconds, typename PrintTimeUnit = std::milli, typename PrintTimePrecision = double, typename ClockType = std::chrono::high_resolution_clock>
PrintTimePrecision NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::Snapshot::getPrintTime ( )
inline

References NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::Snapshot::runtime.

Referenced by NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::printHelper().

Here is the caller graph for this function:

◆ getRuntime()

template<typename TimeUnit = std::chrono::nanoseconds, typename PrintTimeUnit = std::milli, typename PrintTimePrecision = double, typename ClockType = std::chrono::high_resolution_clock>
int64_t NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::Snapshot::getRuntime ( )
inline

Member Data Documentation

◆ children

template<typename TimeUnit = std::chrono::nanoseconds, typename PrintTimeUnit = std::milli, typename PrintTimePrecision = double, typename ClockType = std::chrono::high_resolution_clock>
std::vector<Snapshot> NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::Snapshot::children

◆ name

template<typename TimeUnit = std::chrono::nanoseconds, typename PrintTimeUnit = std::milli, typename PrintTimePrecision = double, typename ClockType = std::chrono::high_resolution_clock>
std::string NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::Snapshot::name

◆ runtime

template<typename TimeUnit = std::chrono::nanoseconds, typename PrintTimeUnit = std::milli, typename PrintTimePrecision = double, typename ClockType = std::chrono::high_resolution_clock>
TimeUnit NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::Snapshot::runtime

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