ArmNN
 24.08
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>
Include dependency graph for Profiling.hpp:
This graph shows which files directly or indirectly include this file:

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 arm::pipe::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.

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

◆ 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())

Definition at line 223 of file Profiling.hpp.

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

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