From 6940dd720ebb6b3d1df8ca203ab696daefe58189 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Fri, 20 Mar 2020 12:25:56 +0000 Subject: renamed Documentation folder 20.02 and added .nojekyll file Signed-off-by: Jim Flynn --- ...ling_1_1_profiling_service_runtime_helper.xhtml | 332 +++++++++++++++++++++ 1 file changed, 332 insertions(+) create mode 100644 20.02/classarmnn_1_1profiling_1_1_profiling_service_runtime_helper.xhtml (limited to '20.02/classarmnn_1_1profiling_1_1_profiling_service_runtime_helper.xhtml') diff --git a/20.02/classarmnn_1_1profiling_1_1_profiling_service_runtime_helper.xhtml b/20.02/classarmnn_1_1profiling_1_1_profiling_service_runtime_helper.xhtml new file mode 100644 index 0000000000..c2fc2bdb47 --- /dev/null +++ b/20.02/classarmnn_1_1profiling_1_1_profiling_service_runtime_helper.xhtml @@ -0,0 +1,332 @@ + + + + + + + + + + + + + +ArmNN: ProfilingServiceRuntimeHelper Class Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
ProfilingServiceRuntimeHelper Class Reference
+
+
+ +

#include <ProfilingTestUtils.hpp>

+
+Inheritance diagram for ProfilingServiceRuntimeHelper:
+
+
+ + +ProfilingService +IReadWriteCounterValues +IProfilingService +IReadCounterValues +IWriteCounterValues +IProfilingGuidGenerator + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 ProfilingServiceRuntimeHelper ()=default
 
 ~ProfilingServiceRuntimeHelper ()=default
 
BufferManagerGetProfilingBufferManager ()
 
- Public Member Functions inherited from ProfilingService
void ResetExternalProfilingOptions (const ExternalProfilingOptions &options, bool resetProfilingService=false)
 
ProfilingState ConfigureProfilingService (const ExternalProfilingOptions &options, bool resetProfilingService=false)
 
void Update ()
 
void Disconnect ()
 
void AddBackendProfilingContext (const BackendId backendId, std::shared_ptr< armnn::profiling::IBackendProfilingContext > profilingContext)
 
const ICounterDirectoryGetCounterDirectory () const
 
ICounterRegistryGetCounterRegistry ()
 
ProfilingState GetCurrentState () const
 
bool IsCounterRegistered (uint16_t counterUid) const override
 
uint32_t GetCounterValue (uint16_t counterUid) const override
 
uint16_t GetCounterCount () const override
 
const ICounterMappingsGetCounterMappings () const override
 
IRegisterCounterMappingGetCounterMappingRegistry ()
 
bool IsProfilingEnabled () const override
 
CaptureData GetCaptureData () override
 
void SetCaptureData (uint32_t capturePeriod, const std::vector< uint16_t > &counterIds, const std::set< BackendId > &activeBackends)
 
void SetCounterValue (uint16_t counterUid, uint32_t value) override
 
uint32_t AddCounterValue (uint16_t counterUid, uint32_t value) override
 
uint32_t SubtractCounterValue (uint16_t counterUid, uint32_t value) override
 
uint32_t IncrementCounterValue (uint16_t counterUid) override
 
ProfilingDynamicGuid NextGuid () override
 Return the next random Guid in the sequence. More...
 
ProfilingStaticGuid GenerateStaticId (const std::string &str) override
 Create a ProfilingStaticGuid based on a hash of the string. More...
 
std::unique_ptr< ISendTimelinePacketGetSendTimelinePacket () const override
 
ISendCounterPacketGetSendCounterPacket () override
 
bool IsEnabled ()
 Check if the profiling is enabled. More...
 
- Public Member Functions inherited from IReadWriteCounterValues
virtual ~IReadWriteCounterValues ()
 
- Public Member Functions inherited from IReadCounterValues
virtual ~IReadCounterValues ()
 
- Public Member Functions inherited from IWriteCounterValues
virtual ~IWriteCounterValues ()
 
- Public Member Functions inherited from IProfilingService
virtual ~IProfilingService ()
 
- Public Member Functions inherited from IProfilingGuidGenerator
virtual ~IProfilingGuidGenerator ()
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Public Types inherited from ProfilingService
using ExternalProfilingOptions = IRuntime::CreationOptions::ExternalProfilingOptions
 
using IProfilingConnectionFactoryPtr = std::unique_ptr< IProfilingConnectionFactory >
 
using IProfilingConnectionPtr = std::unique_ptr< IProfilingConnection >
 
using CounterIndices = std::vector< std::atomic< uint32_t > * >
 
using CounterValues = std::list< std::atomic< uint32_t > >
 
- Static Public Member Functions inherited from ProfilingService
static ProfilingServiceInstance ()
 
- Protected Member Functions inherited from ProfilingService
 ProfilingService ()
 
 ~ProfilingService ()
 
void SwapProfilingConnectionFactory (ProfilingService &instance, IProfilingConnectionFactory *other, IProfilingConnectionFactory *&backup)
 
IProfilingConnectionGetProfilingConnection (ProfilingService &instance)
 
void TransitionToState (ProfilingService &instance, ProfilingState newState)
 
bool WaitForPacketSent (ProfilingService &instance, uint32_t timeout=1000)
 
BufferManagerGetBufferManager (ProfilingService &instance)
 
+

Detailed Description

+
+

Definition at line 59 of file ProfilingTestUtils.hpp.

+

Constructor & Destructor Documentation

+ +

◆ ProfilingServiceRuntimeHelper()

+ +
+
+ + + + + +
+ + + + + + + +
ProfilingServiceRuntimeHelper ()
+
+default
+
+ +
+
+ +

◆ ~ProfilingServiceRuntimeHelper()

+ +
+
+ + + + + +
+ + + + + + + +
~ProfilingServiceRuntimeHelper ()
+
+default
+
+ +
+
+

Member Function Documentation

+ +

◆ GetProfilingBufferManager()

+ +
+
+ + + + + +
+ + + + + + + +
BufferManager& GetProfilingBufferManager ()
+
+inline
+
+ +

Definition at line 65 of file ProfilingTestUtils.hpp.

+ +

References ProfilingService::Instance().

+
66  {
68  }
static ProfilingService & Instance()
+
BufferManager & GetBufferManager(ProfilingService &instance)
+
+
+
+
The documentation for this class was generated from the following file: +
+
+ + + + -- cgit v1.2.1