2
* timew.c -- $Id: timew.c,v 1.1 2003/03/08 15:26:49 travo Exp $
3
* p_wall_secs for MS Windows
5
* Copyright (c) 1999. See accompanying LEGAL file for details.
10
/* GetTickCount in kernel32.lib */
13
static int p_wall_init = 0;
15
static double p_wall_0 = 0.0;
16
static DWORD p_wall_1 = 0;
20
DWORD wall = GetTickCount();
24
} else if (wall < p_wall_1) {
25
p_wall_0 += 1.e-3*((~(DWORD)0) - p_wall_1);
29
p_wall_0 += 1.e-3*(wall-p_wall_1);