24 #ifndef ARM_COMPUTE_TEST_WALL_CLOCK_TIMER 25 #define ARM_COMPUTE_TEST_WALL_CLOCK_TIMER 54 _scale_factor = 1000.f;
58 _scale_factor = 1000000.f;
66 std::string
id()
const override;
67 void start()
override;
72 std::chrono::high_resolution_clock::time_point _start{};
73 std::chrono::high_resolution_clock::time_point _stop{};
74 float _scale_factor{};
#define ARM_COMPUTE_ERROR(...)
Print the given message then throw an std::runtime_error.
void stop() override
Stop measuring.
This file contains all available output stages for GEMMLowp on OpenCL.
void start() override
Start measuring.
Interface for classes that can be used to measure performance.
WallClockTimer(ScaleFactor scale_factor)
Construct a Wall clock timer.
std::map< std::string, Measurement > MeasurementsMap
Map of measurements.
MeasurementsMap measurements() const override
Return the latest measurements.
Implementation of an instrument to measure elapsed wall-clock time in milliseconds.
std::string id() const override
Identifier for the instrument.