ArmNN
 20.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>
#include <boost/preprocessor.hpp>

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(backendId, ...)   armnn::ScopedProfilingEvent BOOST_PP_CAT(e_,__LINE__)(backendId, /*name,*/ __VA_ARGS__);
 
#define ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS(backendId, ...)   ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS_UNIQUE_LOC(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 169 of file Profiling.hpp.

Referenced by BOOST_AUTO_TEST_CASE(), armnn::CopyTensorContentsGeneric(), LoadedNetwork::EnqueueWorkload(), RefDepthToSpaceWorkload::Execute(), RefStridedSliceWorkload::Execute(), RefReshapeWorkload::Execute(), RefResizeBilinearWorkload::Execute(), RefResizeWorkload::Execute(), RefSpaceToBatchNdWorkload::Execute(), RefSpaceToDepthWorkload::Execute(), RefSoftmaxWorkload::Execute(), RefConcatWorkload::Execute(), RefFakeQuantizationFloat32Workload::Execute(), RefFloorWorkload::Execute(), RefActivationWorkload::Execute(), RefConvertFp16ToFp32Workload::Execute(), RefConvertFp32ToFp16Workload::Execute(), RefLogSoftmaxWorkload::Execute(), RefBatchToSpaceNdWorkload::Execute(), RefArgMinMaxWorkload::Execute(), RefPreluWorkload::Execute(), RefBatchNormalizationWorkload::Execute(), RefDequantizeWorkload::Execute(), RefSliceWorkload::Execute(), RefDetectionPostProcessWorkload::Execute(), RefStackWorkload::Execute(), RefInstanceNormalizationWorkload::Execute(), RefNormalizationWorkload::Execute(), RefSplitterWorkload::Execute(), RefL2NormalizationWorkload::Execute(), ImportMemGenericWorkload::Execute(), RefPooling2dWorkload::Execute(), SyncMemGenericWorkload::Execute(), CopyMemGenericWorkload::Execute(), RefMeanWorkload::Execute(), RefDepthwiseConvolution2dWorkload::Execute(), RefGatherWorkload::Execute(), RefComparisonWorkload::Execute(), RefConstantWorkload::Execute(), RefElementwiseUnaryWorkload::Execute(), RefConvolution2dWorkload::Execute(), RefTransposeConvolution2dWorkload::Execute(), RefFullyConnectedWorkload::Execute(), RefPermuteWorkload< DataType >::Execute(), RefTransposeWorkload< DataType >::Execute(), RefPadWorkload< 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(backendId, /*name,*/ __VA_ARGS__);

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

Definition at line 162 of file Profiling.hpp.