# File lib/rfuzz/session.rb, line 59
59:     def run(count, options={})
60:       sample = options[:sample] || [:request]
61:       count.times do |i|
62:         # setup for this latest sample run
63:         @runs << {}
64:         @counts << {}
65:         @tracking << {}
66:         yield @client, @rand
67: 
68:         # record the request stats then reset them
69:         sample.each {|s| cur_run[s] = @client.notifier.stats[s].clone }
70:         @client.notifier.reset
71:       end
72: 
73:       if options[:save_as]
74:         write_runs(options[:save_as][0])
75:         write_counts(options[:save_as][1])
76:       end
77:     end