Skip to content

Commit

Permalink
update support for timing internals
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Apr 18, 2022
1 parent f13e0a4 commit c533e67
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/rulesets/Base/nondiff.jl
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,12 @@ end
@non_differentiable Base.time_ns()
@non_differentiable Base.typename(::Any)
@non_differentiable Base.depwarn(::Any...)
@non_differentiable Base.cumulative_compile_time_ns_before()
@non_differentiable Base.cumulative_compile_time_ns_after()
if isdefined(Base, :cumulative_compile_time_ns_before)
@non_differentiable Base.cumulative_compile_time_ns_before()
@non_differentiable Base.cumulative_compile_time_ns_after()
elseif isdefined(Base, :cumulative_compile_time_ns)
@non_differentiable Base.cumulative_compile_time_ns()
end
@non_differentiable Base.time_print(::Any...)

@non_differentiable Broadcast.combine_styles(::Any...)
Expand Down

0 comments on commit c533e67

Please sign in to comment.