- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to calculate cycles count for a function using vtune analyser.
My main concern is how to calculate the Cycles count for the stall period ..
Thanks in Advance
sumit
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The VTune analyzer does not measure the number of cycles that every instruction takes. That would cause your code to run at about 1/1000 the speed it normally runs! :-( Instead, it periodically notes where the processor is executing code and gives you a statistically accurate representation of where the processor is spending it's time. This means your code runs at almost full speed (we say <5% overhead for sampling).
On the Intel Core2 processor family, using the VTune analyzer, you can roughly calculate stalls due to cache misses. See this paper for more info.
On the Intel Core2 processor family, using the VTune analyzer, you can roughly calculate stalls due to cache misses. See this paper for more info.
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