Intel IXP400 Frozen Dessert Maker User Manual


 
Intel
®
IXP400 Software
Access-Layer Components: Performance Profiling (IxPerfProfAcc) API
April 2005 IXP400 Software Version 2.0 Programmer’s Guide
252 Document Number: 252539, Revision: 007
17.9 Threading
The Xcycle component spawns a new task to work in the background. This task is spawned with
the lowest priority. This is to avoid pre-emptying other tasks from running.
This task registers a dummy function that also triggers the measurement of idle cycles. The
importance of starting a new thread at a low priority is that the task needs to run in the background
whilst not preventing any other task from running, This is very important in obtaining the most
accurate results.
17.10 Using the API
This section will explain how to use the three utilities that make up the Performance Profiling
Utilities component. It will also give practical usage examples of these utilities.
The examples provided here merely serve as a guide for the user. Users may choose to implement
these utilities through their own methods.
Figure 85 shows all of the APIs.