# File lib/amalgalite/profile_tap.rb, line 122 def profile( msg, time ) unless sampler = @samplers[msg] msg = msg.gsub(/\s+/,' ') sampler = @samplers[msg] = ProfileSampler.new( msg ) end sampler.sample( time ) @delegate_obj.send( @delegate_method, msg, time ) end