From f4019872c1134c6fcc1d6993e5746f55c1e79208 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Tue, 8 Mar 2022 20:01:38 +0000 Subject: IVGCVSW-6819 Fix the directory structure and broken link to latest docu Signed-off-by: Nikhil Raj Change-Id: I05b559d15faf92c76ff536719693b361316be4f3 --- 22.02/_profiling_8hpp.xhtml | 411 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 411 insertions(+) create mode 100644 22.02/_profiling_8hpp.xhtml (limited to '22.02/_profiling_8hpp.xhtml') diff --git a/22.02/_profiling_8hpp.xhtml b/22.02/_profiling_8hpp.xhtml new file mode 100644 index 0000000000..cef7180ba4 --- /dev/null +++ b/22.02/_profiling_8hpp.xhtml @@ -0,0 +1,411 @@ + + + + + + + + + + + + + +ArmNN: src/armnn/Profiling.hpp File Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  22.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Profiling.hpp File Reference
+
+
+
#include <common/include/ProfilingGuid.hpp>
+#include "ProfilingEvent.hpp"
+#include "ProfilingDetails.hpp"
+#include "armnn/IProfiler.hpp"
+#include <armnn/Optional.hpp>
+#include <armnn/utility/IgnoreUnused.hpp>
+#include "WallClockTimer.hpp"
+#include <chrono>
+#include <iosfwd>
+#include <ctime>
+#include <vector>
+#include <stack>
+#include <map>
+
+

Go to the source code of this file.

+ + + + + + + + + + + + +

+Classes

class  ProfilerImpl
 
struct  ProfilerImpl::Marker
 
struct  ProfilerImpl::ProfilingEventStats
 
class  ProfilerManager
 
class  ScopedProfilingEvent
 
+ + + + +

+Namespaces

 armnn
 Copyright (c) 2021 ARM Limited and Contributors.
 
+ + + + + + + + + + + + + +

+Macros

#define ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS_UNIQUE_LOC_INNER(lineNumber, backendId, guid, ...)   armnn::ScopedProfilingEvent e_ ## lineNumber(backendId, guid, /*name,*/ __VA_ARGS__);
 
#define ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS_UNIQUE_LOC(lineNumber, backendId, guid, ...)   ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS_UNIQUE_LOC_INNER(lineNumber, backendId, guid, /*name,*/ __VA_ARGS__)
 
#define ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS(backendId, guid, ...)   ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS_UNIQUE_LOC(__LINE__,backendId, guid, /*name,*/ __VA_ARGS__)
 
#define ARMNN_SCOPED_PROFILING_EVENT(backendId, name)   ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS(backendId, armnn::EmptyOptional(), name, armnn::WallClockTimer())
 
#define ARMNN_SCOPED_PROFILING_EVENT_GUID(backendId, name, guid)   ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS(backendId, guid, name, armnn::WallClockTimer())
 
#define ARMNN_REPORT_PROFILING_WORKLOAD_DESC(name, desc, infos, guid)   armnn::ProfilingUpdateDescriptions(name, desc, infos, guid);
 
+ + + + +

+Functions

template<typename DescriptorType >
void ProfilingUpdateDescriptions (const std::string &name, const DescriptorType &desc, const WorkloadInfo &infos, const profiling::ProfilingGuid guid)
 
+

Macro Definition Documentation

+ +

◆ ARMNN_REPORT_PROFILING_WORKLOAD_DESC

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#define ARMNN_REPORT_PROFILING_WORKLOAD_DESC( name,
 desc,
 infos,
 guid 
)   armnn::ProfilingUpdateDescriptions(name, desc, infos, guid);
+
+ +

Definition at line 227 of file Profiling.hpp.

+ +

Referenced by ClActivationWorkload::ClActivationWorkload(), ClArgMinMaxWorkload::ClArgMinMaxWorkload(), ClBatchNormalizationFloatWorkload::ClBatchNormalizationFloatWorkload(), ClBatchToSpaceNdWorkload::ClBatchToSpaceNdWorkload(), ClChannelShuffleWorkload::ClChannelShuffleWorkload(), ClComparisonWorkload::ClComparisonWorkload(), ClConcatWorkload::ClConcatWorkload(), ClDepthToSpaceWorkload::ClDepthToSpaceWorkload(), ClDepthwiseConvolutionWorkload::ClDepthwiseConvolutionWorkload(), ClExpWorkload::ClExpWorkload(), ClFillWorkload::ClFillWorkload(), ClFullyConnectedWorkload::ClFullyConnectedWorkload(), ClGatherWorkload::ClGatherWorkload(), ClInstanceNormalizationWorkload::ClInstanceNormalizationWorkload(), ClL2NormalizationFloatWorkload::ClL2NormalizationFloatWorkload(), ClLogicalAndWorkload::ClLogicalAndWorkload(), ClLogicalNotWorkload::ClLogicalNotWorkload(), ClLogicalOrWorkload::ClLogicalOrWorkload(), ClLogSoftmaxWorkload::ClLogSoftmaxWorkload(), ClLstmFloatWorkload::ClLstmFloatWorkload(), ClMeanWorkload::ClMeanWorkload(), ClNormalizationFloatWorkload::ClNormalizationFloatWorkload(), ClPadWorkload::ClPadWorkload(), ClPermuteWorkload::ClPermuteWorkload(), ClPooling2dWorkload::ClPooling2dWorkload(), ClQLstmWorkload::ClQLstmWorkload(), ClReduceWorkload::ClReduceWorkload(), ClResizeWorkload::ClResizeWorkload(), ClSliceWorkload::ClSliceWorkload(), ClSoftmaxWorkload::ClSoftmaxWorkload(), ClSpaceToBatchNdWorkload::ClSpaceToBatchNdWorkload(), ClSpaceToDepthWorkload::ClSpaceToDepthWorkload(), ClSplitterWorkload::ClSplitterWorkload(), ClStackWorkload::ClStackWorkload(), ClStridedSliceWorkload::ClStridedSliceWorkload(), ClTransposeConvolution2dWorkload::ClTransposeConvolution2dWorkload(), ClTransposeWorkload::ClTransposeWorkload(), NeonActivationWorkload::NeonActivationWorkload(), NeonArgMinMaxWorkload::NeonArgMinMaxWorkload(), NeonBatchNormalizationWorkload::NeonBatchNormalizationWorkload(), NeonBatchToSpaceNdWorkload::NeonBatchToSpaceNdWorkload(), NeonChannelShuffleWorkload::NeonChannelShuffleWorkload(), NeonComparisonWorkload::NeonComparisonWorkload(), NeonConcatWorkload::NeonConcatWorkload(), NeonDepthToSpaceWorkload::NeonDepthToSpaceWorkload(), NeonDetectionPostProcessWorkload::NeonDetectionPostProcessWorkload(), NeonExpWorkload::NeonExpWorkload(), NeonFillWorkload::NeonFillWorkload(), NeonGatherWorkload::NeonGatherWorkload(), NeonInstanceNormalizationWorkload::NeonInstanceNormalizationWorkload(), NeonL2NormalizationFloatWorkload::NeonL2NormalizationFloatWorkload(), NeonLogicalAndWorkload::NeonLogicalAndWorkload(), NeonLogicalNotWorkload::NeonLogicalNotWorkload(), NeonLogicalOrWorkload::NeonLogicalOrWorkload(), NeonLogSoftmaxWorkload::NeonLogSoftmaxWorkload(), NeonLstmFloatWorkload::NeonLstmFloatWorkload(), NeonMeanWorkload::NeonMeanWorkload(), NeonNormalizationFloatWorkload::NeonNormalizationFloatWorkload(), NeonPadWorkload::NeonPadWorkload(), NeonPermuteWorkload::NeonPermuteWorkload(), NeonPooling2dWorkload::NeonPooling2dWorkload(), NeonQLstmWorkload::NeonQLstmWorkload(), NeonReduceWorkload::NeonReduceWorkload(), NeonResizeWorkload::NeonResizeWorkload(), NeonSliceWorkload::NeonSliceWorkload(), NeonSoftmaxWorkload::NeonSoftmaxWorkload(), NeonSpaceToBatchNdWorkload::NeonSpaceToBatchNdWorkload(), NeonSpaceToDepthWorkload::NeonSpaceToDepthWorkload(), NeonSplitterWorkload::NeonSplitterWorkload(), NeonStackWorkload::NeonStackWorkload(), NeonStridedSliceWorkload::NeonStridedSliceWorkload(), NeonTransposeWorkload::NeonTransposeWorkload(), RefConvolution2dWorkload::RefConvolution2dWorkload(), and RefConvolution3dWorkload::RefConvolution3dWorkload().

+ +
+
+ +

◆ ARMNN_SCOPED_PROFILING_EVENT

+ +
+
+ + + + + + + + + + + + + + + + + + +
#define ARMNN_SCOPED_PROFILING_EVENT( backendId,
 name 
)   ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS(backendId, armnn::EmptyOptional(), name, armnn::WallClockTimer())
+
+ +

Definition at line 220 of file Profiling.hpp.

+ +

Referenced by Graph::AllocateDynamicBuffers(), armnn::ApplyBackendOptimizations(), armnn::AssignBackends(), ClAbsWorkload::ClAbsWorkload(), ClActivationWorkload::ClActivationWorkload(), ClAdditionWorkload::ClAdditionWorkload(), ClArgMinMaxWorkload::ClArgMinMaxWorkload(), ClCastWorkload::ClCastWorkload(), ClComparisonWorkload::ClComparisonWorkload(), ClConcatWorkload::ClConcatWorkload(), ClConvertFp16ToFp32Workload::ClConvertFp16ToFp32Workload(), ClConvertFp32ToFp16Workload::ClConvertFp32ToFp16Workload(), ClConvolution2dWorkload::ClConvolution2dWorkload(), ClDequantizeWorkload::ClDequantizeWorkload(), ClDivisionWorkload::ClDivisionWorkload(), ClExpWorkload::ClExpWorkload(), ClFloorFloatWorkload::ClFloorFloatWorkload(), ClGatherWorkload::ClGatherWorkload(), ClLogicalAndWorkload::ClLogicalAndWorkload(), ClLogicalNotWorkload::ClLogicalNotWorkload(), ClLogicalOrWorkload::ClLogicalOrWorkload(), ClLogSoftmaxWorkload::ClLogSoftmaxWorkload(), ClLogWorkload::ClLogWorkload(), ClMaximumWorkload::ClMaximumWorkload(), ClMinimumWorkload::ClMinimumWorkload(), ClMultiplicationWorkload::ClMultiplicationWorkload(), ClNegWorkload::ClNegWorkload(), ClPreluWorkload::ClPreluWorkload(), ClQuantizeWorkload::ClQuantizeWorkload(), ClReshapeWorkload::ClReshapeWorkload(), ClRsqrtWorkload::ClRsqrtWorkload(), ClSinWorkload::ClSinWorkload(), ClSliceWorkload::ClSliceWorkload(), ClSoftmaxWorkload::ClSoftmaxWorkload(), ClSplitterWorkload::ClSplitterWorkload(), ClStackWorkload::ClStackWorkload(), ClSubtractionWorkload::ClSubtractionWorkload(), ClTransposeWorkload::ClTransposeWorkload(), armnn::CopyTensorContentsGeneric(), RuntimeImpl::CreateWorkingMemHandle(), Convolution2dLayer::CreateWorkload(), LoadedNetwork::EnqueueWorkload(), RuntimeImpl::EnqueueWorkload(), CopyMemGenericWorkload::Execute(), ImportMemGenericWorkload::Execute(), SyncMemGenericWorkload::Execute(), LoadedNetwork::Execute(), RuntimeImpl::Execute(), RefDepthToSpaceWorkload::ExecuteAsync(), RefStridedSliceWorkload::ExecuteAsync(), RefConcatWorkload::ExecuteAsync(), RefConvertBf16ToFp32Workload::ExecuteAsync(), RefConvertFp32ToBf16Workload::ExecuteAsync(), RefFakeQuantizationFloat32Workload::ExecuteAsync(), RefFillWorkload::ExecuteAsync(), RefLogSoftmaxWorkload::ExecuteAsync(), RefFloorWorkload::ExecuteAsync(), RefPadWorkload::ExecuteAsync(), RefSpaceToBatchNdWorkload::ExecuteAsync(), RefResizeWorkload::ExecuteAsync(), RefSoftmaxWorkload::ExecuteAsync(), RefConvertFp16ToFp32Workload::ExecuteAsync(), RefSpaceToDepthWorkload::ExecuteAsync(), RefConvertFp32ToFp16Workload::ExecuteAsync(), RefActivationWorkload::ExecuteAsync(), RefReshapeWorkload::ExecuteAsync(), RefChannelShuffleWorkload::ExecuteAsync(), CopyMemGenericWorkload::ExecuteAsync(), RefPreluWorkload::ExecuteAsync(), RefDequantizeWorkload::ExecuteAsync(), RefDetectionPostProcessWorkload::ExecuteAsync(), RefArgMinMaxWorkload::ExecuteAsync(), RefInstanceNormalizationWorkload::ExecuteAsync(), RefStackWorkload::ExecuteAsync(), RefBatchNormalizationWorkload::ExecuteAsync(), RefBatchToSpaceNdWorkload::ExecuteAsync(), RefSliceWorkload::ExecuteAsync(), RefCastWorkload::ExecuteAsync(), RefReduceWorkload::ExecuteAsync(), RefL2NormalizationWorkload::ExecuteAsync(), RefNormalizationWorkload::ExecuteAsync(), RefSplitterWorkload::ExecuteAsync(), RefMeanWorkload::ExecuteAsync(), RefDepthwiseConvolution2dWorkload::ExecuteAsync(), RefPooling3dWorkload::ExecuteAsync(), RefPooling2dWorkload::ExecuteAsync(), SyncMemGenericWorkload::ExecuteAsync(), RefConstantWorkload::ExecuteAsync(), RefLogicalBinaryWorkload::ExecuteAsync(), RefElementwiseUnaryWorkload::ExecuteAsync(), RefLogicalUnaryWorkload::ExecuteAsync(), RefComparisonWorkload::ExecuteAsync(), RefGatherWorkload::ExecuteAsync(), RefTransposeConvolution2dWorkload::ExecuteAsync(), RefFullyConnectedWorkload::ExecuteAsync(), RefPermuteWorkload< DataType >::ExecuteAsync(), RefTransposeWorkload< DataType >::ExecuteAsync(), RefElementwiseWorkload< Functor, ParentDescriptor, DebugString >::ExecuteAsync(), RefDebugWorkload< DataType >::ExecuteAsync(), LoadedNetwork::MakeLoadedNetwork(), armnn::Optimize(), Optimizer::Pass(), armnn::SelectTensorHandleStrategy(), LoadedNetwork::SendNetworkStructure(), and TEST_SUITE().

+ +
+
+ +

◆ ARMNN_SCOPED_PROFILING_EVENT_GUID

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
#define ARMNN_SCOPED_PROFILING_EVENT_GUID( backendId,
 name,
 guid 
)   ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS(backendId, guid, name, armnn::WallClockTimer())
+
+
+ +

◆ ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
#define ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS( backendId,
 guid,
 ... 
)   ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS_UNIQUE_LOC(__LINE__,backendId, guid, /*name,*/ __VA_ARGS__)
+
+ +

Definition at line 217 of file Profiling.hpp.

+ +

Referenced by TEST_SUITE().

+ +
+
+ +

◆ ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS_UNIQUE_LOC

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#define ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS_UNIQUE_LOC( lineNumber,
 backendId,
 guid,
 ... 
)   ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS_UNIQUE_LOC_INNER(lineNumber, backendId, guid, /*name,*/ __VA_ARGS__)
+
+ +

Definition at line 207 of file Profiling.hpp.

+ +
+
+ +

◆ ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS_UNIQUE_LOC_INNER

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#define ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS_UNIQUE_LOC_INNER( lineNumber,
 backendId,
 guid,
 ... 
)   armnn::ScopedProfilingEvent e_ ## lineNumber(backendId, guid, /*name,*/ __VA_ARGS__);
+
+ +

Definition at line 204 of file Profiling.hpp.

+ +
+
+
+
+ + + + -- cgit v1.2.1