scenario_simulator_v2 C++ API
Public Member Functions | List of all members
openscenario_interpreter::utility::ExecutionTimer< Clock, Accumulators > Class Template Reference

#include <execution_timer.hpp>

Inheritance diagram for openscenario_interpreter::utility::ExecutionTimer< Clock, Accumulators >:
Inheritance graph
[legend]
Collaboration diagram for openscenario_interpreter::utility::ExecutionTimer< Clock, Accumulators >:
Collaboration graph
[legend]

Public Member Functions

template<typename Thunk , typename... Ts>
auto invoke (const std::string &tag, Thunk &&thunk)
 
auto save (const boost::filesystem::path &output_file) -> void
 
auto getStatistics (const std::string &tag) -> const auto &
 

Member Function Documentation

◆ getStatistics()

template<typename Clock = std::chrono::system_clock, typename Accumulators = boost::accumulators::accumulator_set< std::int64_t, boost::accumulators::stats< boost::accumulators::tag::min, boost::accumulators::tag::max, boost::accumulators::tag::mean, boost::accumulators::tag::variance, boost::accumulators::tag::count>>>
auto openscenario_interpreter::utility::ExecutionTimer< Clock, Accumulators >::getStatistics ( const std::string &  tag) -> const auto &
inline

◆ invoke()

template<typename Clock = std::chrono::system_clock, typename Accumulators = boost::accumulators::accumulator_set< std::int64_t, boost::accumulators::stats< boost::accumulators::tag::min, boost::accumulators::tag::max, boost::accumulators::tag::mean, boost::accumulators::tag::variance, boost::accumulators::tag::count>>>
template<typename Thunk , typename... Ts>
auto openscenario_interpreter::utility::ExecutionTimer< Clock, Accumulators >::invoke ( const std::string &  tag,
Thunk &&  thunk 
)
inline

◆ save()

template<typename Clock = std::chrono::system_clock, typename Accumulators = boost::accumulators::accumulator_set< std::int64_t, boost::accumulators::stats< boost::accumulators::tag::min, boost::accumulators::tag::max, boost::accumulators::tag::mean, boost::accumulators::tag::variance, boost::accumulators::tag::count>>>
auto openscenario_interpreter::utility::ExecutionTimer< Clock, Accumulators >::save ( const boost::filesystem::path &  output_file) -> void
inline

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