# File lib/new_relic/agent/threading/backtrace_service.rb, line 132
        def aggregate_backtraces(backtraces, name, start, duration, bucket, thread)
          end_time = start + duration
          backtraces.each do |(timestamp, backtrace)|
            if timestamp >= start && timestamp < end_time
              @profiles[name].aggregate(backtrace, bucket, thread)
            end
          end
        end