// GetTime implements Clocks.GetTime.
GetTime implements Clocks.GetTime.
// GetTime implements Clocks . GetTime .
func (c *CalibratedClocks) GetTime(id ClockID) (int64, error) {
	switch id {
	case Monotonic:
		return c.monotonic.GetTime()
	case Realtime:
		return c.realtime.GetTime()
	default:
		return 0, syserror.EINVAL
	}
}
func ( c * CalibratedClocks ) GetTime ( id ClockID ) ( int64 , error ) { switch id { case Monotonic : return c . monotonic . GetTime ( ) case Realtime : return c . realtime . GetTime ( ) default : return 0 , syserror . EINVAL } }
GetTime implements Clocks.GetTime.
GetTime implements Clocks . GetTime .