What you've learned

You should now know how to:

  • Understand different options for accessing counters from user space
  • Use the system counter to measure time in code
  • Use PAPI to instrument event counters in code
  • Use the Linux perf_event_open system call to instrument event counters in code

Knowledge Check

The performance monitoring unit (PMU) can be accessed from user space by default.

Which of the following is not an option for accessing HW counters

CPUs typically support a limited number of event counters.


Back
Next