File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ export const nextId2 = () => ({ local: `0x${++id2Count}` });
3636const defaults = ( opt ?: { pid ?: number ; tid ?: number ; ts ?: number } ) => ( {
3737 pid : opt ?. pid ?? process . pid ,
3838 tid : opt ?. tid ?? threadId ,
39- ts : opt ?. ts ?? defaultClock . fromPerfMs ( performance . now ( ) ) ,
39+ ts : opt ?. ts ?? defaultClock . epochNowUs ( ) ,
4040} ) ;
4141
4242export const frameTreeNodeId = ( pid : number , tid : number ) =>
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ export type TraceArgs =
6060 * @property {string } name - Event name
6161 * @property {number } pid - Process ID
6262 * @property {number } tid - Thread ID
63- * @property {number } ts - Timestamp in microseconds
63+ * @property {number } ts - Timestamp in epoch microseconds
6464 * @property {TraceArgs } [args] - Optional event arguments
6565 */
6666export type BaseTraceEvent = {
You can’t perform that action at this time.
0 commit comments