Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 12 lines (9 sloc) 0.203 kb
1 2 3 4 5 6 7 8 9 10 11 12
#! /usr/bin/env ruby

b = Time.now
system(*ARGV)
e = Time.now

tms = Process.times
real = e - b
user = tms.cutime
sys = tms.cstime

STDERR.printf("%11.1f real %11.1f user %11.1f sys\n", real, user, sys)
Something went wrong with that request. Please try again.