We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 678f39b commit d619142Copy full SHA for d619142
1 file changed
base/timing.jl
@@ -68,6 +68,9 @@ function gc_alloc_count(diff::GC_Diff)
68
diff.malloc + diff.realloc + diff.poolalloc + diff.bigalloc
69
end
70
71
+lock_waiting_time(tid::Int16) = ccall(:jl_get_thread_lock_waiting_time, UInt64, (Int16,), tid)
72
+lock_waiting_time() = ccall(:jl_get_lock_waiting_time, UInt64, ())
73
+
74
# cumulative total time spent on compilation and recompilation, in nanoseconds
75
function cumulative_compile_time_ns()
76
comp = ccall(:jl_cumulative_compile_time_ns, UInt64, ())
0 commit comments