# File lib/new_relic/agent/transaction_sample_builder.rb, line 71
      def trace_entry(time)
        if @sample.count_nodes < node_limit
          node = @sample.create_node(time.to_f - @sample_start)
          @current_node.add_called_node(node)
          @current_node = node
          if @sample.count_nodes == node_limit()
            ::NewRelic::Agent.logger.debug("Node limit of #{node_limit} reached, ceasing collection.")
          end
        else
          if @current_node.is_a?(PlaceholderNode)
            @current_node.depth += 1
          else
            @current_node = PlaceholderNode.new(@current_node)
          end
        end
        @current_node
      end