RuntimeMeasurementsManager class
#include <FAST/RuntimeMeasurementManager.hpp>
Manages multiple runtime measurements.
Contents
Public types
- using pointer = std::shared_ptr<RuntimeMeasurementsManager>
Public static functions
- static auto New() -> std::shared_ptr<RuntimeMeasurementsManager>
- static auto getStaticNameOfClass() -> std::string
Public functions
- auto getNameOfClass() const -> std::string virtual
- void setWarmupRounds(int rounds)
- auto getWarmupRounds() const -> int
- void enable()
- void disable()
- auto isEnabled() -> bool
- void startCLTimer(std::string name, cl::CommandQueue queue)
- void stopCLTimer(std::string name, cl::CommandQueue queue)
- void startRegularTimer(std::string name)
- void stopRegularTimer(std::string name)
- void startNumberedCLTimer(std::string name, cl::CommandQueue queue)
- void stopNumberedCLTimer(std::string name, cl::CommandQueue queue)
- void startNumberedRegularTimer(std::string name)
- void stopNumberedRegularTimer(std::string name)
-
auto getTiming(std::string name) -> RuntimeMeasurement::
pointer - void print(std::string name)
- void printAll()