aboutsummaryrefslogtreecommitdiff
path: root/tests/framework/instruments/OpenCLTimer.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/framework/instruments/OpenCLTimer.h')
-rw-r--r--tests/framework/instruments/OpenCLTimer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/framework/instruments/OpenCLTimer.h b/tests/framework/instruments/OpenCLTimer.h
index d00a2e8bf2..a3dc107bf8 100644
--- a/tests/framework/instruments/OpenCLTimer.h
+++ b/tests/framework/instruments/OpenCLTimer.h
@@ -42,7 +42,7 @@ namespace framework
class OpenCLTimer : public Instrument
{
public:
- OpenCLTimer();
+ OpenCLTimer(ScaleFactor scale_factor);
std::string id() const override;
void start() override;
void stop() override;
@@ -56,6 +56,9 @@ public:
std::list<kernel_info> kernels{};
std::function<decltype(clEnqueueNDRangeKernel)> real_function;
#endif /* ARM_COMPUTE_CL */
+
+private:
+ float _scale_factor{};
};
} // namespace framework
} // namespace test