Skip to content
This repository has been archived by the owner on Mar 11, 2019. It is now read-only.

libpfm core

Loïc Huertas edited this page May 29, 2015 · 4 revisions

Actor's timeout (optional)

  • The maximum time an actor can wait to receive a message.
  • Default value : 1s

Example

powerapi.actors.timeout = 10000ms

Topology

  • The topology of the processor. The index below correspond to the index of logical cores of your CPU (finding on /proc/cpuinfo)
  • Default value : Map()

Example

powerapi.cpu.topology = [
  { core = 0, indexes = [0, 4] }
  { core = 1, indexes = [1, 5] }
  { core = 2, indexes = [2, 6] }
  { core = 3, indexes = [3, 7] }
]

Enabled bits

  • List of enabled bits for the perf_event_open maccro. The bits to configure are described in the structure perf_event_attr available here.
  • Default value : List[Int]()

Example

powerapi.libpfm.configuration = [ 0, 1, 2, 10 ]

Events

  • List of event you want to monitor with libpfm.
  • Default value : Set[String]()

Example

powerapi.libpfm.events = [ "CPU_CLK_UNHALTED:THREAD_P", "CPU_CLK_UNHALTED:REF_P" ]