13.07.2015 Views

Intel® 64 and IA-32 Architectures Optimization Reference Manual

Intel® 64 and IA-32 Architectures Optimization Reference Manual

Intel® 64 and IA-32 Architectures Optimization Reference Manual

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

USING PERFORMANCE MONITORING EVENTSMetricBranches RetiredTagged MispredictedBranches RetiredMispredicted BranchesRetiredMisprediction RatioAll returnsAll indirect branchesAll callsMispredicted returnsAll conditionalsMispredicted indirectbranchesTable B-2. Performance Metrics - BranchingDescriptionAll branch instructionsexecuted tocompletionCounts number ofretired branchinstructionsmispredictedThis stat can be usedwith precise eventbasedsampling.Mispredicted branchinstructions executedto completionThis stat is often usedin a per-instructionratio.Misprediction rate perbranchNumber of returnbranchesAll returns <strong>and</strong> indirectcalls <strong>and</strong> indirect jumpsAll direct <strong>and</strong> indirectcallsNumber ofmispredicted returnsincluding all causesNumber of branchesthat are conditionaljumpsThis may overcount ifthe branch is frombuild mode or there isa machine clear nearthe branch.All mispredictedreturns <strong>and</strong> indirectcalls <strong>and</strong> indirect jumpsEvent Name or MetricExpressionBranch_retiredReplay_event; set thefollowing replay tag:Tagged_mispred_branchMispred_branch_retired(Mispredicted branchesretired) /(Branchesretired)retired_branch_typeretired_branch_typeretired_branch_typeretired_mispred_branch_typeretired_branch_typeretired_mispred_branch_typeEvent Mask ValueRequiredMMTM | MMNM | MMTP| MMNPNBOGUSNBOGUSRETURNINDIRECTCALLRETURNCONDITIONALINDIRECTB-8

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!