ArmNN  NotReleased
IProfiler Class Referenceabstract

#include <IProfiler.hpp>

Inheritance diagram for IProfiler:
Profiler

Public Member Functions

virtual void EnableProfiling (bool enableProfiling)=0
 
virtual bool IsProfilingEnabled ()=0
 
virtual void AnalyzeEventsAndWriteResults (std::ostream &outStream) const =0
 
virtual void Print (std::ostream &outStream) const =0
 

Protected Member Functions

 ~IProfiler ()
 

Detailed Description

Definition at line 13 of file IProfiler.hpp.

Constructor & Destructor Documentation

◆ ~IProfiler()

~IProfiler ( )
inlineprotected

Definition at line 35 of file IProfiler.hpp.

35 {}

Member Function Documentation

◆ AnalyzeEventsAndWriteResults()

virtual void AnalyzeEventsAndWriteResults ( std::ostream &  outStream) const
pure virtual

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.

Parameters
[out]outStreamThe stream where to write the profiling results to.

Implemented in Profiler.

◆ EnableProfiling()

virtual void EnableProfiling ( bool  enableProfiling)
pure virtual

Enables/disables profiling for this profiler.

Parameters
[in]enableProfilingA flag that indicates whether profiling should be enabled or not.

Implemented in Profiler.

◆ IsProfilingEnabled()

virtual bool IsProfilingEnabled ( )
pure virtual

Checks whether profiling is enabled. Profiling is disabled by default.

Returns
true if profiling is enabled, false otherwise.

Implemented in Profiler.

◆ Print()

virtual void Print ( std::ostream &  outStream) const
pure virtual

Print stats for events in JSON Format to the given output stream.

Parameters
[out]outStreamThe stream where to write the profiling results to.

Implemented in Profiler.


The documentation for this class was generated from the following file: