X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Ftiming.c;h=31c9e358ae081349d72584e9c49f541a2b2f1ce2;hp=3b653af4d7268a546659d8862277b8c2e72f0e00;hb=2788a4851b551e1a3efb320a2878b809f2d8a9d7;hpb=fe507b6b15788a3a8e58063d9dae52532a5229a5 diff --git a/src/timing.c b/src/timing.c index 3b653af..31c9e35 100644 --- a/src/timing.c +++ b/src/timing.c @@ -1,8 +1,6 @@ -/* - * Copyright (C) 1995-2007, Index Data ApS +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2009 Index Data * See the file LICENSE for details. - * - * $Id: timing.c,v 1.5 2007-05-06 20:12:20 adam Exp $ */ /** @@ -38,9 +36,9 @@ struct yaz_timing { struct timeval start_time, end_time; #endif #ifdef WIN32 - ULONGLONG start_time, end_time; - ULONGLONG start_time_sys, start_time_user; - ULONGLONG end_time_sys, end_time_user; + LONGLONG start_time, end_time; + LONGLONG start_time_sys, start_time_user; + LONGLONG end_time_sys, end_time_user; #endif double real_sec, user_sec, sys_sec; }; @@ -67,7 +65,7 @@ static void get_process_time(ULONGLONG *lp_user, ULONGLONG *lp_sys) li.HighPart = sys_t.dwHighDateTime; *lp_sys = li.QuadPart; } -static void get_date_as_largeinteger(ULONGLONG *lp) +static void get_date_as_largeinteger(LONGLONG *lp) { FILETIME f; ULARGE_INTEGER li;