diff options
Diffstat (limited to 'src/profiling/IConsumer.hpp')
-rw-r--r-- | src/profiling/IConsumer.hpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/profiling/IConsumer.hpp b/src/profiling/IConsumer.hpp new file mode 100644 index 0000000000..f00f17458b --- /dev/null +++ b/src/profiling/IConsumer.hpp @@ -0,0 +1,26 @@ +// +// Copyright © 2020 Arm Ltd. All rights reserved. +// SPDX-License-Identifier: MIT +// + +#pragma once + +namespace armnn +{ + +namespace profiling +{ + +class IConsumer +{ +public: + virtual ~IConsumer() {} + + /// Set a "ready to read" flag in the buffer to notify the reading thread to start reading it. + virtual void SetReadyToRead() = 0; +}; + +} // namespace profiling + +} // namespace armnn + |