Ejemplo n.º 1
0
benchmark_timer_t benchmark_timer_read(void)
{
  return ppc_alternate_time_base() - benchmark_timer_base;
}
Ejemplo n.º 2
0
static uint32_t qoriq_clock_get_timecount(struct timecounter *tc)
{
  return ppc_alternate_time_base();
}
Ejemplo n.º 3
0
void benchmark_timer_initialize(void)
{
  benchmark_timer_base = ppc_alternate_time_base();
}