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.

Percent Wrong Paths

Percentage of branch predictions that mispredicted the branch predicate.

Percent Wrong Branch Targets

Percentage of branch predictions that mispredicted the branch target.

Metrics for Integrity Servers Dual-Core Itanium 2 and Itanium 9300 Quad-Core Processor Systems

BE_FLUSH_BUBBLE.ALL

Number of full-pipe bubbles in the main pipe due to either an exception/interruption or a branch misprediction flush.

BR_MISPRED_DETAIL.IPREL.CORRECT_PRED

Number of correctly predicted (outcome and target) IP-relative branches retired.

BR_MISPRED_DETAIL.IPREL.WRONG_PATH

Number of IP-relative branches mispredicted due to wrong branch direction.

BR_MISPRED_DETAIL.IPREL.WRONG_TARGET

Number of IP-relative branches mispredicted due to wrong target for taken branch.

BR_MISPRED_DETAIL.NRETIND.CORRECT_PRED

Number of correctly predicted (outcome and target) non-return indirect branches retired.

172 Descriptions of Measurement Reports

Page 172
Image 172
HP UX Caliper Software manual Branch Metrics Summed for Entire Run