summaryrefslogtreecommitdiff
path: root/trunk/sample/time.rb
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/sample/time.rb')
-rw-r--r--trunk/sample/time.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/trunk/sample/time.rb b/trunk/sample/time.rb
deleted file mode 100644
index e16912052e..0000000000
--- a/trunk/sample/time.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-#! /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)