org.powerapi.module.libpfm

LibpfmHelper

Related Doc: package libpfm

class LibpfmHelper extends Configuration

This object allows us to interact with the Libpfm library (C Library). We use jnaerator and bridj to create the binding.

See also

http://www.man7.org/linux/man-pages/man2/perf_event_open.2.html.

https://github.com/ochafik/nativelibs4java

Linear Supertypes
Configuration, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LibpfmHelper
  2. Configuration
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LibpfmHelper()

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def availablePMUS(): List[PMU]

    PMUs with theirs associated events detected on the processor.

    PMUs with theirs associated events detected on the processor. All the generic PMUs are removed because they used the specifics ones for the encoding.

  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def closePC(fd: Int): Boolean

    Close the performance counter represented by a file descriptor.

  8. val configurationPath: String

    Definition Classes
    Configuration
  9. def configurePC(identifier: Identifier, configuration: BitSet, name: String): Option[Int]

    Open a file descriptor with the given configuration options.

  10. def deinit(): Unit

    Deinit.

    Deinit. libpfm

  11. def disablePC(fd: Int): Boolean

    Disable the performance counter represented by a file descriptor.

  12. def enablePC(fd: Int): Boolean

    Enable the performance counter represented by a file descriptor.

  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. def init(): Boolean

    Init.

    Init. libpfm

  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. def load[T](request: (Config) ⇒ T): ConfigResult[T]

    Method to load a value from a configuration file.

    Method to load a value from a configuration file.

    Attributes
    protected
    Definition Classes
    Configuration
  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. lazy val nrPerfEventOpen: Int

  25. def readPC(fd: Int): Array[Long]

    Read the values from the performance counter represented by a file descriptor.

  26. def resetPC(fd: Int): Boolean

    Reset the performance counter represented by a file descriptor.

  27. def scale(now: Array[Long], old: Array[Long]): Option[Long]

    Allows to scale the values read from a performance counter by applying a ratio between the enabled/running times.

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Configuration

Inherited from AnyRef

Inherited from Any

Ungrouped