Keith Davis | 02356de | 2019-08-26 18:28:17 +0100 | [diff] [blame] | 1 | // |
| 2 | // Copyright © 2017 Arm Ltd. All rights reserved. |
| 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | |
| 6 | #pragma once |
| 7 | |
Jim Flynn | 8b20065 | 2019-10-24 18:07:44 +0100 | [diff] [blame] | 8 | #include "BufferManager.hpp" |
| 9 | #include "CommandHandler.hpp" |
| 10 | #include "ConnectionAcknowledgedCommandHandler.hpp" |
FinnWilliamsArm | ce2d9d1 | 2019-09-18 10:28:16 +0100 | [diff] [blame] | 11 | #include "CounterDirectory.hpp" |
Jim Flynn | 8e0c7a6 | 2020-01-30 14:10:55 +0000 | [diff] [blame] | 12 | #include "CounterIdMap.hpp" |
Jim Flynn | 9789702 | 2020-02-02 12:52:59 +0000 | [diff] [blame] | 13 | #include "ICounterRegistry.hpp" |
Matteo Martincigh | e0e6efc | 2019-10-04 17:17:42 +0100 | [diff] [blame] | 14 | #include "ICounterValues.hpp" |
Matteo Martincigh | e848538 | 2019-10-10 14:08:21 +0100 | [diff] [blame] | 15 | #include "PeriodicCounterCapture.hpp" |
Matteo Martincigh | e848538 | 2019-10-10 14:08:21 +0100 | [diff] [blame] | 16 | #include "PeriodicCounterSelectionCommandHandler.hpp" |
Matteo Martincigh | 994b534 | 2019-10-11 17:19:56 +0100 | [diff] [blame] | 17 | #include "PerJobCounterSelectionCommandHandler.hpp" |
Jim Flynn | 8b20065 | 2019-10-24 18:07:44 +0100 | [diff] [blame] | 18 | #include "ProfilingConnectionFactory.hpp" |
Jim Flynn | 00f3aaf | 2019-10-24 11:58:06 +0100 | [diff] [blame] | 19 | #include "ProfilingGuidGenerator.hpp" |
Jim Flynn | 8b20065 | 2019-10-24 18:07:44 +0100 | [diff] [blame] | 20 | #include "ProfilingStateMachine.hpp" |
| 21 | #include "RequestCounterDirectoryCommandHandler.hpp" |
| 22 | #include "SendCounterPacket.hpp" |
Sadik Armagan | 3896b47 | 2020-02-10 12:24:15 +0000 | [diff] [blame] | 23 | #include "SendThread.hpp" |
Matteo Martincigh | cdfb941 | 2019-11-08 11:23:06 +0000 | [diff] [blame] | 24 | #include "SendTimelinePacket.hpp" |
Jim Flynn | 8b20065 | 2019-10-24 18:07:44 +0100 | [diff] [blame] | 25 | #include "TimelinePacketWriterFactory.hpp" |
Colm Donelan | 1aff393 | 2020-02-05 17:48:59 +0000 | [diff] [blame] | 26 | #include <armnn/backends/profiling/IBackendProfilingContext.hpp> |
Keith Davis | 02356de | 2019-08-26 18:28:17 +0100 | [diff] [blame] | 27 | |
| 28 | namespace armnn |
| 29 | { |
| 30 | |
| 31 | namespace profiling |
| 32 | { |
Keith Davis | e394bd9 | 2019-12-02 15:12:19 +0000 | [diff] [blame] | 33 | // Static constants describing ArmNN's counter UID's |
| 34 | static const uint16_t NETWORK_LOADS = 0; |
| 35 | static const uint16_t NETWORK_UNLOADS = 1; |
| 36 | static const uint16_t REGISTERED_BACKENDS = 2; |
| 37 | static const uint16_t UNREGISTERED_BACKENDS = 3; |
| 38 | static const uint16_t INFERENCES_RUN = 4; |
Keith Davis | 02356de | 2019-08-26 18:28:17 +0100 | [diff] [blame] | 39 | |
Jim Flynn | 00f3aaf | 2019-10-24 11:58:06 +0100 | [diff] [blame] | 40 | class ProfilingService : public IReadWriteCounterValues, public IProfilingGuidGenerator |
Keith Davis | 02356de | 2019-08-26 18:28:17 +0100 | [diff] [blame] | 41 | { |
| 42 | public: |
Narumol Prangnawarat | 85ad78c | 2019-11-18 15:34:23 +0000 | [diff] [blame] | 43 | using ExternalProfilingOptions = IRuntime::CreationOptions::ExternalProfilingOptions; |
Matteo Martincigh | 54fb957 | 2019-10-02 12:50:57 +0100 | [diff] [blame] | 44 | using IProfilingConnectionFactoryPtr = std::unique_ptr<IProfilingConnectionFactory>; |
Matteo Martincigh | a84edee | 2019-10-02 12:50:57 +0100 | [diff] [blame] | 45 | using IProfilingConnectionPtr = std::unique_ptr<IProfilingConnection>; |
| 46 | using CounterIndices = std::vector<std::atomic<uint32_t>*>; |
| 47 | using CounterValues = std::list<std::atomic<uint32_t>>; |
Keith Davis | 02356de | 2019-08-26 18:28:17 +0100 | [diff] [blame] | 48 | |
Matteo Martincigh | a84edee | 2019-10-02 12:50:57 +0100 | [diff] [blame] | 49 | // Getter for the singleton instance |
| 50 | static ProfilingService& Instance() |
| 51 | { |
| 52 | static ProfilingService instance; |
| 53 | return instance; |
| 54 | } |
| 55 | |
| 56 | // Resets the profiling options, optionally clears the profiling service entirely |
| 57 | void ResetExternalProfilingOptions(const ExternalProfilingOptions& options, bool resetProfilingService = false); |
Jim Flynn | 672d06e | 2019-10-15 10:18:11 +0100 | [diff] [blame] | 58 | ProfilingState ConfigureProfilingService(const ExternalProfilingOptions& options, |
| 59 | bool resetProfilingService = false); |
| 60 | |
Matteo Martincigh | a84edee | 2019-10-02 12:50:57 +0100 | [diff] [blame] | 61 | |
Matteo Martincigh | 54fb957 | 2019-10-02 12:50:57 +0100 | [diff] [blame] | 62 | // Updates the profiling service, making it transition to a new state if necessary |
| 63 | void Update(); |
Keith Davis | 02356de | 2019-08-26 18:28:17 +0100 | [diff] [blame] | 64 | |
Jim Flynn | 53e4699 | 2019-10-14 12:31:10 +0100 | [diff] [blame] | 65 | // Disconnects the profiling service from the external server |
| 66 | void Disconnect(); |
| 67 | |
Colm Donelan | 1aff393 | 2020-02-05 17:48:59 +0000 | [diff] [blame] | 68 | // Store a profiling context returned from a backend that support profiling. |
| 69 | void AddBackendProfilingContext(const BackendId backendId, |
| 70 | std::shared_ptr<armnn::profiling::IBackendProfilingContext> profilingContext) |
| 71 | { |
| 72 | m_BackendProfilingContexts.emplace(backendId, std::move(profilingContext)); |
| 73 | } |
| 74 | |
FinnWilliamsArm | ce2d9d1 | 2019-09-18 10:28:16 +0100 | [diff] [blame] | 75 | const ICounterDirectory& GetCounterDirectory() const; |
Jim Flynn | 9789702 | 2020-02-02 12:52:59 +0000 | [diff] [blame] | 76 | ICounterRegistry& GetCounterRegistry(); |
Keith Davis | 02356de | 2019-08-26 18:28:17 +0100 | [diff] [blame] | 77 | ProfilingState GetCurrentState() const; |
Matteo Martincigh | e848538 | 2019-10-10 14:08:21 +0100 | [diff] [blame] | 78 | bool IsCounterRegistered(uint16_t counterUid) const override; |
Matteo Martincigh | a84edee | 2019-10-02 12:50:57 +0100 | [diff] [blame] | 79 | uint32_t GetCounterValue(uint16_t counterUid) const override; |
Keith Davis | e394bd9 | 2019-12-02 15:12:19 +0000 | [diff] [blame] | 80 | uint16_t GetCounterCount() const override; |
Jim Flynn | 8e0c7a6 | 2020-01-30 14:10:55 +0000 | [diff] [blame] | 81 | // counter global/backend mapping functions |
| 82 | const ICounterMappings& GetCounterMappings() const; |
Jim Flynn | 9789702 | 2020-02-02 12:52:59 +0000 | [diff] [blame] | 83 | IRegisterCounterMapping& GetCounterMappingRegistry(); |
Jim Flynn | 8e0c7a6 | 2020-01-30 14:10:55 +0000 | [diff] [blame] | 84 | |
| 85 | // Getters for the profiling service state |
Keith Davis | e394bd9 | 2019-12-02 15:12:19 +0000 | [diff] [blame] | 86 | bool IsProfilingEnabled(); |
Keith Davis | 02356de | 2019-08-26 18:28:17 +0100 | [diff] [blame] | 87 | |
James Conroy | 2dcd3fe | 2020-02-06 18:34:52 +0000 | [diff] [blame] | 88 | CaptureData GetCaptureData(); |
| 89 | void SetCaptureData(uint32_t capturePeriod, const std::vector<uint16_t>& counterIds); |
| 90 | |
Matteo Martincigh | a84edee | 2019-10-02 12:50:57 +0100 | [diff] [blame] | 91 | // Setters for the profiling service state |
| 92 | void SetCounterValue(uint16_t counterUid, uint32_t value) override; |
| 93 | uint32_t AddCounterValue(uint16_t counterUid, uint32_t value) override; |
| 94 | uint32_t SubtractCounterValue(uint16_t counterUid, uint32_t value) override; |
| 95 | uint32_t IncrementCounterValue(uint16_t counterUid) override; |
FinnWilliamsArm | f6e534a | 2019-09-16 15:45:42 +0100 | [diff] [blame] | 96 | |
Jim Flynn | 00f3aaf | 2019-10-24 11:58:06 +0100 | [diff] [blame] | 97 | // IProfilingGuidGenerator functions |
| 98 | /// Return the next random Guid in the sequence |
| 99 | ProfilingDynamicGuid NextGuid() override; |
| 100 | /// Create a ProfilingStaticGuid based on a hash of the string |
| 101 | ProfilingStaticGuid GenerateStaticId(const std::string& str) override; |
| 102 | |
Jim Flynn | 8b20065 | 2019-10-24 18:07:44 +0100 | [diff] [blame] | 103 | std::unique_ptr<ISendTimelinePacket> GetSendTimelinePacket() const; |
| 104 | |
Narumol Prangnawarat | df31cfe | 2019-11-22 11:26:06 +0000 | [diff] [blame] | 105 | /// Check if the profiling is enabled |
| 106 | bool IsEnabled() { return m_Options.m_EnableProfiling; } |
| 107 | |
Keith Davis | 02356de | 2019-08-26 18:28:17 +0100 | [diff] [blame] | 108 | private: |
Matteo Martincigh | 54fb957 | 2019-10-02 12:50:57 +0100 | [diff] [blame] | 109 | // Copy/move constructors/destructors and copy/move assignment operators are deleted |
Matteo Martincigh | a84edee | 2019-10-02 12:50:57 +0100 | [diff] [blame] | 110 | ProfilingService(const ProfilingService&) = delete; |
| 111 | ProfilingService(ProfilingService&&) = delete; |
| 112 | ProfilingService& operator=(const ProfilingService&) = delete; |
| 113 | ProfilingService& operator=(ProfilingService&&) = delete; |
Keith Davis | 02356de | 2019-08-26 18:28:17 +0100 | [diff] [blame] | 114 | |
Matteo Martincigh | 54fb957 | 2019-10-02 12:50:57 +0100 | [diff] [blame] | 115 | // Initialization/reset functions |
Matteo Martincigh | a84edee | 2019-10-02 12:50:57 +0100 | [diff] [blame] | 116 | void Initialize(); |
| 117 | void InitializeCounterValue(uint16_t counterUid); |
Matteo Martincigh | 54fb957 | 2019-10-02 12:50:57 +0100 | [diff] [blame] | 118 | void Reset(); |
Jim Flynn | 53e4699 | 2019-10-14 12:31:10 +0100 | [diff] [blame] | 119 | void Stop(); |
Matteo Martincigh | a84edee | 2019-10-02 12:50:57 +0100 | [diff] [blame] | 120 | |
Matteo Martincigh | e848538 | 2019-10-10 14:08:21 +0100 | [diff] [blame] | 121 | // Helper function |
| 122 | void CheckCounterUid(uint16_t counterUid) const; |
| 123 | |
Matteo Martincigh | 54fb957 | 2019-10-02 12:50:57 +0100 | [diff] [blame] | 124 | // Profiling service components |
Matteo Martincigh | a84edee | 2019-10-02 12:50:57 +0100 | [diff] [blame] | 125 | ExternalProfilingOptions m_Options; |
FinnWilliamsArm | ce2d9d1 | 2019-09-18 10:28:16 +0100 | [diff] [blame] | 126 | CounterDirectory m_CounterDirectory; |
Jim Flynn | 8e0c7a6 | 2020-01-30 14:10:55 +0000 | [diff] [blame] | 127 | CounterIdMap m_CounterIdMap; |
Matteo Martincigh | 54fb957 | 2019-10-02 12:50:57 +0100 | [diff] [blame] | 128 | IProfilingConnectionFactoryPtr m_ProfilingConnectionFactory; |
Matteo Martincigh | a84edee | 2019-10-02 12:50:57 +0100 | [diff] [blame] | 129 | IProfilingConnectionPtr m_ProfilingConnection; |
| 130 | ProfilingStateMachine m_StateMachine; |
| 131 | CounterIndices m_CounterIndex; |
| 132 | CounterValues m_CounterValues; |
Matteo Martincigh | 54fb957 | 2019-10-02 12:50:57 +0100 | [diff] [blame] | 133 | CommandHandlerRegistry m_CommandHandlerRegistry; |
| 134 | PacketVersionResolver m_PacketVersionResolver; |
| 135 | CommandHandler m_CommandHandler; |
| 136 | BufferManager m_BufferManager; |
| 137 | SendCounterPacket m_SendCounterPacket; |
Sadik Armagan | 3896b47 | 2020-02-10 12:24:15 +0000 | [diff] [blame] | 138 | SendThread m_SendThread; |
Matteo Martincigh | cdfb941 | 2019-11-08 11:23:06 +0000 | [diff] [blame] | 139 | SendTimelinePacket m_SendTimelinePacket; |
Matteo Martincigh | e848538 | 2019-10-10 14:08:21 +0100 | [diff] [blame] | 140 | Holder m_Holder; |
| 141 | PeriodicCounterCapture m_PeriodicCounterCapture; |
Matteo Martincigh | 54fb957 | 2019-10-02 12:50:57 +0100 | [diff] [blame] | 142 | ConnectionAcknowledgedCommandHandler m_ConnectionAcknowledgedCommandHandler; |
Matteo Martincigh | 8efc500 | 2019-10-10 14:30:29 +0100 | [diff] [blame] | 143 | RequestCounterDirectoryCommandHandler m_RequestCounterDirectoryCommandHandler; |
Matteo Martincigh | e848538 | 2019-10-10 14:08:21 +0100 | [diff] [blame] | 144 | PeriodicCounterSelectionCommandHandler m_PeriodicCounterSelectionCommandHandler; |
Matteo Martincigh | 994b534 | 2019-10-11 17:19:56 +0100 | [diff] [blame] | 145 | PerJobCounterSelectionCommandHandler m_PerJobCounterSelectionCommandHandler; |
Jim Flynn | 00f3aaf | 2019-10-24 11:58:06 +0100 | [diff] [blame] | 146 | ProfilingGuidGenerator m_GuidGenerator; |
Jim Flynn | 8b20065 | 2019-10-24 18:07:44 +0100 | [diff] [blame] | 147 | TimelinePacketWriterFactory m_TimelinePacketWriterFactory; |
Colm Donelan | 1aff393 | 2020-02-05 17:48:59 +0000 | [diff] [blame] | 148 | std::unordered_map<BackendId, |
| 149 | std::shared_ptr<armnn::profiling::IBackendProfilingContext>> m_BackendProfilingContexts; |
Matteo Martincigh | 54fb957 | 2019-10-02 12:50:57 +0100 | [diff] [blame] | 150 | |
| 151 | protected: |
| 152 | // Default constructor/destructor kept protected for testing |
| 153 | ProfilingService() |
| 154 | : m_Options() |
| 155 | , m_CounterDirectory() |
| 156 | , m_ProfilingConnectionFactory(new ProfilingConnectionFactory()) |
| 157 | , m_ProfilingConnection() |
| 158 | , m_StateMachine() |
| 159 | , m_CounterIndex() |
| 160 | , m_CounterValues() |
| 161 | , m_CommandHandlerRegistry() |
| 162 | , m_PacketVersionResolver() |
| 163 | , m_CommandHandler(1000, |
| 164 | false, |
| 165 | m_CommandHandlerRegistry, |
| 166 | m_PacketVersionResolver) |
| 167 | , m_BufferManager() |
Sadik Armagan | 3896b47 | 2020-02-10 12:24:15 +0000 | [diff] [blame] | 168 | , m_SendCounterPacket(m_BufferManager) |
| 169 | , m_SendThread(m_StateMachine, m_BufferManager, m_SendCounterPacket) |
Matteo Martincigh | cdfb941 | 2019-11-08 11:23:06 +0000 | [diff] [blame] | 170 | , m_SendTimelinePacket(m_BufferManager) |
Matteo Martincigh | e848538 | 2019-10-10 14:08:21 +0100 | [diff] [blame] | 171 | , m_PeriodicCounterCapture(m_Holder, m_SendCounterPacket, *this) |
Jim Flynn | 397043f | 2019-10-17 17:37:10 +0100 | [diff] [blame] | 172 | , m_ConnectionAcknowledgedCommandHandler(0, |
| 173 | 1, |
Jim Flynn | ed25e0e | 2019-10-18 13:21:43 +0100 | [diff] [blame] | 174 | m_PacketVersionResolver.ResolvePacketVersion(0, 1).GetEncodedValue(), |
Keith Davis | 3201eea | 2019-10-24 17:30:41 +0100 | [diff] [blame] | 175 | m_CounterDirectory, |
| 176 | m_SendCounterPacket, |
Matteo Martincigh | cdfb941 | 2019-11-08 11:23:06 +0000 | [diff] [blame] | 177 | m_SendTimelinePacket, |
Matteo Martincigh | 54fb957 | 2019-10-02 12:50:57 +0100 | [diff] [blame] | 178 | m_StateMachine) |
Jim Flynn | 397043f | 2019-10-17 17:37:10 +0100 | [diff] [blame] | 179 | , m_RequestCounterDirectoryCommandHandler(0, |
| 180 | 3, |
Jim Flynn | ed25e0e | 2019-10-18 13:21:43 +0100 | [diff] [blame] | 181 | m_PacketVersionResolver.ResolvePacketVersion(0, 3).GetEncodedValue(), |
Matteo Martincigh | 8efc500 | 2019-10-10 14:30:29 +0100 | [diff] [blame] | 182 | m_CounterDirectory, |
| 183 | m_SendCounterPacket, |
Matteo Martincigh | 9723d02 | 2019-11-13 10:56:41 +0000 | [diff] [blame] | 184 | m_SendTimelinePacket, |
Matteo Martincigh | 8efc500 | 2019-10-10 14:30:29 +0100 | [diff] [blame] | 185 | m_StateMachine) |
Jim Flynn | 397043f | 2019-10-17 17:37:10 +0100 | [diff] [blame] | 186 | , m_PeriodicCounterSelectionCommandHandler(0, |
| 187 | 4, |
Jim Flynn | ed25e0e | 2019-10-18 13:21:43 +0100 | [diff] [blame] | 188 | m_PacketVersionResolver.ResolvePacketVersion(0, 4).GetEncodedValue(), |
Matteo Martincigh | e848538 | 2019-10-10 14:08:21 +0100 | [diff] [blame] | 189 | m_Holder, |
| 190 | m_PeriodicCounterCapture, |
| 191 | *this, |
| 192 | m_SendCounterPacket, |
| 193 | m_StateMachine) |
Jim Flynn | 397043f | 2019-10-17 17:37:10 +0100 | [diff] [blame] | 194 | , m_PerJobCounterSelectionCommandHandler(0, |
| 195 | 5, |
Jim Flynn | ed25e0e | 2019-10-18 13:21:43 +0100 | [diff] [blame] | 196 | m_PacketVersionResolver.ResolvePacketVersion(0, 5).GetEncodedValue(), |
Matteo Martincigh | 994b534 | 2019-10-11 17:19:56 +0100 | [diff] [blame] | 197 | m_StateMachine) |
Jim Flynn | 8b20065 | 2019-10-24 18:07:44 +0100 | [diff] [blame] | 198 | , m_TimelinePacketWriterFactory(m_BufferManager) |
Matteo Martincigh | 54fb957 | 2019-10-02 12:50:57 +0100 | [diff] [blame] | 199 | { |
| 200 | // Register the "Connection Acknowledged" command handler |
| 201 | m_CommandHandlerRegistry.RegisterFunctor(&m_ConnectionAcknowledgedCommandHandler); |
Matteo Martincigh | 8efc500 | 2019-10-10 14:30:29 +0100 | [diff] [blame] | 202 | |
| 203 | // Register the "Request Counter Directory" command handler |
| 204 | m_CommandHandlerRegistry.RegisterFunctor(&m_RequestCounterDirectoryCommandHandler); |
Matteo Martincigh | e848538 | 2019-10-10 14:08:21 +0100 | [diff] [blame] | 205 | |
| 206 | // Register the "Periodic Counter Selection" command handler |
| 207 | m_CommandHandlerRegistry.RegisterFunctor(&m_PeriodicCounterSelectionCommandHandler); |
Matteo Martincigh | 994b534 | 2019-10-11 17:19:56 +0100 | [diff] [blame] | 208 | |
| 209 | // Register the "Per-Job Counter Selection" command handler |
| 210 | m_CommandHandlerRegistry.RegisterFunctor(&m_PerJobCounterSelectionCommandHandler); |
Matteo Martincigh | 54fb957 | 2019-10-02 12:50:57 +0100 | [diff] [blame] | 211 | } |
janeil01 | 811ca55 | 2019-12-03 17:01:32 +0000 | [diff] [blame] | 212 | ~ProfilingService(); |
Matteo Martincigh | 54fb957 | 2019-10-02 12:50:57 +0100 | [diff] [blame] | 213 | |
Matteo Martincigh | d0613b5 | 2019-10-09 16:47:04 +0100 | [diff] [blame] | 214 | // Protected methods for testing |
Matteo Martincigh | 54fb957 | 2019-10-02 12:50:57 +0100 | [diff] [blame] | 215 | void SwapProfilingConnectionFactory(ProfilingService& instance, |
| 216 | IProfilingConnectionFactory* other, |
| 217 | IProfilingConnectionFactory*& backup) |
| 218 | { |
| 219 | BOOST_ASSERT(instance.m_ProfilingConnectionFactory); |
| 220 | BOOST_ASSERT(other); |
| 221 | |
| 222 | backup = instance.m_ProfilingConnectionFactory.release(); |
| 223 | instance.m_ProfilingConnectionFactory.reset(other); |
| 224 | } |
Matteo Martincigh | d0613b5 | 2019-10-09 16:47:04 +0100 | [diff] [blame] | 225 | IProfilingConnection* GetProfilingConnection(ProfilingService& instance) |
| 226 | { |
| 227 | return instance.m_ProfilingConnection.get(); |
| 228 | } |
Matteo Martincigh | 8efc500 | 2019-10-10 14:30:29 +0100 | [diff] [blame] | 229 | void TransitionToState(ProfilingService& instance, ProfilingState newState) |
| 230 | { |
| 231 | instance.m_StateMachine.TransitionToState(newState); |
| 232 | } |
Finn Williams | 09ad6f9 | 2019-12-19 17:05:18 +0000 | [diff] [blame] | 233 | bool WaitForPacketSent(ProfilingService& instance, uint32_t timeout = 1000) |
Matteo Martincigh | e848538 | 2019-10-10 14:08:21 +0100 | [diff] [blame] | 234 | { |
Sadik Armagan | 3896b47 | 2020-02-10 12:24:15 +0000 | [diff] [blame] | 235 | return instance.m_SendThread.WaitForPacketSent(timeout); |
Matteo Martincigh | e848538 | 2019-10-10 14:08:21 +0100 | [diff] [blame] | 236 | } |
Narumol Prangnawarat | df31cfe | 2019-11-22 11:26:06 +0000 | [diff] [blame] | 237 | |
| 238 | BufferManager& GetBufferManager(ProfilingService& instance) |
| 239 | { |
| 240 | return instance.m_BufferManager; |
| 241 | } |
Keith Davis | 02356de | 2019-08-26 18:28:17 +0100 | [diff] [blame] | 242 | }; |
| 243 | |
| 244 | } // namespace profiling |
| 245 | |
Matteo Martincigh | a84edee | 2019-10-02 12:50:57 +0100 | [diff] [blame] | 246 | } // namespace armnn |