Review Board 2.0.15


base: remove Trace::enabled flag

Review Request #3082 - Created Aug. 31, 2015 and submitted

Information
Curtis Dunham
gem5
default
Reviewers
Default

The DTRACE() macro tests both Trace::enabled and the specific flag. This
change uses the same administrative interface for enabling/disabling
tracing, but masks the SimpleFlags settings directly. This eliminates a
load for every DTRACE() test, e.g. DPRINTF.

This functionality was not and remains not threadsafe.

On ARM quick regressions, runtime reductions of up to 18% were observed.

Review request changed
Updated (Sept. 30, 2015, 2:10 p.m.)

Status: Closed (submitted)