ArmNN
 20.11
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  Profiler
 
class  ProfilerManager
 
class  ScopedProfilingEvent
 

Namespaces

 armnn
 Copyright (c) 2020 ARM Limited.
 

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 175 of file Profiling.hpp.

Referenced by BOOST_AUTO_TEST_CASE(), armnn::CopyTensorContentsGeneric(), LoadedNetwork::EnqueueWorkload(), Runtime::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(), RefBatchToSpaceNdWorkload::Execute(), RefInstanceNormalizationWorkload::Execute(), RefSliceWorkload::Execute(), RefArgMinMaxWorkload::Execute(), RefDequantizeWorkload::Execute(), RefBatchNormalizationWorkload::Execute(), RefPreluWorkload::Execute(), RefDetectionPostProcessWorkload::Execute(), RefStackWorkload::Execute(), RefL2NormalizationWorkload::Execute(), RefSplitterWorkload::Execute(), RefNormalizationWorkload::Execute(), CopyMemGenericWorkload::Execute(), SyncMemGenericWorkload::Execute(), RefPooling2dWorkload::Execute(), ImportMemGenericWorkload::Execute(), RefMeanWorkload::Execute(), RefDepthwiseConvolution2dWorkload::Execute(), RefComparisonWorkload::Execute(), RefLogicalUnaryWorkload::Execute(), RefGatherWorkload::Execute(), RefConstantWorkload::Execute(), RefElementwiseUnaryWorkload::Execute(), RefLogicalBinaryWorkload::Execute(), RefConvolution2dWorkload::Execute(), RefFullyConnectedWorkload::Execute(), RefTransposeConvolution2dWorkload::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 172 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 162 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 159 of file Profiling.hpp.