Derived metrics and related environment variables

In relation to the hardware events that are selected to be counted and the hardware platform that is used, the output for the hpm library tools and the hpmterminate function includes derived metrics.

You can list the globally supported metrics for a given processor with the pmlist -D -1 [-p Processor_name] command.

You can supply the following environment variables to specify estimations of memory, cache, and TLB miss latencies for the computation of related derived metrics:
  • HPM_MEM_LATENCY
  • HPM_L3_LATENCY
  • HPM_L35_LATENCY
  • HPM_AVG_L3_LATENCY
  • HPM_AVG_L2_LATENCY
  • HPM_L2_LATENCY
  • HPM_L25_LATENCY
  • HPM_L275_LATENCY
  • HPM_L1_LATENCY
  • HPM_TLB_LATENCY
Precedence is given to variables that are defined in the HPM_flags.env file.

You can use the HPM_DIV_WEIGHT environment variable to compute the weighted flips on systems that are POWER4 and later.