Skip to content

Commit

Permalink
Remove jl_cumulative_compile_time_ns(), since it's not actually an ac…
Browse files Browse the repository at this point in the history
…curate measurement
  • Loading branch information
NHDaly committed Aug 18, 2021
1 parent 77a381e commit d6c330e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions base/timing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ end
# cumulative total time spent on compilation, in nanoseconds
cumulative_compile_time_ns_before() = ccall(:jl_cumulative_compile_time_ns_before, UInt64, ())
cumulative_compile_time_ns_after() = ccall(:jl_cumulative_compile_time_ns_after, UInt64, ())
# cumulative total time the process has spent on compilation while measurement was enabled.
cumulative_compile_time_ns() = ccall(:jl_cumulative_compile_time_ns, UInt64, ())

# total time spend in garbage collection, in nanoseconds
gc_time_ns() = ccall(:jl_gc_total_hrtime, UInt64, ())
Expand Down
5 changes: 0 additions & 5 deletions src/jitlayers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,6 @@ uint64_t jl_cumulative_compile_time_ns_after()
return jl_atomic_load(&jl_cumulative_compile_time);
}

extern "C" JL_DLLEXPORT
uint64_t jl_cumulative_compile_time_ns() {
return jl_atomic_load(&jl_cumulative_compile_time);
}

// this generates llvm code for the lambda info
// and adds the result to the jitlayers
// (and the shadow module),
Expand Down

0 comments on commit d6c330e

Please sign in to comment.