Add top process averness

This commit is contained in:
Bugra Onal 2022-08-18 20:35:02 -07:00
parent efd6da5300
commit f0a4665953
3 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,8 @@ if len(args) != 2:
print(USAGE)
sys.exit(2)
OPTS.top_process = 'memchar'
# These depend on arguments, so don't load them until now.
import debug

View File

@ -28,6 +28,8 @@ if len(args) != 3:
print(USAGE)
sys.exit(2)
OPTS.top_process = 'memfunc'
# Parse argument
config_file = args[0]
cycles = int(args[1])

View File

@ -27,6 +27,8 @@ if len(args) != 1:
print(g.USAGE)
sys.exit(2)
# Set top process to openram
OPTS.top_process = 'openram'
# These depend on arguments, so don't load them until now.
import debug