diff options
author | Jose Marinho <jose.marinho@arm.com> | 2017-07-20 14:57:39 +0100 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2017-11-21 17:09:18 +0000 |
commit | 760cc5735f48f3a5a52ebe31df0c039b23c3d611 (patch) | |
tree | da4103b240221359838888467ac4f12544acc2c5 /src/cpu/minor/pipeline.hh | |
parent | 00232a868e4816d19c129fb3d6ef5519d7176d5a (diff) | |
download | gem5-760cc5735f48f3a5a52ebe31df0c039b23c3d611.tar.xz |
cpu, cpu, sim: move Cycle probe update
Move the code responsible for performing the actual probe point notify
into BaseCPU. Use BaseCPU activateContext and suspendContext to keep
track of sleep cycles. Create a probe point (ppActiveCycles) that does
not count cycles where the processor was asleep. Rename ppCycles
to ppAllCycles to reflect its nature.
Change-Id: I1907ddd07d0ff9f2ef22cc9f61f5f46c630c9d66
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/5762
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'src/cpu/minor/pipeline.hh')
-rw-r--r-- | src/cpu/minor/pipeline.hh | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/cpu/minor/pipeline.hh b/src/cpu/minor/pipeline.hh index 9b6ca0d32..ca96d50cb 100644 --- a/src/cpu/minor/pipeline.hh +++ b/src/cpu/minor/pipeline.hh @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2014 ARM Limited + * Copyright (c) 2013-2014, 2017 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall @@ -126,11 +126,6 @@ class Pipeline : public Ticked * stages and pipeline advance) */ void evaluate() override; - void countCycles(Cycles delta) override - { - cpu.ppCycles->notify(delta); - } - void minorTrace() const; /** Functions below here are BaseCPU operations passed on to pipeline |