Searched refs:delta_time (Results 1 – 9 of 9) sorted by relevance
181 struct timeval targ_time, cur_time, delta_time; in usbi_cond_timedwait() local197 timersub(&targ_time, &cur_time, &delta_time); in usbi_cond_timedwait()198 if(delta_time.tv_sec < 0) // abstime already passed? in usbi_cond_timedwait()201 millis = delta_time.tv_usec/1000; in usbi_cond_timedwait()202 millis += delta_time.tv_sec *1000; in usbi_cond_timedwait()203 if (delta_time.tv_usec % 1000) // round up to next millisecond in usbi_cond_timedwait()
113 float delta_time = time - last_time_; in apply() local120 if (delta_time > kEpsilon) { in apply()
296 float RotationForTimeDelta(float delta_time) { in RotationForTimeDelta() argument297 return delta_time * 40.0f; in RotationForTimeDelta()404 void SpinningCube::UpdateForTimeDelta(float delta_time) { in UpdateForTimeDelta() argument405 state_->angle_ += RotationForTimeDelta(delta_time) * fling_multiplier_; in UpdateForTimeDelta()
23 void UpdateForTimeDelta(float delta_time);
24 base::TimeDelta delta_time = (base::TimeTicks::Now() - last_process_time_); in TimeUntilNextProcess() local26 kMillisecondsBetweenProcessCalls - delta_time.InMilliseconds(); in TimeUntilNextProcess()
109 delta_time = end_time - start_time117 return delta_time, max_packets
25 int64 delta_time = (time - base::TimeTicks()).InMilliseconds(); in TickCountToString() local26 return base::Int64ToString(delta_time); in TickCountToString()
286 int64 delta_time = (time - base::TimeTicks()).InMilliseconds(); in TickCountToString() local287 return base::Int64ToString(delta_time); in TickCountToString()
1554 int delta_time = std::max(1, std::min(999, in QueryFilteredURLs() local1558 Add(delta_time), in QueryFilteredURLs()