Skip to content

Commit a5b952e

Browse files
gabelevifacebook-github-bot
authored andcommitted
Update ./tool to read CPU profiling stats
Reviewed By: samwgoldman Differential Revision: D4455832 fbshipit-source-id: eb7289fe15585de83ec1acb236a7740a8c6b7f02
1 parent fe525b1 commit a5b952e

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

tsrc/flowResult.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,23 @@ type FlowPos = {
3939
column: number,
4040
offset: number,
4141
}
42+
type FlowTimer = {
43+
start_age: number,
44+
duration: number,
45+
}
4246
type FlowTiming = {
4347
results: {
4448
[key: string]: {
49+
// Legacy fields
4550
start_wall_age: number,
4651
wall_duration: number,
52+
53+
// New hotness
54+
wall: FlowTimer;
55+
user: FlowTimer;
56+
system: FlowTimer;
57+
worker_user: FlowTimer;
58+
worker_system: FlowTimer;
4759
}
4860
}
4961
}

0 commit comments

Comments
 (0)