aboutsummaryrefslogtreecommitdiffstats
path: root/agent/protect.c
diff options
context:
space:
mode:
Diffstat (limited to 'agent/protect.c')
-rw-r--r--agent/protect.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/agent/protect.c b/agent/protect.c
index 30ee1345d..bc44fe107 100644
--- a/agent/protect.c
+++ b/agent/protect.c
@@ -122,15 +122,9 @@ static void
calibrate_get_time (struct calibrate_time_s *data)
{
#ifdef HAVE_W32_SYSTEM
-# ifdef HAVE_W32CE_SYSTEM
- GetThreadTimes (GetCurrentThread (),
- &data->creation_time, &data->exit_time,
- &data->kernel_time, &data->user_time);
-# else
GetProcessTimes (GetCurrentProcess (),
&data->creation_time, &data->exit_time,
&data->kernel_time, &data->user_time);
-# endif
#elif defined (USE_CLOCK_GETTIME)
struct timespec tmp;