Change-Id: I493b16a0bdd01a4cef4891e273a376ebe9509fe8
Signed-off-by: Tiago Mück <tiago.muck@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/31266
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Reviewed-by: Matthew Poremba <matthew.poremba@amd.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
void error(std::string msg);
void assert(bool condition);
Cycles zero_time();
+Cycles intToCycles(int c);
NodeID intToID(int nodenum);
int IDToInt(NodeID id);
int addressToInt(Addr addr);
inline Cycles zero_time() { return Cycles(0); }
+inline Cycles intToCycles(int c) { return Cycles(c); }
+
inline NodeID
intToID(int nodenum)
{