Module: Tacho
- Defined in:
- lib/tacho.rb,
lib/tacho/version.rb,
lib/tacho/middleware.rb,
ext/tacho/tacho.c
Defined Under Namespace
Classes: Error, Middleware, Profile
Constant Summary collapse
- VERSION =
"0.1.2"
Class Method Summary collapse
Class Method Details
.start(name = '', clock_type: :wall) ⇒ Object
9 10 11 12 13 |
# File 'lib/tacho.rb', line 9 def self.start(name = '', clock_type: :wall) profile = Profile.new() profile.start("tacho/#{Time.now.strftime("%Y%m%d_%H%M%S_%N")}.tch", name, clock_type) return profile end |