ArmNN
 24.08
Profiling.cpp File Reference
#include "Profiling.hpp"
#include <armnn/BackendId.hpp>
#include <armnn/utility/Assert.hpp>
#include "JsonPrinter.hpp"
#include <algorithm>
#include <iomanip>
#include <iostream>
#include <fstream>
#include <map>
#include <stack>
Include dependency graph for Profiling.cpp:

Go to the source code of this file.

Namespaces

 armnn
 Copyright (c) 2021 ARM Limited and Contributors.
 

Functions

Measurement FindMeasurement (const std::string &name, const Event *event)
 
std::vector< Measurement > FindKernelMeasurements (const Event *event)
 
const Event * GetEventPtr (const Event *ptr)
 
const Event * GetEventPtr (const std::unique_ptr< Event > &ptr)
 
int CalcLevel (const Event *eventPtr)
 
void ConfigureDetailsObject (JsonChildObject &detailsObject, std::string layerDetailsStr)
 
void ExtractJsonObjects (unsigned int inferenceIndex, const Event *parentEvent, JsonChildObject &parentObject, std::map< const Event *, std::vector< const Event * >> descendantsMap)
 

Variables

constexpr std::size_t g_ProfilingEventCountHint = 1024
 
constexpr bool g_WriteProfilingEventSequence = true
 
constexpr bool g_AggregateProfilingEventsByInference = true
 
constexpr bool g_WriteReportToStdOutOnProfilerDestruction = false
 
thread_local IProfiler * tl_Profiler = nullptr