ArmNN
 21.02
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(), LoadedNetwork::EnqueueWorkload(), RuntimeImpl::EnqueueWorkload(), RefDepthToSpaceWorkload::Execute(), RefStridedSliceWorkload::Execute(), RefActivationWorkload::Execute(), RefConvertFp16ToFp32Workload::Execute(), RefConvertFp32ToBf16Workload::Execute(), RefConvertFp32ToFp16Workload::Execute(), RefLogSoftmaxWorkload::Execute(), RefPadWorkload::Execute(), RefReshapeWorkload::Execute(), RefResizeBilinearWorkload::Execute(), RefResizeWorkload::Execute(), RefSoftmaxWorkload::Execute(), RefSpaceToBatchNdWorkload::Execute(), RefSpaceToDepthWorkload::Execute(), RefConcatWorkload::Execute(), RefFakeQuantizationFloat32Workload::Execute(), RefFillWorkload::Execute(), RefFloorWorkload::Execute(), RefConvertBf16ToFp32Workload::Execute(), RefDequantizeWorkload::Execute(), RefInstanceNormalizationWorkload::Execute(), RefSliceWorkload::Execute(), RefArgMinMaxWorkload::Execute(), RefBatchNormalizationWorkload::Execute(), RefPreluWorkload::Execute(), RefStackWorkload::Execute(), RefBatchToSpaceNdWorkload::Execute(), RefDetectionPostProcessWorkload::Execute(), RefL2NormalizationWorkload::Execute(), RefNormalizationWorkload::Execute(), RefReduceWorkload::Execute(), RefSplitterWorkload::Execute(), ImportMemGenericWorkload::Execute(), CopyMemGenericWorkload::Execute(), RefPooling2dWorkload::Execute(), SyncMemGenericWorkload::Execute(), RefMeanWorkload::Execute(), RefDepthwiseConvolution2dWorkload::Execute(), RefLogicalBinaryWorkload::Execute(), RefConstantWorkload::Execute(), RefElementwiseUnaryWorkload::Execute(), RefComparisonWorkload::Execute(), RefLogicalUnaryWorkload::Execute(), RefGatherWorkload::Execute(), RefConvolution2dWorkload::Execute(), RefTransposeConvolution2dWorkload::Execute(), RefFullyConnectedWorkload::Execute(), RefPermuteWorkload< DataType >::Execute(), RefTransposeWorkload< DataType >::Execute(), RefElementwiseWorkload< Functor, ParentDescriptor, DebugString >::Execute(), and RefDebugWorkload< DataType >::Execute().

◆ 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.