Project

walltime

0.0
No commit activity in last 3 years
No release in over 3 years
A Stopwatch you can use in all kinds of things
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Walltime

Gem Version

Quick IRB Demo

[root@orville Walltime]# irb irb(main):001:0> require 'walltime'

=> true

irb(main):002:0> a = Stopwatch.new

=> #<Stopwatch:0x00000001fc2028 @roundvals=[]>

irb(main):003:0> a.watch('start')

=> 1438202860.2731128

irb(main):004:0> a.watch('stop')

=> [6.24]

irb(main):005:0> a.print_stats

Start: 2015-07-29 21:47:40 +0100 Finish: 2015-07-29 21:47:46 +0100 Total time: 6.24

=> nil