Platform Package reference: Function EwResetPerfCounters()

Description of the function EwResetPerfCounters() available in the Professional edition of Platform Packages for C compatible target systems. This function is intended for debugging purpose only.

Declaration

void EwResetPerfCounters( void )

Discussion

The function EwResetPerfCounters() resets all performance counters so new performance test can begin. To print already collected information the function EwPrintPerfCounters() is available. The collected information is convenient to analyze performance issues with the GUI application and the particular target system.

IMPORTANT

Please note, in order to use the performance counters the Platform Package modules and the GUI application has to be compiled with the C macro EW_PRINT_PERF_COUNTERS defined. If you are using one of our prepared Build Environments you can configure this macro in the file ewconfig.h. However, Platform Packages contained in the Small Business edition of Embedded Wizard are provided as libraries compiled without this macro resulting in this function not being available. Similar is true if you are using an Evaluation edition of a Platform Package.