Home
last modified time | relevance | path

Searched refs:tbu0 (Results 1 – 2 of 2) sorted by relevance

/external/fio/arch/
Darch-ppc.h66 unsigned int tbl, tbu0, tbu1; in get_cpu_clock() local
71 tbu0 = mfspr(SPRN_ATBU); in get_cpu_clock()
75 tbu0 = mfspr(SPRN_TBRU); in get_cpu_clock()
79 } while (tbu0 != tbu1); in get_cpu_clock()
81 ret = (((unsigned long long)tbu0) << 32) | tbl; in get_cpu_clock()
/external/google-benchmark/src/
Dcycleclock.h78 int64_t tbl, tbu0, tbu1; in Now()
79 asm("mftbu %0" : "=r"(tbu0)); in Now()
82 tbl &= -static_cast<int64>(tbu0 == tbu1); in Now()