lisa.energy_model.ActiveState#

class lisa.energy_model.ActiveState(capacity=None, power=None)[source]#

Bases: tuple

Represents power and compute capacity at a given frequency

Represents power and compute capacity at a given frequency

Attributes

__match_args__

capacity

Alias for field number 0.

power

Alias for field number 1.

Methods

__new__()

Create new instance of _ActiveState(capacity, power).

Attributes#

ActiveState.__match_args__ = ('capacity', 'power')#
ActiveState.capacity: float | None#

Relative compute capacity at frequency.

ActiveState.power: float | None#

Power usage at frequency.

Methods#

static ActiveState.__new__(cls, capacity=None, power=None)[source]#

Create new instance of _ActiveState(capacity, power)