diff options
author | Francis Murtagh <francis.murtagh@arm.com> | 2019-09-20 15:40:09 +0100 |
---|---|---|
committer | Francis Murtagh <francis.murtagh@arm.com> | 2019-09-20 15:30:54 +0000 |
commit | fcb8ef6b36873d06ddae7553aad28e726aa5be33 (patch) | |
tree | 4c1cf74a38ebfcf8c134bdb1b25568c04ca90e09 /src/profiling/IReadCounterValue.hpp | |
parent | da9d2d34ae57e18f631d4b42ad694a1d48270fe7 (diff) | |
download | armnn-fcb8ef6b36873d06ddae7553aad28e726aa5be33.tar.gz |
IVGCVSW-3433 Create the Periodic Counter Capture Thread
* Add Periodic counter thread object
* Add Unit test for thread
* Move MockBuffer to header file to allow reuse
Change-Id: Id2a8ea636723ab35e8a50efc200c8c76059bba02
Signed-off-by: Ferran Balaguer <ferran.balaguer@arm.com>
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
Diffstat (limited to 'src/profiling/IReadCounterValue.hpp')
-rw-r--r-- | src/profiling/IReadCounterValue.hpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/profiling/IReadCounterValue.hpp b/src/profiling/IReadCounterValue.hpp new file mode 100644 index 0000000000..3a8236a0f4 --- /dev/null +++ b/src/profiling/IReadCounterValue.hpp @@ -0,0 +1,23 @@ +// +// Copyright © 2019 Arm Ltd. All rights reserved. +// SPDX-License-Identifier: MIT +// + +#pragma once + +namespace armnn +{ + +namespace profiling +{ + +class IReadCounterValue +{ +public: + virtual void GetCounterValue(uint16_t index, uint32_t &value) const = 0; + virtual ~IReadCounterValue() {} +}; + +} // namespace profiling + +} // namespace armnn
\ No newline at end of file |