Skip to content

Commit c1221a0

Browse files
Eric Liuchihuahua
Eric Liu
authored andcommitted
[profile] Fix the broken demo (#499)
1 parent aedc1ee commit c1221a0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tensorboard/plugins/profile/profile_demo_data.py

+7-7
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@
4646
device_id: 1
4747
resource_id: 2
4848
name: "E1.2.1"
49-
timestamp_ns: 100
50-
duration_ns: 10
49+
timestamp_ps: 100
50+
duration_ps: 10
5151
}
5252
trace_events {
5353
device_id: 2
5454
resource_id: 2
5555
name: "E2.2.1"
56-
timestamp_ns: 90
57-
duration_ns: 40
56+
timestamp_ps: 90
57+
duration_ps: 40
5858
}
5959
"""
6060

@@ -81,13 +81,13 @@
8181
device_id: 1
8282
resource_id: 2
8383
name: "E1.2.1"
84-
timestamp_ns: 10
85-
duration_ns: 1000
84+
timestamp_ps: 10
85+
duration_ps: 1000
8686
}
8787
trace_events {
8888
device_id: 2
8989
resource_id: 2
9090
name: "E2.2.1"
91-
timestamp_ns: 105
91+
timestamp_ps: 105
9292
}
9393
"""

0 commit comments

Comments
 (0)