From 554544d5f650d7a39fe8945f6fc48a8f31257e57 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sat, 25 Feb 2006 21:57:51 +0000 Subject: [PATCH] *** empty log message *** --- Common/Timer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Common/Timer.cpp b/Common/Timer.cpp index 52b938710a..d8d60c59c5 100644 --- a/Common/Timer.cpp +++ b/Common/Timer.cpp @@ -1,4 +1,4 @@ -// $Id: Timer.cpp,v 1.21 2006-02-25 07:22:11 geuzaine Exp $ +// $Id: Timer.cpp,v 1.22 2006-02-25 21:57:51 geuzaine Exp $ // // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle // @@ -47,8 +47,8 @@ double GetTimeInSeconds() { FILETIME ft; GetSystemTimeAsFileTime(&ft); - double t = 1.e-1 * (double)ft.dwHighDateTime + - 1.e-7 * (double)ft.dwLowDateTime; + double t = 1.e-7 * 4294967296. * (double)ft.dwHighDateTime + + 1.e-7 * (double)ft.dwLowDateTime; return t; } -- GitLab