Home
last modified time | relevance | path

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

/frameworks/native/libs/vr/libpdx_default_transport/
Dpdx_benchmarks.cpp585 std::vector<uint64_t> latency_samples_ns( in ClientCommand() local
630 &latency_samples_ns[samples_per_thread * thread_id]; in ClientCommand()
885 *std::min_element(latency_samples_ns.begin(), latency_samples_ns.end()); in ClientCommand()
890 *std::max_element(latency_samples_ns.begin(), latency_samples_ns.end()); in ClientCommand()
895 std::accumulate(latency_samples_ns.begin(), latency_samples_ns.end(), 0.0, in ClientCommand()
900 total_sample_time_s / latency_samples_ns.size(); in ClientCommand()
903 latency_samples_ns.begin(), latency_samples_ns.end(), 0.0, in ClientCommand()
909 const double variance = sum_of_squared_deviations / latency_samples_ns.size(); in ClientCommand()
918 for (uint64_t sample_ns : latency_samples_ns) { in ClientCommand()
924 static_cast<uint64_t>(latency_samples_ns.size() * 0.5); in ClientCommand()
[all …]