misc: Run pre-commit run --all-files
This ensures `isort` is applied to all files in the repo. Change-Id: Ib7ced1c924ef1639542bf0d1a01c5737f6ba43e9
This commit is contained in:
@@ -42,6 +42,7 @@ import m5
|
||||
|
||||
# import all of the SimObjects
|
||||
from m5.objects import *
|
||||
|
||||
from gem5.runtime import get_runtime_isa
|
||||
|
||||
# Add the common scripts to our path
|
||||
|
||||
@@ -37,9 +37,11 @@ IMPORTANT: If you modify this file, it's likely that the Learning gem5 book
|
||||
import math
|
||||
|
||||
from m5.defines import buildEnv
|
||||
from m5.util import fatal, panic
|
||||
|
||||
from m5.objects import *
|
||||
from m5.util import (
|
||||
fatal,
|
||||
panic,
|
||||
)
|
||||
|
||||
|
||||
class MyCacheSystem(RubySystem):
|
||||
|
||||
@@ -39,9 +39,11 @@ IMPORTANT: If you modify this file, it's likely that the Learning gem5 book
|
||||
import math
|
||||
|
||||
from m5.defines import buildEnv
|
||||
from m5.util import fatal, panic
|
||||
|
||||
from m5.objects import *
|
||||
from m5.util import (
|
||||
fatal,
|
||||
panic,
|
||||
)
|
||||
|
||||
|
||||
class MyCacheSystem(RubySystem):
|
||||
|
||||
@@ -33,14 +33,14 @@ IMPORTANT: If you modify this file, it's likely that the Learning gem5 book
|
||||
|
||||
"""
|
||||
|
||||
from test_caches import TestCacheSystem
|
||||
|
||||
# import the m5 (gem5) library created when gem5 is built
|
||||
import m5
|
||||
|
||||
# import all of the SimObjects
|
||||
from m5.objects import *
|
||||
|
||||
from test_caches import TestCacheSystem
|
||||
|
||||
# create the system we are going to simulate
|
||||
system = System()
|
||||
|
||||
|
||||
@@ -34,12 +34,15 @@ IMPORTANT: If you modify this file, it's likely that the Learning gem5 book
|
||||
|
||||
"""
|
||||
|
||||
from msi_caches import (
|
||||
DirController,
|
||||
L1Cache,
|
||||
MyNetwork,
|
||||
)
|
||||
|
||||
from m5.defines import buildEnv
|
||||
from m5.util import fatal
|
||||
|
||||
from m5.objects import *
|
||||
|
||||
from msi_caches import L1Cache, DirController, MyNetwork
|
||||
from m5.util import fatal
|
||||
|
||||
|
||||
class TestCacheSystem(RubySystem):
|
||||
|
||||
Reference in New Issue
Block a user