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