We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d6d277 commit ee77606Copy full SHA for ee77606
SnoopCompileCore/src/snoopi_deep.jl
@@ -83,8 +83,7 @@ end
83
84
function finish_snoopi_deep()
85
# TODO(ISSUE): Update to a new API, which just directly returns this vector.
86
- children = [InferenceTimingNode(tree) for tree in Core.Compiler.Timings.clear_and_fetch_timings()]
87
- stop_time = Core.Compiler.Timings._time_ns()
+ children = Core.Compiler.Timings.clear_and_fetch_timings()
88
root = Core.Compiler.Timings.Timing(
89
# The MethodInstance for ROOT(), and default empty values for other fields.
90
Core.Compiler.Timings.InferenceFrameInfo(
@@ -95,7 +94,7 @@ function finish_snoopi_deep()
95
94
0,
96
97
children,
98
- )
+ )
99
return InferenceTimingNode(root)
100
end
101
0 commit comments