21.05
|
#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... | |
~IProfiler () | |
IProfiler () | |
Friends | |
class | ScopedProfilingEvent |
size_t | GetProfilerEventSequenceSize (armnn::IProfiler *profiler) |
Definition at line 19 of file IProfiler.hpp.
|
default |
Referenced by IProfiler::Print().
IProfiler | ( | ) |
Definition at line 535 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 517 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 507 of file Profiling.cpp.
bool IsProfilingEnabled | ( | ) |
Checks whether profiling is enabled.
Profiling is disabled by default.
Definition at line 512 of file Profiling.cpp.
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 522 of file Profiling.cpp.
References IProfiler::~IProfiler().
Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_FIXTURE_TEST_CASE().
|
friend |
Definition at line 22 of file ProfilerTests.cpp.
|
friend |
Definition at line 49 of file IProfiler.hpp.