Home
last modified time | relevance | path

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

/external/perfetto/ui/src/frontend/
Danimation.ts25 const nowMs = performance.now(); constant
28 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));
Draf_scheduler.ts46 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));
/external/webrtc/webrtc/modules/video_coding/
Dmedia_opt_util.cc471 VCMLossProtectionLogic::VCMLossProtectionLogic(int64_t nowMs) in VCMLossProtectionLogic() argument
489 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() argument
577 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 …]
Dcodec_timer.cc36 void VCMCodecTimer::MaxFilter(int32_t decodeTime, int64_t nowMs) { in MaxFilter() argument
38 UpdateMaxHistory(decodeTime, nowMs); in MaxFilter()
39 ProcessHistory(nowMs); in MaxFilter()
72 void VCMCodecTimer::ProcessHistory(int64_t nowMs) { in ProcessHistory() argument
81 if (nowMs - _history[i].timeMs > MAX_HISTORY_SIZE * SHORT_FILTER_MS) { in ProcessHistory()
Dmedia_opt_util.h227 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;
Dcodec_timer.h36 void MaxFilter(int32_t newDecodeTimeMs, int64_t nowMs);
46 void ProcessHistory(int64_t nowMs);
Dgeneric_decoder.cc143 int32_t VCMGenericDecoder::Decode(const VCMEncodedFrame& frame, int64_t nowMs) { in Decode() argument
146 _frameInfos[_nextFrameInfoIdx].decodeStartTimeMs = nowMs; in Decode()
Dgeneric_decoder.h79 int32_t Decode(const VCMEncodedFrame& inputFrame, int64_t nowMs);
/external/volley/src/main/java/com/android/volley/toolbox/
DRequestFuture.java115 long nowMs = SystemClock.uptimeMillis(); in doGet() local
116 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()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
DPlotStatistics.java80 long nowMs = System.currentTimeMillis(); in annotatePlot() local
82 long msSinceUpdate = (nowMs - lastAnnotation); in annotatePlot()
90 lastAnnotation = nowMs; in annotatePlot()
/external/perfetto/ui/src/controller/
Dtrace_controller.ts174 const nowMs = performance.now(); constant
175 if (nowMs - tLastUpdateMs > 100) {
176 tLastUpdateMs = nowMs;
178 const tElapsed = (nowMs - tStartMs) / 1e3;
/external/skia/infra/cts/
Drun_testlab.go232 nowMs := now.UnixNano() / int64(time.Millisecond)
233 runID := fmt.Sprintf(RUN_ID_TMPL, nowMs)
270 TS: nowMs,
/external/skqp/infra/cts/
Drun_testlab.go232 nowMs := now.UnixNano() / int64(time.Millisecond)
233 runID := fmt.Sprintf(RUN_ID_TMPL, nowMs)
270 TS: nowMs,