class Caliper::Stats::Statistics

Constants

DESCRIBE_KEY
FAILED_KEY
MEASURE_KEY
SUCCESSFUL_KEY

Public Instance Methods

get_describes() click to toggle source

Returns the statistic representing how many describe calls happened

# File lib/caliper/stats/statistics.rb, line 30
def get_describes
        return ensure(DESCRIBE_KEY)
end
get_failed() click to toggle source
# File lib/caliper/stats/statistics.rb, line 54
def get_failed
        return ensure(FAILED_KEY)
end
get_measures() click to toggle source
# File lib/caliper/stats/statistics.rb, line 38
def get_measures
        return ensure(MEASURE_KEY)
end
get_successful() click to toggle source
# File lib/caliper/stats/statistics.rb, line 46
def get_successful
        return ensure(SUCCESSFUL_KEY)
end
update_describes(val) click to toggle source
# File lib/caliper/stats/statistics.rb, line 34
def update_describes(val)
        update(DESCRIBE_KEY, val)
end
update_failed() click to toggle source
# File lib/caliper/stats/statistics.rb, line 58
def update_failed
        update(FAILED_KEY, val)
end
update_measures(val) click to toggle source
# File lib/caliper/stats/statistics.rb, line 42
def update_measures(val)
        update(MEASURE_KEY, val)
end
update_successful() click to toggle source
# File lib/caliper/stats/statistics.rb, line 50
def update_successful
        update(SUCCESSFUL_KEY, val)
end