Class: Rightscale::GogridBenchmarkingBlock

Inherits:
Object
  • Object
show all
Defined in:
lib/gogrid_base.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeGogridBenchmarkingBlock

Returns a new instance of GogridBenchmarkingBlock.



28
29
30
31
32
33
# File 'lib/gogrid_base.rb', line 28

def initialize
  # Benchmark::Tms instance for service (Ec2, S3, or SQS) access benchmarking.
  @service = Benchmark::Tms.new()
  # Benchmark::Tms instance for parsing benchmarking.
  @parser = Benchmark::Tms.new()
end

Instance Attribute Details

#parserObject

Returns the value of attribute parser.



27
28
29
# File 'lib/gogrid_base.rb', line 27

def parser
  @parser
end

#serviceObject

Returns the value of attribute service.



27
28
29
# File 'lib/gogrid_base.rb', line 27

def service
  @service
end