fr.inria.powerapi

core

package core

Visibility
  1. Public
  2. All

Type Members

  1. class Clock extends Component with ClockConfiguration

    Clock component, that "tick" the event bus following a configured period.

  2. trait ClockConfiguration extends Configuration

    Clock configuration.

  3. trait Component extends Actor with ActorLogging

    Base trait for each PowerAPI module, also called Component.

  4. trait Configuration extends Component

    Base trait dealing with configuration files using the Typesafe Config library.

  5. trait DevicedMessage extends Message

    Kind of message when it is related to a specific hardware device.

  6. case class Energy (power: Double) extends Product with Serializable

    Energy information wrapper.

  7. trait EnergyModule extends Component

    Base trait for each PowerAPI energy module, typically composed by a sensor and a formula.

  8. trait Formula extends EnergyModule

    Base trait for each PowerAPI formula.

  9. trait FormulaMessage extends TickedMessage with DevicedMessage

    Base trait for each Formula message.

  10. trait Listener extends Component

    Base trait for each PowerAPI listener.

  11. trait Message extends AnyRef

    Base trait for each PowerAPI message.

  12. case class Process (pid: Int) extends Product with Serializable

    System process wrapper.

  13. trait ProcessedMessage extends TickedMessage with DevicedMessage

    Base trait for each ProcessedMessage

  14. trait Processor extends Component

    Base trait for each PowerAPI processor.

  15. trait Reporter extends Listener

    Base trait for each PowerAPI reporter.

  16. trait Sensor extends EnergyModule

    Base trait for each PowerAPI sensor.

  17. trait SensorMessage extends TickedMessage

    Base trait for each Sensor message.

  18. case class Tick (subscription: TickSubscription, timestamp: Long) extends Message with Ordering[Tick] with Product with Serializable

    Each PowerAPI's request is created according to a specific time period.

  19. case class TickIt (subscription: TickSubscription) extends Message with Product with Serializable

    Clock's messages definition.

  20. case class TickSubscription (process: Process, duration: Duration) extends Product with Serializable

    In addition to a specific Listener, each PowerAPI request is composed by: - a process - a time period or computation duration Thus, a TickSubscription represents this PowerAPI request composition.

  21. trait TickedMessage extends Message

    Kind of message when it is related to a specific Tick.

  22. case class UnTickIt (subscription: TickSubscription) extends Message with Product with Serializable

Value Members

  1. object Energy extends Serializable

    Energy class companion object providing factories to instantiate energy wrapper objects.

  2. object MessagesToListen extends Message

    Request to have the array of Messages that a Component have to listen.