problem about likwid-Collection of common programming errors


  • Charles
    java optimization assembly likwid
    I have an unusual case where I’m examining a relatively trivial Java which should have well predicted branching behavior, but likwid-perfctr reports a huge (50%) branch mispredict rate. However, the runtime is not consistent with that misprediction rate (CPI is very low, at ~0.3, and stalls on the front and back end are low). A similar C++ program suffers no mispredicts but actually has a slightly longer runtime.It seems that the discrepancy is in BR_MISP_RETIRED_ALL_BRANCHES versus BR_MISP_EX

Web site is in building