- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
processor celeron 1200
os xp embedded
I'm getting a very large CPI, when profiling an application; around 120. Is clocks ticks refering to total clock ticks(1,200,000,000 * sec) or only the clock ticks while my app is in context. Are cache misses included in this meaning a stall of 40 ticks will be added in. How does it account of device driver code that is run in an arbitrary context(my app).
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For purposes of calculating CPI, it is only referring to clockticks while you app is executing. Anything that affects execution of instructions will impact CPI so, yes, cache misses will increase the number of clock ticks it takes to execute the code.
Regarding driver code, you should ignore the Process and Thread views and look at the Module view for all processes and all threads since, as you point out, they are not relevant to drivers. In Options, you can specify that Modules should be the initial view of sampling data (and this is the default).

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page