/* Return a clock value for the specified clock.  */
ulong clock_get(enum clock clck)
/* Return a clock value for the specified clock.  */
ulong clock_get(enum clock clck)
{
	ulong res = 0;
	if (clck >= 0 && clck < CLOCK_END) {
		res = clock[clck];
	}
	return res;
}