SysprogsProfilerInterface.h File Reference

Go to the source code of this file.

Enumerations

enum  ProfilerDataChannel {
  pdcSamplingProfilerStream = 0x41, pdcInstrumentationProfilerStreamDeprecated = 0x42, pdcTestReportStream = 0x43, pdcRealTimeAnalysisStream = 0x44,
  pdcInstrumentationProfilerNormalStream = 0x45, pdcResourceManagementStream = 0x46
}
 
enum  RealTimeEventArgType { rtaSignedInt, rtaUnsignedInt, rtaFloatingPoint }
 

Functions

int SysprogsProfiler_WriteData (ProfilerDataChannel channel, const void *pHeader, unsigned headerSize, const void *pPayload, unsigned payloadSize)
 
int SysprogsProfiler_GetBufferAvailability (unsigned exp)
 
unsigned SysprogsInstrumentingProfiler_QueryAndResetPerformanceCounter ()
 Returns the amount of profiler clock ticks passed since the last call to this function. More...
 
void SysprogsProfiler_RTOSThreadSwitched (void *newThread, const char *pThreadName, void *pStackLimit)
 
void SysprogsProfiler_RTOSThreadDeleted (void *thread)
 
void SysprogsProfiler_ReportResourceTaken (void *pResource, void *pOwner, unsigned optional24BitTag)
 
void SysprogsProfiler_ReportResourceReleased (void *pResource, void *pOwner, unsigned optional24BitTag)
 
void SysprogsProfiler_ReportIntegralValue (void *pResource, unsigned value, int reportAsSigned)
 
void SysprogsProfiler_ReportFPValue (void *pResource, double value)
 
void SysprogsProfiler_ReportGenericEvent (void *pResource, const char *pEvent)
 
void SysprogsProfiler_ReportGenericEventEx (void *pResource, void *argument, RealTimeEventArgType argType, int argSize)
 

Enumeration Type Documentation

Enumerator
pdcSamplingProfilerStream 
pdcInstrumentationProfilerStreamDeprecated 
pdcTestReportStream 
pdcRealTimeAnalysisStream 
pdcInstrumentationProfilerNormalStream 
pdcResourceManagementStream 
Enumerator
rtaSignedInt 
rtaUnsignedInt 
rtaFloatingPoint 

Function Documentation

unsigned SysprogsInstrumentingProfiler_QueryAndResetPerformanceCounter ( )

Returns the amount of profiler clock ticks passed since the last call to this function.

int SysprogsProfiler_GetBufferAvailability ( unsigned  exp)
void SysprogsProfiler_ReportFPValue ( void *  pResource,
double  value 
)
void SysprogsProfiler_ReportGenericEvent ( void *  pResource,
const char *  pEvent 
)
void SysprogsProfiler_ReportGenericEventEx ( void *  pResource,
void *  argument,
RealTimeEventArgType  argType,
int  argSize 
)
void SysprogsProfiler_ReportIntegralValue ( void *  pResource,
unsigned  value,
int  reportAsSigned 
)
void SysprogsProfiler_ReportResourceReleased ( void *  pResource,
void *  pOwner,
unsigned  optional24BitTag 
)
void SysprogsProfiler_ReportResourceTaken ( void *  pResource,
void *  pOwner,
unsigned  optional24BitTag 
)
void SysprogsProfiler_RTOSThreadDeleted ( void *  thread)
void SysprogsProfiler_RTOSThreadSwitched ( void *  newThread,
const char *  pThreadName,
void *  pStackLimit 
)
int SysprogsProfiler_WriteData ( ProfilerDataChannel  channel,
const void *  pHeader,
unsigned  headerSize,
const void *  pPayload,
unsigned  payloadSize 
)