Home
last modified time | relevance | path

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

/external/perfetto/ui/src/frontend/
Dtime_scale.ts29 private secPerPx = 0; property in TimeScale
39 this.secPerPx = this.timeBounds.duration / (this._endPx - this._startPx);
43 return Math.round(time / this.secPerPx);
47 return this._startPx + (time - this.timeBounds.start) / this.secPerPx;
51 return this.timeBounds.start + (px - this._startPx) * this.secPerPx;
55 return px * this.secPerPx;