#include <IProfiler.hpp>
|
virtual void | EnableProfiling (bool enableProfiling)=0 |
| Enables/disables profiling for this profiler. More...
|
|
virtual bool | IsProfilingEnabled ()=0 |
| Checks whether profiling is enabled. More...
|
|
virtual void | AnalyzeEventsAndWriteResults (std::ostream &outStream) const =0 |
| Analyzes the tracked events and writes the results to the given output stream. More...
|
|
virtual void | Print (std::ostream &outStream) const =0 |
| Print stats for events in JSON Format to the given output stream. More...
|
|
Definition at line 13 of file IProfiler.hpp.
◆ ~IProfiler()
◆ 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] | outStream | The 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] | enableProfiling | A 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] | outStream | The stream where to write the profiling results to. |
Implemented in Profiler.
The documentation for this class was generated from the following file: