Home
last modified time | relevance | path

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

/external/perfetto/ui/src/frontend/
Dtime_scale.ts28 private secPerPx = 0; property in TimeScale
38 this.secPerPx = this.timeBounds.duration / (this._endPx - this._startPx);
42 return Math.round(time / this.secPerPx);
46 return this._startPx + (time - this.timeBounds.start) / this.secPerPx;
50 return this.timeBounds.start + (px - this._startPx) * this.secPerPx;
54 return px * this.secPerPx;