sim: Move cur tick to its own files
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Sun, 17 Jan 2021 00:55:12 +0000 (21:55 -0300)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Wed, 3 Feb 2021 01:12:27 +0000 (01:12 +0000)
commit3bb86373ee0d8c82aee3c14fa8493252a223cee7
tree5c1336d32e0a7c8505df2b024f27d82b64b7e736
parent4ff5fa567bab2f848146386f2b1d1a3dfed9d0e2
sim: Move cur tick to its own files

When declared within sim/core.hh, unit tests that use the
current tick would have to unnecessarily include many other
extra files.

Change-Id: Ib4348312afb90765edb4f94c80785df1275b2004
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/39835
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
src/sim/SConscript
src/sim/core.cc
src/sim/core.hh
src/sim/cur_tick.cc [new file with mode: 0644]
src/sim/cur_tick.hh [new file with mode: 0644]