Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/src/tuningfork/
Dprong.h47 void Tick(TimePoint t_ns) { in Tick() argument
49 Trace(t_ns - last_time_ns_); in Tick()
50 last_time_ns_ = t_ns; in Tick()
Dtuningfork.cpp168 void CheckForSubmit(TimePoint t_ns, Prong *prong);
170 bool ShouldSubmit(TimePoint t_ns, Prong *prong);
405 bool TuningForkImpl::ShouldSubmit(TimePoint t_ns, Prong *prong) { in ShouldSubmit() argument
410 return (t_ns - last_submit_time_ns_) >= in ShouldSubmit()
419 void TuningForkImpl::CheckForSubmit(TimePoint t_ns, Prong *prong) { in CheckForSubmit() argument
420 if (ShouldSubmit(t_ns, prong)) { in CheckForSubmit()
430 last_submit_time_ns_ = t_ns; in CheckForSubmit()