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