Intel IXP400 manual Threading, Using the API

Models: IXP400

1 364
Download 364 pages 16.67 Kb
Page 252
Image 252

Intel® IXP400 Software

Access-Layer Components: Performance Profiling (IxPerfProfAcc) API

17.9Threading

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.10Using 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.

April 2005

IXP400 Software Version 2.0

Programmer’s Guide

252

Document Number: 252539, Revision: 007

 

Page 252
Image 252
Intel IXP400 manual Threading, Using the API