|
|||||||||||||||||||||||||||
Technical Support On-Line Manuals µVision User's Guide ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Event Statistics WindowThe Event Statistics Window displays execution time and current consumption (when using ULINKplus) between corresponding start and stop event annotations in the application code. It provides statistics for average values across a number of executions and captures minimum and maximum time/current events. For details about the annotations refer to Using Event Statistics in the Event Recorder component documentation. The Event Recorder Filter has a category to control recording of start/stop event groups. Code Example: #include "EventRecorder.h" // include for the Event Recorder API access : EventRecorderInitialize(EventRecordAll, 1U); // initialize and start Event Recorder : EventStartC(0); // start measurement event group C, slot 0 for (j = 0; j < 1000; j++){ CalcSinTable (); // calculate table with sinus values EventStartB(0); // start group B, slot 0 MaxSqrtSum = rand () / 65536; // limit for sqrt calculation num = FindSqrtSum ((float))MaxSqrtSum); // return number of sqrt operations EventStopBv(0, MaxSqrtSum, num); // stop group B, slot 0, log MaxSqrtSum,num } EventStopC(0); // stop measurement event group C, slot 0 :
Each execution slot is identified by the function name group letter G = {A, B, C, D} and a slot number (0 to 15). A call to EventStopG or EventStopGv with slot=15 stops measurement for all slots in a group and may be used at global exits of an execution block. Display Event StatisticsOpen from the menu View - Analysis Windows - Event Statistics. The figure below explains the displayed information: ![]() For the minimum and maximum time or current consumption it also shows for start and stop events the:
Aggregated statistical data The aggregated statistical data for an execution slot is displayed in the corresponding row. ![]() The following information is shown:
Captured minimum and maximum events For each execution slot, the events with maximum and minimum execution times and current consumption (when using ULINKplus with power measurement) are captured. ![]() The following information is shown:
(1) Q, I and U values are only shown when using ULINKplus with power measurement. Reset Statistic Information or Create Log FilesThe debug command EventRecorder creates a log file or resets the statistic information. Start/Stop events in Event Recorder windowAs all other events, the start/stop events are listed in the Event Recorder Window as shown below. ![]() | ||||||||||||||||||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.