winIDEA SDK
isys::CProfilerStatus Class Reference

Description

This class contains profiler status.

It should not be instantiated by clients. Call CProfilerController::getStatus() to get instance of this class.

#include <CProfilerController.h>

Public Member Functions

int getAnalysisError () const
 Returns profiler analysis error code. More...
 
int getNoOfSamples ()
 Returns the number of recorded or analyzed samples, depending on flags of CProfilerController::getStatus() method.
 
bool isActive () const
 Returns true, if profiler is recording.
 
bool isBufferOverrun () const
 Returns true, if there was buffer overrun.
 
bool isError () const
 Returns true if any of the above errors occurs.
 
bool isErrorInBuffer () const
 Returns true, if there was error in buffer.
 
bool isIdle () const
 Returns true, if profiler is idle.
 
bool isLoading () const
 Returns true, if profiler is loading data to PC.
 
bool isMustInit () const
 Returns true, if profiler must be initialized.
 
bool isRecordingError () const
 Returns true, if there was error in recording.
 
bool isWaiting () const
 Returns true, if profiler is waiting for trigger.
 
std::string toString ()
 Returns object data as YAML string.
 

Member Function Documentation

◆ getAnalysisError()

int isys::CProfilerStatus::getAnalysisError ( ) const
inline

Returns profiler analysis error code.

If there was no error, 0 is returned.