HPM / Access

Index

Functions

LIKWID.HPM.add_threadMethod

Add the given CPU to the access module. This opens the commnunication to either the MSR/PCI files or the access daemon.

source
LIKWID.HPM.initMethod

Initialize the access module internals to either the MSR/PCI files or the access daemon

source
LIKWID.HPM.modeMethod

Sets the mode how the MSR and PCI registers should be accessed. Available options:

  • 0 or LibLikwid.ACCESSMODE_DIRECT: direct access (propably root priviledges required)
  • 1 or LibLikwid.ACCESSMODE_DAEMON: accesses through the access daemon

Must be called before HPM.init.

source