Home
last modified time | relevance | path

Searched refs:Timestamp (Results 1 – 25 of 71) sorted by relevance

123

/development/tools/winscope/src/common/time/
Dtime.ts20 constructor(readonly from: Timestamp, readonly to: Timestamp) {}
22 containsTimestamp(ts: Timestamp): boolean {
35 format(timestamp: Timestamp, type: TimestampFormatType): string;
43 export class Timestamp { class
67 add(n: bigint): Timestamp {
68 return new Timestamp(this.getValueNs() + n, this.formatter);
71 minus(n: bigint): Timestamp {
72 return new Timestamp(this.getValueNs() - n, this.formatter);
75 times(n: bigint): Timestamp {
76 return new Timestamp(this.getValueNs() * n, this.formatter);
[all …]
Dtimestamp_converter.ts21 Timestamp,
45 format(timestamp: Timestamp, type: TimestampFormatType): string {
69 format(timestamp: Timestamp): string {
93 makeTimestampFromRealNs(valueNs: bigint): Timestamp;
94 makeTimestampFromMonotonicNs(valueNs: bigint): Timestamp;
95 makeTimestampFromBootTimeNs(valueNs: bigint): Timestamp;
96 makeZeroTimestamp(): Timestamp;
100 makeTimestampFromHuman(timestampHuman: string): Timestamp;
102 makeTimestampFromNs(valueNs: bigint): Timestamp;
107 makeTimestampFromBootTimeNs(valueNs: bigint): Timestamp;
[all …]
Dtest_utils.ts17 import {Timestamp, TimezoneInfo} from 'common/time/time';
53 makeRealTimestamp(valueNs: bigint): Timestamp {
57 makeRealTimestampWithUTCOffset(valueNs: bigint): Timestamp {
63 makeElapsedTimestamp(valueNs: bigint): Timestamp {
69 makeZeroTimestamp(): Timestamp {
75 timestamp: Timestamp,
76 expectedTimestamp: Timestamp,
89 if (first instanceof Timestamp && second instanceof Timestamp) {
Dtimestamp_utils.ts17 import {Timestamp} from 'common/time/time';
86 static compareFn(a: Timestamp, b: Timestamp): number {
90 static min(ts1: Timestamp, ts2: Timestamp): Timestamp {
98 static max(ts1: Timestamp, ts2: Timestamp): Timestamp {
/development/tools/winscope/src/test/unit/
Dparser_builder.ts18 import {Timestamp} from 'common/time/time';
30 private timestamps?: Timestamp[];
46 setTimestamps(timestamps: Timestamp[]): this {
106 private createTimestamps(entries: T[]): Timestamp[] {
107 const timestamps = new Array<Timestamp>();
114 private createEntries(timestamps: Timestamp[]): T[] {
Dtrace_utils.ts17 import {Timestamp} from 'common/time/time';
28 static extractTimestamps<T>(trace: Trace<T>): Timestamp[] {
29 const timestamps = new Array<Timestamp>();
/development/tools/winscope/src/app/components/timeline/
Dtimeline_utils.ts18 import {TimeRange, Timestamp} from 'common/time/time';
25 const dispatchTimestamp: Timestamp | undefined = shellData
37 const finishOrAbortTimestamp: Timestamp | undefined = aborted
55 const dispatchTimestamp: Timestamp | undefined = shellData
58 const createTimestamp: Timestamp | undefined = wmData
61 const finishOrAbortTimestamp: Timestamp | undefined = aborted
/development/tools/winscope/src/trace/
Dtrace_position.ts17 import {Timestamp} from 'common/time/time';
22 static fromTimestamp(timestamp: Timestamp): TracePosition {
28 explicitTimestamp?: Timestamp,
51 readonly timestamp: Timestamp,
Dtrace.ts19 import {INVALID_TIME_NS, Timestamp} from 'common/time/time';
55 protected readonly timestamp: Timestamp,
67 getTimestamp(): Timestamp {
94 timestamp: Timestamp,
120 timestamp: Timestamp,
259 findClosestEntry(time: Timestamp): TraceEntryLazy<T> | undefined {
292 findFirstGreaterOrEqualEntry(time: Timestamp): TraceEntryLazy<T> | undefined {
315 findFirstGreaterEntry(time: Timestamp): TraceEntryLazy<T> | undefined {
336 timestamp: Timestamp,
351 findLastLowerEntry(timestamp: Timestamp): TraceEntryLazy<T> | undefined {
[all …]
Dparser_mock.ts17 import {Timestamp} from 'common/time/time';
27 private readonly timestamps: Timestamp[],
63 getTimestamps(): Timestamp[] {
Dparser.ts17 import {Timestamp} from 'common/time/time';
31 getTimestamps(): Timestamp[] | undefined;
/development/tools/winscope/src/parsers/legacy/
Dabstract_parser.ts17 import {Timestamp} from 'common/time/time';
37 private timestamps: Timestamp[] | undefined;
45 protected abstract getTimestamp(decodedEntry: U): Timestamp;
79 getTimestamps(): undefined | Timestamp[] {
100 private decodeTimestamps(): Timestamp[] {
/development/tools/winscope/src/app/components/timeline/expanded-timeline/
Ddefault_timeline_row_component.ts21 import {Timestamp} from 'common/time/time';
55 hoveringEntry?: Timestamp;
137 private entryRect(entry: Timestamp, padding = 0): Rect {
148 private getXPosOf(entry: Timestamp): number {
158 private getTimestampOf(x: number): Timestamp {
168 private drawEntry(entry: Timestamp) {
/development/tools/winscope/src/viewers/components/
Dlog_component.ts31 import {Timestamp, TimestampFormatType} from 'common/time/time';
249 private lastClickedTimestamp: Timestamp | undefined;
284 return field.value instanceof Timestamp || propagateEntryTimestamp;
288 return field.value instanceof Timestamp
300 formatTimestamp(timestamp: Timestamp) {
364 } else if (field.value instanceof Timestamp) {
365 this.onRawTimestampClick(field.value as Timestamp);
429 private onRawTimestampClick(value: Timestamp) {
Dproperty_tree_node_data_view_component.ts18 import {Timestamp} from 'common/time/time';
79 return this.node?.getValue() instanceof Timestamp;
83 const timestamp: Timestamp = timestampNode.getValue();
/development/tools/winscope/src/parsers/transitions/operations/
Dadd_duration.ts18 import {Timestamp} from 'common/time/time';
31 const sendTime: Timestamp | null | undefined = wmDataNode
34 const finishTime: Timestamp | null | undefined = wmDataNode
Dadd_real_to_elapsed_time_offset_timestamp.ts17 import {Timestamp} from 'common/time/time';
24 private readonly realToBootTimeOffsetTimestamp: Timestamp | undefined,
/development/tools/winscope/src/parsers/traces/
Dabstract_traces_parser.ts17 import {Timestamp} from 'common/time/time';
29 protected timestamps: Timestamp[] | undefined;
43 getTimestamps(): Timestamp[] | undefined {
/development/tools/winscope/src/app/components/timeline/mini-timeline/
Dtransformer.ts18 import {TimeRange, Timestamp} from 'common/time/time';
43 transform(x: Timestamp): number {
51 untransform(x: number): Timestamp {
Dmini_timeline_component.ts32 import {TimeRange, Timestamp} from 'common/time/time';
130 @Input() bookmarks: Timestamp[] = [];
135 Timestamp | undefined
143 [Trace<object>, Timestamp]
156 private hoverTimestamp: Timestamp | undefined;
189 const updateTimestampCallback = (timestamp: Timestamp) => {
197 timestamp: Timestamp,
518 private zoomIn(zoomOn?: Timestamp) {
522 private zoomOut(zoomOn?: Timestamp) {
528 zoomOn?: Timestamp,
[all …]
/development/tools/winscope/src/viewers/viewer_input_method_manager_service/
Dpresenter_input_method_manager_service.ts17 import {Timestamp} from 'common/time/time';
57 wmEntryTimestamp: Timestamp | undefined,
58 sfEntryTimestamp: Timestamp | undefined,
/development/tools/winscope/src/app/components/timeline/mini-timeline/drawer/
Dmini_timeline_drawer_output.ts1 import {TimeRange, Timestamp} from 'common/time/time';
5 public selectedPosition: Timestamp,
/development/tools/winscope/src/parsers/search/
Dparser_search.ts18 import {INVALID_TIME_NS, Timestamp} from 'common/time/time';
36 private timestamps: Timestamp[] = [];
60 getTimestamps(): Timestamp[] {
/development/tools/winscope/src/viewers/common/
Dui_data_log.ts17 import {Timestamp} from 'common/time/time';
62 export type LogFieldValue = string | number | Timestamp;
/development/tools/winscope/src/parsers/screenshot/
Dparser_screenshot.ts17 import {Timestamp} from 'common/time/time';
48 protected override getTimestamp(decodedEntry: number): Timestamp {

123