base,tests: Add a basic fake class to handle curTick
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Tue, 26 Jan 2021 23:28:35 +0000 (20:28 -0300)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Wed, 3 Feb 2021 01:12:27 +0000 (01:12 +0000)
commit0e4778833723c3b2f15b113f2c32a9eeb4b2cecb
treed521b1832d2e57abc27086b8157ab948d98dc741
parent3bb86373ee0d8c82aee3c14fa8493252a223cee7
base,tests: Add a basic fake class to handle curTick

Add this basic fake class that handles the initialization
and update of the current tick.

Change-Id: Iba8ecc049acdd097caa4d9cf05ac8d78bbaf03cc
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/39836
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/base/gtest/cur_tick_fake.hh [new file with mode: 0644]