# File lib/deep_test/distributed/throughput_runner.rb, line 11 def blackboard @blackboard ||= @options.server end
# File lib/deep_test/distributed/throughput_runner.rb, line 19 def process_work_units @start_time = Time.now @test_count.times do blackboard.write_work NullWorkUnit.new end results_read = 0 until results_read == @test_count Thread.pass result = blackboard.take_result if result results_read += 1 @progress_block.call(result) if @progress_block end end @end_time = Time.now true end
Generated with the Darkfish Rdoc Generator 2.