Module: Hitimes

### Home Classes Methods

### In Files

- lib/hitimes.rb
- lib/hitimes/metric.rb
- lib/hitimes/mutexed_stats.rb
- lib/hitimes/paths.rb
- lib/hitimes/stats.rb
- lib/hitimes/timed_metric.rb
- lib/hitimes/timed_value_metric.rb
- lib/hitimes/value_metric.rb
- lib/hitimes/version.rb

### Namespace

- MODULE Hitimes::Paths
- CLASS Hitimes::Error
- CLASS Hitimes::Metric
- CLASS Hitimes::MutexedStats
- CLASS Hitimes::Stats
- CLASS Hitimes::TimedMetric
- CLASS Hitimes::TimedValueMetric
- CLASS Hitimes::ValueMetric

### Methods

- ::measure

### Files

- Manifest.txt

### Class/Module Index

Quicksearch

- Hitimes
- Hitimes::Error
- Hitimes::Metric
- Hitimes::MutexedStats
- Hitimes::Paths
- Hitimes::Stats
- Hitimes::TimedMetric
- Hitimes::TimedValueMetric
- Hitimes::ValueMetric

No matching classes.

# Hitimes

The top level module containing the contents of the hitimes library

use the library with:

    require 'hitimes'

### Constants

VERSION

### Public Class Methods

measure(&block) click to toggle source

Hitimes.measure { } -> Float

Times the execution of the block, returning the number of seconds it took

    # File lib/hitimes.rb, line 22
    def self.measure(&block)
      Hitimes::Interval.measure(&block)
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.