Home
last modified time | relevance | path

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

/frameworks/native/libs/vr/libpdx_default_transport/
Dpdx_benchmarks.cpp915 std::array<uint64_t, num_buckets> sample_buckets = {{0}}; in ClientCommand() local
919 sample_buckets[(sample_ns - min_sample_time_ns) / (ns_per_bucket + 1)] += 1; in ClientCommand()
943 (sample_count + sample_buckets[i]) >= percent_50) { in ClientCommand()
947 (sample_count + sample_buckets[i]) >= percent_90) { in ClientCommand()
951 (sample_count + sample_buckets[i]) >= percent_95) { in ClientCommand()
955 (sample_count + sample_buckets[i]) >= percent_99) { in ClientCommand()
958 sample_count += sample_buckets[i]; in ClientCommand()