Home
last modified time | relevance | path

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

/frameworks/native/libs/binder/tests/
DbinderThroughputTest.cpp103 static const uint32_t num_buckets = 128; variable
105 static uint64_t time_per_bucket = max_time_bucket / num_buckets;
109 uint32_t m_buckets[num_buckets] = {0};
119 m_buckets[min((uint32_t)(time / time_per_bucket), num_buckets - 1)] += 1; in add_time()
127 for (int i = 0; i < num_buckets; i++) { in combine()
151 for (int i = 0; i < num_buckets; i++) { in dump()
325 time_per_bucket = max_time_bucket / num_buckets; in run_main()
384 time_per_bucket = max_time_bucket / num_buckets; in main()
/frameworks/native/libs/vr/libpdx_default_transport/
Dpdx_benchmarks.cpp912 const int num_buckets = 200; in ClientCommand() local
914 const uint64_t ns_per_bucket = sample_range_ns / num_buckets; in ClientCommand()
915 std::array<uint64_t, num_buckets> sample_buckets = {{0}}; in ClientCommand()
935 for (int i = 0; i < num_buckets; i++) { in ClientCommand()