events: Make trace events happen at the right priority.

Also, while we're at it, remember that priorities are in the Event class
and add a disable method to disable tracing.
This commit is contained in:
Nathan Binkert
2009-02-18 10:00:15 -08:00
parent 6cfff91d43
commit c41c9cf3a6
3 changed files with 9 additions and 3 deletions

View File

@@ -32,6 +32,9 @@ import util
from internal.trace import clear, output, set, ignore
def disable():
internal.trace.cvar.enabled = False
def enable():
internal.trace.cvar.enabled = True