# File lib/new_relic/agent/traced_method_stack.rb, line 53 def pop_frame(state, expected_frame, name, time, deduct_call_time_from_parent=true) frame = fetch_matching_frame(expected_frame) note_children_time(frame, time, deduct_call_time_from_parent) transaction_sampler.notice_pop_frame(state, name, time) if sampler_enabled? frame.name = name if frame.is_a? TracedMethodFrame frame end