22.02
|
#include <IProfiler.hpp>
Public Member Functions | |
void | EnableProfiling (bool enableProfiling) |
Enables/disables profiling for this profiler. More... | |
bool | IsProfilingEnabled () |
Checks whether profiling is enabled. More... | |
void | AnalyzeEventsAndWriteResults (std::ostream &outStream) const |
Analyzes the tracked events and writes the results to the given output stream. More... | |
void | Print (std::ostream &outStream) const |
Print stats for events in JSON Format to the given output stream. More... | |
void | EnableNetworkDetailsToStdOut (ProfilingDetailsMethod detailsMethod) |
Print out details of each layer within the network that possesses a descriptor. More... | |
~IProfiler () | |
IProfiler () | |
Friends | |
class | ScopedProfilingEvent |
template<typename DescriptorType > | |
void | ProfilingUpdateDescriptions (const std::string &name, const DescriptorType &desc, const WorkloadInfo &infos, const profiling::ProfilingGuid guid) |
size_t | GetProfilerEventSequenceSize (armnn::IProfiler *profiler) |
Definition at line 21 of file IProfiler.hpp.
|
default |
Referenced by IProfiler::Print().
IProfiler | ( | ) |
Definition at line 619 of file Profiling.cpp.
void AnalyzeEventsAndWriteResults | ( | std::ostream & | outStream | ) | const |
Analyzes the tracked events and writes the results to the given output stream.
Please refer to the configuration variables in Profiling.cpp to customize the information written.
[out] | outStream | The stream where to write the profiling results to. |
Definition at line 600 of file Profiling.cpp.
void EnableNetworkDetailsToStdOut | ( | ProfilingDetailsMethod | detailsMethod | ) |
Print out details of each layer within the network that possesses a descriptor.
Also outputs tensor info. This will be part of the profiling json output
Definition at line 590 of file Profiling.cpp.
void EnableProfiling | ( | bool | enableProfiling | ) |
Enables/disables profiling for this profiler.
[in] | enableProfiling | A flag that indicates whether profiling should be enabled or not. |
Definition at line 585 of file Profiling.cpp.
bool IsProfilingEnabled | ( | ) |
Checks whether profiling is enabled.
Profiling is disabled by default.
Definition at line 595 of file Profiling.cpp.
Referenced by armnn::ProfilingUpdateDescriptions().
void Print | ( | std::ostream & | outStream | ) | const |
Print stats for events in JSON Format to the given output stream.
[out] | outStream | The stream where to write the profiling results to. |
Definition at line 605 of file Profiling.cpp.
References IProfiler::~IProfiler().
Referenced by TEST_SUITE().
|
friend |
Definition at line 19 of file ProfilerTests.cpp.
|
friend |
< Profiler used
Definition at line 180 of file Profiling.hpp.
|
friend |
Definition at line 66 of file IProfiler.hpp.