COMPMID-622 Let the user choose the units for the instruments
Change-Id: Ic6ac4cd6df6970593a5e2e6310b6d61951c88898
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/93887
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
diff --git a/tests/framework/instruments/MaliCounter.h b/tests/framework/instruments/MaliCounter.h
index 64b5b93..b7c3483 100644
--- a/tests/framework/instruments/MaliCounter.h
+++ b/tests/framework/instruments/MaliCounter.h
@@ -42,7 +42,7 @@
{
public:
/** Default constructor. */
- MaliCounter();
+ MaliCounter(ScaleFactor scale_factor);
MaliCounter(const MaliCounter &) = delete;
MaliCounter &operator=(const MaliCounter &) = delete;
@@ -95,6 +95,7 @@
std::vector<unsigned int> _core_index_remap{};
int _fd{ -1 };
int _hwc_fd{ -1 };
+ int _scale_factor{};
};
} // namespace framework
} // namespace test