This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Measuring performance of programs on the FVP Corstone SSE-300

Hi, is it still possible to measure cycle number in FVP? (cycle number reported by the PMU_CCNTR register using the has_pmu parameter).

Parents
  • Yes, the "has_pmu" parameter has been removed from the ARMCortexM55CT component (which is used in FVP Corstone SSE-300) since version 11.22 because keeping this parameter is misleading. See below. 

    developer.arm.com/.../ARMCortexM55CT

    Changes in 11.22.14
    
    Parameters removed:
    * has_pmu

    This change enables the M55 component to match the same IP configuration as the hardware i.e. if the DBGLVL parameter is set to non zero, PMU is present. By default, "cpu0.DBGLVL" is set to 2 in FVP Corstone SSE-300 so PMU is present.

    BTW, as Ronan mentioned, FVPs are not cycle accurate (see the link below) so the values are inaccurate.

    https://developer.arm.com/documentation/100964/1122/About-the-models/Model-capabilities?lang=en

    And, not all the PMU event counters are implemented in the models so some of them only show zero although the PMU registers exist in the models. These registers only exist to not break software (if they don't exist, you may see a fault).

Reply
  • Yes, the "has_pmu" parameter has been removed from the ARMCortexM55CT component (which is used in FVP Corstone SSE-300) since version 11.22 because keeping this parameter is misleading. See below. 

    developer.arm.com/.../ARMCortexM55CT

    Changes in 11.22.14
    
    Parameters removed:
    * has_pmu

    This change enables the M55 component to match the same IP configuration as the hardware i.e. if the DBGLVL parameter is set to non zero, PMU is present. By default, "cpu0.DBGLVL" is set to 2 in FVP Corstone SSE-300 so PMU is present.

    BTW, as Ronan mentioned, FVPs are not cycle accurate (see the link below) so the values are inaccurate.

    https://developer.arm.com/documentation/100964/1122/About-the-models/Model-capabilities?lang=en

    And, not all the PMU event counters are implemented in the models so some of them only show zero although the PMU registers exist in the models. These registers only exist to not break software (if they don't exist, you may see a fault).

Children