예제 #1
0
파일: time.c 프로젝트: Indigenous/linux-2.6
/*
 * clocksource
 */
static cycle_t read_cycles(struct clocksource *cs)
{
	struct timer_s *t = &timers[TID_CLOCKSOURCE];

	return (cycles_t)timer32_read(t);
}
예제 #2
0
/*
 * clocksource
 */
static cycle_t read_cycles(void)
{
	struct timer_s *t = &timers[TID_CLOCKSOURCE];

	return (cycles_t)timer32_read(t);
}
예제 #3
0
/*
 * Overwrite weak default sched_clock with something more precise
 */
static u32 notrace tci6614_read_sched_clock(void)
{
	return timer32_read(&timers[TID_CLOCKSOURCE]);
}