misc: Run pre-commit run --all-files

This is reflect the updates made to black when running `pre-commit
autoupdate`.

Change-Id: Ifb7fea117f354c7f02f26926a5afdf7d67bc5919
This commit is contained in:
Bobby R. Bruce
2023-10-09 12:40:48 -07:00
parent 317d2fb5b8
commit ddf6cb88e4
183 changed files with 120 additions and 175 deletions

View File

@@ -37,6 +37,7 @@ from m5.params import *
from m5.SimObject import SimObject
from m5.proxy import *
# Abstract clock domain
class ClockDomain(SimObject):
type = "ClockDomain"

View File

@@ -37,6 +37,7 @@ from m5.params import *
from m5.SimObject import SimObject
from m5.proxy import *
# The handler in its current form is design to be centeralized, one per system
# and manages all the source clock domains (SrcClockDomain) it is configured to
# handle. The specific voltage and frequency points are configured per clock

View File

@@ -39,6 +39,7 @@ import sys
from m5.params import *
from m5.objects.PowerState import PowerState
# A power domain groups multiple ClockedObjects and creates a
# hierarchy in which follower ClockedObjects (caches for example) can
# change power state depeding on what the leader objects (CPUs for

View File

@@ -38,6 +38,7 @@ from m5.SimObject import SimObject
from m5.params import *
from m5.proxy import *
# Enumerate set of allowed power states that can be used by a clocked object.
# The list is kept generic to express a base minimal set.
# State definition :-

View File

@@ -32,7 +32,6 @@ from m5.util import fatal
class Root(SimObject):
_the_instance = None
def __new__(cls, **kwargs):

View File

@@ -36,6 +36,7 @@
from m5.SimObject import SimObject
from m5.params import *
# An empty simobject. Used for organizing simobjects
# into logical groups as subsystems of a larger
# system. For example, if we wanted to build a cpu cluster

View File

@@ -37,6 +37,7 @@ from m5.SimObject import SimObject
from m5.params import *
from m5.objects.PowerModelState import PowerModelState
# Represents a power model for a simobj
class MathExprPowerModel(PowerModelState):
type = "MathExprPowerModel"

View File

@@ -37,6 +37,7 @@ from m5.SimObject import *
from m5.params import *
from m5.proxy import Parent
# Enum for a type of power model
class PMType(Enum):
vals = ["All", "Static", "Dynamic"]

View File

@@ -36,6 +36,7 @@
from m5.SimObject import *
from m5.params import *
# Represents a power model for a simobj
class PowerModelState(SimObject):
type = "PowerModelState"

View File

@@ -36,6 +36,7 @@
from m5.SimObject import *
from m5.params import *
# Represents a group of simobj which produce heat
class ThermalDomain(SimObject):
type = "ThermalDomain"