diff options
author | Sherif Elhabbal <elhabbalsherif@gmail.com> | 2018-09-13 16:01:55 +0200 |
---|---|---|
committer | Sherif Elhabbal <elhabbalsherif@gmail.com> | 2018-09-14 09:41:41 +0000 |
commit | b1cb96672a7e32dcf341cb665a5676f046125dd9 (patch) | |
tree | c6637c4a8787649529d4dd354a5be66ff012c22a /src/sim/process.hh | |
parent | a1e5fccd64d5693d6209dbc5a9fc406648d74a5d (diff) | |
download | gem5-b1cb96672a7e32dcf341cb665a5676f046125dd9.tar.xz |
power: Add a clock_period variable to power expressions
Currently 'Clock period in ticks' stat is not accessible in power equations .
This patch adds a variable 'clock_period' to be referenced to get the Clock period in
ticks
Signed-off-by: Sherif Elhabbal <elhabbalsherif@gmail.com>
Change-Id: Icac6a2e2003ed75d1680180e53343b0203139d72
Reviewed-on: https://gem5-review.googlesource.com/12664
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/sim/process.hh')
0 files changed, 0 insertions, 0 deletions