- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The software optimization cookbook,chapter 7 show us how to calculate the mispredicted branches retired,
but I still have one question about it.
the book
1.Vtune windows has the ratio"Branch Misprediction per Branch Instruction Retired is 0.255 for functio check_3dd,
but Vtune Linux only show the function "check_3odd" occupy 88% total Branch mispredictedion. and no this option in the activity configuration / ratios
2.so I have to calculateratio by myself, "Branch Misprediction per Branch Instruction Retired=BR_INST_RETIRED.MISPRED / BR_INST_RETIRED.ANY"??
but I still have one question about it.
the book
1.Vtune windows has the ratio"Branch Misprediction per Branch Instruction Retired is 0.255 for functio check_3dd,
but Vtune Linux only show the function "check_3odd" occupy 88% total Branch mispredictedion. and no this option in the activity configuration / ratios
2.so I have to calculateratio by myself, "Branch Misprediction per Branch Instruction Retired=BR_INST_RETIRED.MISPRED / BR_INST_RETIRED.ANY"??
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - softarts
The software optimization cookbook,chapter 7 show us how to calculate the mispredicted branches retired,
but I still have one question about it.
the book
1.Vtune windows has the ratio"Branch Misprediction per Branch Instruction Retired is 0.255 for functio check_3dd,
but Vtune Linux only show the function "check_3odd" occupy 88% total Branch mispredictedion. and no this option in the activity configuration / ratios
2.so I have to calculateratio by myself, "Branch Misprediction per Branch Instruction Retired=BR_INST_RETIRED.MISPRED / BR_INST_RETIRED.ANY"??
but I still have one question about it.
the book
1.Vtune windows has the ratio"Branch Misprediction per Branch Instruction Retired is 0.255 for functio check_3dd,
but Vtune Linux only show the function "check_3odd" occupy 88% total Branch mispredictedion. and no this option in the activity configuration / ratios
2.so I have to calculateratio by myself, "Branch Misprediction per Branch Instruction Retired=BR_INST_RETIRED.MISPRED / BR_INST_RETIRED.ANY"??
There is no difference in calculating the branch misprediction ratio on Windows and Linux. So, if there is no such a ratio in VTune for Linux (which I can't check at the moment), you can calculate it manually (i.e. using Excel spreadsheet). Was that the question?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Vladimir Tsymbal (Intel)
There is no difference in calculating the branch misprediction ratio on Windows and Linux. So, if there is no such a ratio in VTune for Linux (which I can't check at the moment), you can calculate it manually (i.e. using Excel spreadsheet). Was that the question?
no,just curious that no this ratio on Linux,but Windows has.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - softarts
no,just curious that no this ratio on Linux,but Windows has.

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