HPCL / autoperf

MIT License
5 stars 2 forks source link

Missing variable META_CPU_HZ #20

Open rajansawhney opened 7 years ago

rajansawhney commented 7 years ago

Missing variable META_CPU_HZ

Error detail: For using derived metrics for AutoPerf (eg: autoperf/examples/derived) the autoperf.cfg uses FP_INEFFICIENT2 to evaluate the derived metrics

FP_INEFFICIENT2 contains: ((PAPI_FP_INS/PAPI_TOT_INS)(PAPI_RES_STL/PAPI_TOT_CYC))(PAPI_TOT_CYC/META_CPU_HZ)

Location of FP_INEFFICIENT2 = autoperf/autoperf/utils/metric_spec/ But META_CPU_HZ is unknown.

Steps to reproduce:

  1. Go to autoperf/example/derived
  2. make (to compile pi.c)
  3. autoperf (run autoperf)
  4. autoperf -y (-> error. META_CPU_HZ unknown)