Skip to content

Commit e19ea52

Browse files
authored
Merge pull request #553 from gaurav-arya/main
Add nondiff rules for more base timing functions
2 parents 2caaad6 + a96a762 commit e19ea52

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/rulesets/Base/nondiff.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,9 @@ VERSION >= v"1.1" && @non_differentiable splitpath(::AbstractString)
443443
@non_differentiable Base.time_ns()
444444
@non_differentiable Base.typename(::Any)
445445
@non_differentiable Base.depwarn(::Any...)
446+
VERSION >= v"1.6" && @non_differentiable Base.cumulative_compile_time_ns_before()
447+
VERSION >= v"1.6" && @non_differentiable Base.cumulative_compile_time_ns_after()
448+
VERSION >= v"1.5" && @non_differentiable Base.time_print(::Any...)
446449

447450
@non_differentiable Broadcast.combine_styles(::Any...)
448451
@non_differentiable Broadcast.result_style(::Any)

0 commit comments

Comments
 (0)