summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2017-04-10 18:31:28 -0700
committerGeorg Veichtlbauer <georg@vware.at>2023-07-26 21:01:08 +0200
commite9a289d1ffa72a1d9cc16b8e2c14479f9306f3e4 (patch)
tree53baf6c090f41ff7e386e76e53dba8641c51d7ce /tools/perf/scripts/python
parentc0480aef1077795f97414ff7f73f32a4f8e682d8 (diff)
ANDROID: sched/walt: make walt_ktime_suspended __read_mostly
Most walt variables in hot code paths are __read_mostly and grouped together in the .data section, including these variables that show up as frequently accessed in gem5 simulation: walt_ravg_window, walt_disabled, walt_account_wait_time, and walt_freq_account_wait_time. The exception is walt_ktime_suspended, which is also accessed in many of the same hot paths. It is also almost entirely accessed by reads. Move it to __read_mostly in hopes of keeping it in the same cache line as the other hot data. Change-Id: I8c9e4ee84e5a0328b943752ee9ed47d4e006e7de Signed-off-by: Todd Poynor <toddpoynor@google.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions