diff options
author | David Monahan <david.monahan@arm.com> | 2020-02-26 10:24:03 +0000 |
---|---|---|
committer | David Monahan <david.monahan@arm.com> | 2020-03-03 07:26:24 +0000 |
commit | b015e5db20e29825caefa05d828fbeed73119b19 (patch) | |
tree | 7c5814635aeeabff69f1595de7ea663b3ef58ff6 /include/armnn/backends/profiling | |
parent | 03fbeaf532f2575381edc2336f834973117f6e0f (diff) | |
download | armnn-b015e5db20e29825caefa05d828fbeed73119b19.tar.gz |
Modifying the IBackendProfilingContext interface to return a bool on
EnableProfiling and adding error checking to the Runtime
Invocation
Signed-off-by: David Monahan <david.monahan@arm.com>
Change-Id: I65b8bb16c6f1c7d668de31238ce0408a48974997
Diffstat (limited to 'include/armnn/backends/profiling')
-rw-r--r-- | include/armnn/backends/profiling/IBackendProfilingContext.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/armnn/backends/profiling/IBackendProfilingContext.hpp b/include/armnn/backends/profiling/IBackendProfilingContext.hpp index 3f54d31961..063ebc946d 100644 --- a/include/armnn/backends/profiling/IBackendProfilingContext.hpp +++ b/include/armnn/backends/profiling/IBackendProfilingContext.hpp @@ -21,7 +21,7 @@ public: virtual uint16_t RegisterCounters(uint16_t currentMaxGlobalCounterID) = 0; virtual Optional<std::string> ActivateCounters(uint32_t capturePeriod, const std::vector<uint16_t>& counterIds) = 0; virtual std::vector<Timestamp> ReportCounterValues() = 0; - virtual void EnableProfiling(bool flag) = 0; + virtual bool EnableProfiling(bool flag) = 0; }; using IBackendProfilingContextUniquePtr = std::unique_ptr<IBackendProfilingContext>; |