projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
023f6eb
)
sim: Flag EventQueue::getCurTick() as const
author
Andreas Sandberg
<andreas.sandberg@arm.com>
Fri, 7 Aug 2015 16:43:21 +0000
(17:43 +0100)
committer
Andreas Sandberg
<andreas.sandberg@arm.com>
Fri, 7 Aug 2015 16:43:21 +0000
(17:43 +0100)
src/sim/eventq.hh
patch
|
blob
|
history
diff --git
a/src/sim/eventq.hh
b/src/sim/eventq.hh
index 6f393fc338751ba2b2c20fe1427cb5267b2a7587..a73e4b9dcba552794e7ec2cb3863d448820d0255 100644
(file)
--- a/
src/sim/eventq.hh
+++ b/
src/sim/eventq.hh
@@
-566,7
+566,7
@@
class EventQueue : public Serializable
Tick nextTick() const { return head->when(); }
void setCurTick(Tick newVal) { _curTick = newVal; }
- Tick getCurTick() { return _curTick; }
+ Tick getCurTick()
const
{ return _curTick; }
Event *getHead() const { return head; }
Event *serviceOne();