Searched refs:nowMs (Results 1 – 14 of 14) sorted by relevance
25 const nowMs = performance.now(); constant28 if (nowMs <= this.endMs) {29 this.endMs = nowMs + durationMs;32 this.startMs = nowMs;33 this.endMs = nowMs + durationMs;46 private onAnimationFrame(nowMs: number) {47 if (nowMs >= this.endMs) {51 this.onAnimationStep(Math.max(Math.round(nowMs - this.startMs), 0));
46 export type ActionCallback = (nowMs: number) => void;47 export type RedrawCallback = (nowMs: number) => void;108 syncDomRedraw(nowMs: number) {110 this._syncDomRedraw(nowMs);116 private syncCanvasRedraw(nowMs: number) {120 for (const redraw of this.canvasRedrawCallbacks) redraw(nowMs);135 private onAnimationFrame(nowMs: number) {144 for (const action of this.actionCallbacks) action(nowMs);148 if (doFullRedraw) this.syncDomRedraw(nowMs);150 const canvasTime = measure(() => this.syncCanvasRedraw(nowMs));
471 VCMLossProtectionLogic::VCMLossProtectionLogic(int64_t nowMs) in VCMLossProtectionLogic() argument489 Reset(nowMs); in VCMLossProtectionLogic()551 uint8_t VCMLossProtectionLogic::MaxFilteredLossPr(int64_t nowMs) const { in MaxFilteredLossPr()560 if (nowMs - _lossPrHistory[i].timeMs > in MaxFilteredLossPr()573 uint8_t VCMLossProtectionLogic::FilteredLoss(int64_t nowMs, in FilteredLoss() argument577 UpdateMaxLossHistory(lossPr255, nowMs); in FilteredLoss()580 _lossPr255.Apply(static_cast<float>(nowMs - _lastPrUpdateT), in FilteredLoss()582 _lastPrUpdateT = nowMs; in FilteredLoss()594 filtered_loss = MaxFilteredLossPr(nowMs); in FilteredLoss()610 int64_t nowMs) { in UpdatePacketsPerFrame() argument[all …]
36 void VCMCodecTimer::MaxFilter(int32_t decodeTime, int64_t nowMs) { in MaxFilter() argument38 UpdateMaxHistory(decodeTime, nowMs); in MaxFilter()39 ProcessHistory(nowMs); in MaxFilter()72 void VCMCodecTimer::ProcessHistory(int64_t nowMs) { in ProcessHistory() argument81 if (nowMs - _history[i].timeMs > MAX_HISTORY_SIZE * SHORT_FILTER_MS) { in ProcessHistory()
227 explicit VCMLossProtectionLogic(int64_t nowMs);260 void UpdatePacketsPerFrame(float nPackets, int64_t nowMs);266 void UpdatePacketsPerFrameKey(float nPackets, int64_t nowMs);324 uint8_t FilteredLoss(int64_t nowMs,328 void Reset(int64_t nowMs);335 uint8_t MaxFilteredLossPr(int64_t nowMs) const;
36 void MaxFilter(int32_t newDecodeTimeMs, int64_t nowMs);46 void ProcessHistory(int64_t nowMs);
143 int32_t VCMGenericDecoder::Decode(const VCMEncodedFrame& frame, int64_t nowMs) { in Decode() argument146 _frameInfos[_nextFrameInfoIdx].decodeStartTimeMs = nowMs; in Decode()
79 int32_t Decode(const VCMEncodedFrame& inputFrame, int64_t nowMs);
115 long nowMs = SystemClock.uptimeMillis(); in doGet() local116 long deadlineMs = nowMs + timeoutMs; in doGet()117 while (!isDone() && nowMs < deadlineMs) { in doGet()118 wait(deadlineMs - nowMs); in doGet()119 nowMs = SystemClock.uptimeMillis(); in doGet()
80 long nowMs = System.currentTimeMillis(); in annotatePlot() local82 long msSinceUpdate = (nowMs - lastAnnotation); in annotatePlot()90 lastAnnotation = nowMs; in annotatePlot()
174 const nowMs = performance.now(); constant175 if (nowMs - tLastUpdateMs > 100) {176 tLastUpdateMs = nowMs;178 const tElapsed = (nowMs - tStartMs) / 1e3;
232 nowMs := now.UnixNano() / int64(time.Millisecond)233 runID := fmt.Sprintf(RUN_ID_TMPL, nowMs)270 TS: nowMs,
META-INF/MANIFEST.MF org/jetbrains/kotlin/utils/JavaSdkUtil.class JavaSdkUtil ...