Skip to content

Commit d6c330e

Browse files
committed
Remove jl_cumulative_compile_time_ns(), since it's not actually an accurate measurement
1 parent 77a381e commit d6c330e

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

base/timing.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ end
5858
# cumulative total time spent on compilation, in nanoseconds
5959
cumulative_compile_time_ns_before() = ccall(:jl_cumulative_compile_time_ns_before, UInt64, ())
6060
cumulative_compile_time_ns_after() = ccall(:jl_cumulative_compile_time_ns_after, UInt64, ())
61-
# cumulative total time the process has spent on compilation while measurement was enabled.
62-
cumulative_compile_time_ns() = ccall(:jl_cumulative_compile_time_ns, UInt64, ())
6361

6462
# total time spend in garbage collection, in nanoseconds
6563
gc_time_ns() = ccall(:jl_gc_total_hrtime, UInt64, ())

src/jitlayers.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,6 @@ uint64_t jl_cumulative_compile_time_ns_after()
9090
return jl_atomic_load(&jl_cumulative_compile_time);
9191
}
9292

93-
extern "C" JL_DLLEXPORT
94-
uint64_t jl_cumulative_compile_time_ns() {
95-
return jl_atomic_load(&jl_cumulative_compile_time);
96-
}
97-
9893
// this generates llvm code for the lambda info
9994
// and adds the result to the jitlayers
10095
// (and the shadow module),

0 commit comments

Comments
 (0)