summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-08-15 06:22:49 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-08-15 06:22:49 +0000
commitc345257ff6c1e913125739545a40cc1b60b62611 (patch)
tree410afef9741dff97642c267ece942d7cfeeab0f6 /time.c
parent37282fa5b083375cab6780824a8941c459b59ebe (diff)
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r--time.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/time.c b/time.c
index 32b3f0b..6598919 100644
--- a/time.c
+++ b/time.c
@@ -957,21 +957,8 @@ time_s_times(obj)
rb_float_new((double)buf.tms_cutime / HZ),
rb_float_new((double)buf.tms_cstime / HZ));
#else
-#ifdef NT
- FILETIME create, exit, kernel, user;
- HANDLE hProc;
-
- hProc = GetCurrentProcess();
- GetProcessTimes(hProc,&create, &exit, &kernel, &user);
- return rb_struct_new(S_Tms,
- rb_float_new((double)(kernel.dwHighDateTime*2e32+kernel.dwLowDateTime)/2e6),
- rb_float_new((double)(user.dwHighDateTime*2e32+user.dwLowDateTime)/2e6),
- rb_float_new((double)0),
- rb_float_new((double)0));
-#else
rb_notimplement();
#endif
-#endif
}
static VALUE