ArmNN
 21.05
Profiling.hpp File Reference
#include "ProfilingEvent.hpp"
#include <armnn/utility/IgnoreUnused.hpp>
#include "armnn/IProfiler.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, ...)   armnn::ScopedProfilingEvent e_ ## lineNumber(backendId, /*name,*/ __VA_ARGS__);
 
#define ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS_UNIQUE_LOC(lineNumber, backendId, ...)   ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS_UNIQUE_LOC_INNER(lineNumber, backendId, /*name,*/ __VA_ARGS__)
 
#define ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS(backendId, ...)   ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS_UNIQUE_LOC(__LINE__,backendId, /*name,*/ __VA_ARGS__)
 
#define ARMNN_SCOPED_PROFILING_EVENT(backendId, name)   ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS(backendId, name, armnn::WallClockTimer())
 

Macro Definition Documentation

◆ ARMNN_SCOPED_PROFILING_EVENT

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

Definition at line 173 of file Profiling.hpp.

Referenced by BOOST_AUTO_TEST_CASE(), armnn::CopyTensorContentsGeneric(), RuntimeImpl::CreateWorkingMemHandle(), RuntimeImpl::EnqueueWorkload(), LoadedNetwork::EnqueueWorkload(), CopyMemGenericWorkload::Execute(), ImportMemGenericWorkload::Execute(), SyncMemGenericWorkload::Execute(), LoadedNetwork::Execute(), RuntimeImpl::Execute(), RefDepthToSpaceWorkload::ExecuteAsync(), RefStridedSliceWorkload::ExecuteAsync(), RefFakeQuantizationFloat32Workload::ExecuteAsync(), RefFillWorkload::ExecuteAsync(), RefFloorWorkload::ExecuteAsync(), RefConcatWorkload::ExecuteAsync(), RefLogSoftmaxWorkload::ExecuteAsync(), RefConvertBf16ToFp32Workload::ExecuteAsync(), RefPadWorkload::ExecuteAsync(), RefResizeBilinearWorkload::ExecuteAsync(), RefConvertFp16ToFp32Workload::ExecuteAsync(), RefConvertFp32ToBf16Workload::ExecuteAsync(), RefConvertFp32ToFp16Workload::ExecuteAsync(), RefReshapeWorkload::ExecuteAsync(), RefResizeWorkload::ExecuteAsync(), RefSpaceToBatchNdWorkload::ExecuteAsync(), RefSoftmaxWorkload::ExecuteAsync(), RefSpaceToDepthWorkload::ExecuteAsync(), RefActivationWorkload::ExecuteAsync(), RefDetectionPostProcessWorkload::ExecuteAsync(), RefArgMinMaxWorkload::ExecuteAsync(), RefBatchNormalizationWorkload::ExecuteAsync(), RefSliceWorkload::ExecuteAsync(), RefBatchToSpaceNdWorkload::ExecuteAsync(), RefInstanceNormalizationWorkload::ExecuteAsync(), RefPreluWorkload::ExecuteAsync(), RefStackWorkload::ExecuteAsync(), RefDequantizeWorkload::ExecuteAsync(), RefReduceWorkload::ExecuteAsync(), RefCastWorkload::ExecuteAsync(), RefL2NormalizationWorkload::ExecuteAsync(), RefSplitterWorkload::ExecuteAsync(), RefNormalizationWorkload::ExecuteAsync(), RefDepthwiseConvolution2dWorkload::ExecuteAsync(), CopyMemGenericWorkload::ExecuteAsync(), SyncMemGenericWorkload::ExecuteAsync(), RefPooling2dWorkload::ExecuteAsync(), RefMeanWorkload::ExecuteAsync(), RefConstantWorkload::ExecuteAsync(), RefElementwiseUnaryWorkload::ExecuteAsync(), RefLogicalUnaryWorkload::ExecuteAsync(), RefLogicalBinaryWorkload::ExecuteAsync(), RefGatherWorkload::ExecuteAsync(), RefComparisonWorkload::ExecuteAsync(), RefConvolution2dWorkload::ExecuteAsync(), RefTransposeConvolution2dWorkload::ExecuteAsync(), RefFullyConnectedWorkload::ExecuteAsync(), RefTransposeWorkload< DataType >::ExecuteAsync(), RefPermuteWorkload< DataType >::ExecuteAsync(), RefElementwiseWorkload< Functor, ParentDescriptor, DebugString >::ExecuteAsync(), RefDebugWorkload< DataType >::ExecuteAsync(), RuntimeImpl::Schedule(), and LoadedNetwork::Schedule().

◆ ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS

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

Definition at line 170 of file Profiling.hpp.

Referenced by BOOST_AUTO_TEST_CASE().

◆ ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS_UNIQUE_LOC

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

Definition at line 160 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,
  ... 
)    armnn::ScopedProfilingEvent e_ ## lineNumber(backendId, /*name,*/ __VA_ARGS__);

Definition at line 157 of file Profiling.hpp.