Searched refs:ns (Results 1 - 2 of 2) sorted by relevance

/system/core/logd/tests/
H A Dlogd_test.cpp563 unsigned long ns[sizeof(benchmarks) / sizeof(benchmarks[0])]; local
565 memset(ns, 0, sizeof(ns));
568 for (unsigned i = 0; i < sizeof(ns) / sizeof(ns[0]); ++i) {
573 sscanf(cp, "%*s %lu %lu", &ns[i], &ns[i]);
574 fprintf(stderr, "%-22s%8lu\n", benchmarks[i], ns[i]);
588 EXPECT_GE(100000UL, ns[log_maximum_retry]); // 42777 user
590 EXPECT_GE(10000UL, ns[log_maximum_retr
[all...]
/system/core/toolbox/
H A Dschedtop.c38 #define NS_TO_S_D(ns) \
39 (uint32_t)((ns) / 1000000000), time_dp, ((uint32_t)((ns) % 1000000000) / time_div)

Completed in 57 milliseconds