diff options
Diffstat (limited to 'src/base')
-rw-r--r-- | src/base/types.hh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/base/types.hh b/src/base/types.hh index 3105059ed..ba6d53ad7 100644 --- a/src/base/types.hh +++ b/src/base/types.hh @@ -51,13 +51,11 @@ typedef int64_t Counter; /** - * Clock cycle count type. - * @note using an unsigned breaks the cache. + * Tick count type. */ -typedef int64_t Tick; -typedef uint64_t UTick; +typedef uint64_t Tick; -const Tick MaxTick = LL(0x7fffffffffffffff); +const Tick MaxTick = ULL(0xffffffffffffffff); /** * Address type |