24.08
|
#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 arm::pipe::ProfilingGuid guid) |
size_t | GetProfilerEventSequenceSize (armnn::IProfiler *profiler) |
Definition at line 21 of file IProfiler.hpp.
|
default |
IProfiler | ( | ) |
Definition at line 653 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 634 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 624 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 619 of file Profiling.cpp.
bool IsProfilingEnabled | ( | ) |
Checks whether profiling is enabled.
Profiling is disabled by default.
Definition at line 629 of file Profiling.cpp.
Referenced by armnn::ProfilingUpdateDescriptions(), and ScopedProfilingEvent::ScopedProfilingEvent().
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 639 of file Profiling.cpp.
Referenced by armnn_driver::DumpJsonProfilingIfRequired().
|
friend |
|
friend |
|
friend |
Definition at line 66 of file IProfiler.hpp.