Searched refs:toNsecs (Results 1 – 2 of 2) sorted by relevance
/hardware/qcom/sm7250/display/libhistogram/ |
D | ringbuffer_test.cpp | 27 nsecs_t toNsecs(std::chrono::duration<Rep, Per> time) { in toNsecs() function 43 void tick() { fake_time = fake_time + toNsecs(1ms); } in tick() 240 std::tie(numFrames, bins) = rb->collect_after(toNsecs(1500us)); in TEST_F() 244 std::tie(numFrames, bins) = rb->collect_after(toNsecs(45000us)); in TEST_F() 262 std::tie(numFrames, bins) = rb->collect_after(toNsecs(3ms)); in TEST_F() 290 std::tie(numFrames, bins) = rb->collect_max_after(toNsecs(1500us), 1); in TEST_F() 294 std::tie(numFrames, bins) = rb->collect_max_after(toNsecs(2500us), 0); in TEST_F() 298 std::tie(numFrames, bins) = rb->collect_max_after(toNsecs(10ms), 100); in TEST_F() 302 std::tie(numFrames, bins) = rb->collect_max_after(toNsecs(0ns), 10); in TEST_F() 310 std::tie(numFrames, bins) = rb->collect_max_after(toNsecs(500us), 1); in TEST_F() [all …]
|
/hardware/qcom/sm8150/display/libhistogram/ |
D | ringbuffer_test.cpp | 27 nsecs_t toNsecs(std::chrono::duration<Rep, Per> time) { in toNsecs() function 43 void tick() { fake_time = fake_time + toNsecs(1ms); } in tick() 241 std::tie(numFrames, bins) = rb->collect_after(toNsecs(1500us)); in TEST_F() 245 std::tie(numFrames, bins) = rb->collect_after(toNsecs(45000us)); in TEST_F() 263 std::tie(numFrames, bins) = rb->collect_after(toNsecs(3ms)); in TEST_F() 291 std::tie(numFrames, bins) = rb->collect_max_after(toNsecs(1500us), 1); in TEST_F() 295 std::tie(numFrames, bins) = rb->collect_max_after(toNsecs(2500us), 0); in TEST_F() 299 std::tie(numFrames, bins) = rb->collect_max_after(toNsecs(10ms), 100); in TEST_F() 303 std::tie(numFrames, bins) = rb->collect_max_after(toNsecs(0ns), 10); in TEST_F() 311 std::tie(numFrames, bins) = rb->collect_max_after(toNsecs(500us), 1); in TEST_F() [all …]
|