Add helpers for vcore_account_uptime()
authorKevin Klues <klueska@cs.berkeley.edu>
Sun, 1 Jun 2014 22:13:59 +0000 (15:13 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Sun, 1 Jun 2014 22:13:59 +0000 (15:13 -0700)
commit9093d191d4293a324c24feaecb32038ba4d4cb69
tree545684446e5a518d6f088c264ed1231d74be83c1
parent56f0e73abb541149fd1203a2c2004eef469f980b
Add helpers for vcore_account_uptime()

These helpers calculate the total uptime of the vcore, i.e. the time
that the vcore was held by the the MCP, excluding any time it was
unmapped.
user/parlib/include/vcore.h