Provide vcore timer ticks for 2LSs
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 23 Feb 2016 20:34:21 +0000 (15:34 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 2 May 2016 21:11:15 +0000 (17:11 -0400)
commit5c56afac332092d686ff76439b6bfef32787869c
tree128cfb98e51ad6f2c5b9d45b7e5c98be6e87db1f
parent613a6ad92985d4ab9f9ecdd874108262634cefd9
Provide vcore timer ticks for 2LSs

2LSs can now run their own timer ticks, which run in virtual time (the time
a vcore is online).  Each vcore can have its own independent tick.  The 2LS
needs to poll the tick in its sched_entry() 2LS op.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
user/benchutil/include/benchutil/vcore_tick.h [new file with mode: 0644]
user/benchutil/vcore_tick.c [new file with mode: 0644]