HP Caliper User's Guide
branch Measurement Report Description
With the branch measurement, produced by the branch measurement configuration
file, HP Caliper measures and reports two levels of information:
• Exact counts of branch prediction metrics summed across the entire run of an
application
• Sampled branch prediction metrics that are associated with particular locations
in the application
The report shows measured data by thread, load module, function, statement, instruction
bundle, and instruction.
Command-line options allow you to control the amount of data reported, how the data
are sorted, and the number of statements and instructions reported for each sampled
program location.
Example Command Line for Text Report
$ caliper branch -o brp.txt ./wordplay thequickbrownfox
Example Command Line for CSV Report
$ caliper branch --csv csvout ./wordplay thequickbrownfox
branch Metrics Summed for Entire Run
This section describes the metrics summed over the entire run of your application under
HP Caliper.
Metrics for Integrity Servers Itanium 2 Systems
• BR_MISPRED_DETAIL.ALL.CORRECT_PRED
Number of branch predictions that did not require a back-end branch misprediction
flush, independent of predictor. A mismatch between the predicted and actual
values of the branch predicate or target results in a branch misprediction. Return
branches must additionally predict privilege level and previous function state.
• BR_MISPRED_DETAIL.ALL.WRONG_PATH
Number of branch mispredictions that resulted from a mismatch of the predicted
and actual values of the branch predicate, independent of predictor.
• BR_MISPRED_DETAIL.ALL.WRONG_TARGET
Number of branch mispredictions that resulted from a mismatch of the predicted
and actual values of the branch target, independent of predictor.
• Total Predictions
Total number of branch predictions.
• Percent Correct Predictions
Percentage of branch predictions that predicted correctly.
branch Measurement Report Description 227