Method: NewRelic::Agent::TransactionTimeAggregator.reset!

Defined in:
lib/new_relic/agent/transaction_time_aggregator.rb

.reset!(timestamp = Process.clock_gettime(Process::CLOCK_REALTIME)) ⇒ Object

[View source]

24
25
26
27
# File 'lib/new_relic/agent/transaction_time_aggregator.rb', line 24

def reset!(timestamp = Process.clock_gettime(Process::CLOCK_REALTIME))
  @harvest_cycle_started_at = timestamp
  @stats.clear
end