Intel® IXP400 Software

Access-Layer Components: Performance Profiling (IxPerfProfAcc) API

Figure 85. IxPerfProfAcc Component API

ixPerfProfAccXscalePmuEventCountStart()

ixPerfProfAccBusPmuStart ()

ixPerfProfAccXcycleBaselineRun()

ixPerfProfAccXscalePmuEventCountStop()

ixPerfProfAccBusPmuStop()

 

ixPerfProfAccXscalePmuTimeSampStart()

ixPerfProfAccBusPmuResultGet()

ixPerfProfAccXcycleStart()

ixPerfProfAccXscalePmuTimeSampStop()

ixPerfProfAccBusPmuPMSRGet()

ixPerfProfAccXscalePmuEventSampStart()

 

ixPerfProfAccXcycleStop()

ixPerfProfAccXscalePmuEventSampStop()

 

ixPerfProfAccXcycleResultsGet ()

ixPerfProfAccXscalePmuResultsGet ()

 

 

ixPerfProfAccXscalePmuTimeSampCreateProcFile()

 

-Linux only (Only to be called by /proc filesystem) ixPerfProfAccXscalePmuEventSampCreateProcFile()

-Linux only (Only to be called by /proc filesystem)

IX_PERFPROF_ACC_STATUS_FAIL

IX_PERFPROF_ACC_STATUS_FAIL

IX_PERFPROF_ACC_STATUS_SUCCESS

IX_PERFPROF_ACC_STATUS_SUCCESS

IX_PERFPROF_ACC_STATUS_FAIL

IX_PERFPROF_ACC_STATUS_SUCCESS

Intel XScale® PMU

Internal Bus

PMU

Xcycle

B2400-02

17.10.1API Usage for Intel XScale® Core PMU

The Intel XScale core’s PMU utility provides three different capabilities, namely, event/clock counting, time-based sampling, and event-based sampling. The user may monitor their code/ program in two ways:

From the CLI, call the appropriate Intel XScale core’s PMU utility

In the user’s code itself, insert the appropriate Intel XScale core’s PMU utility’s start and stop functions.

17.10.1.1Event and Clock Counting

This utility can be used to monitor clock counting and event counting in Intel XScale core’s PMU. It tells the user how many processor cycles are taken and how many times an event has occurred.

Programmer’s Guide

IXP400 Software Version 2.0

April 2005

 

Document Number: 252539, Revision: 007

253

Page 253
Image 253
Intel IXP400 manual API Usage for Intel XScale Core PMU, Event and Clock Counting