2
* See the file LICENSE for redistribution information.
4
* Copyright (c) 2001-2002
5
* Sleepycat Software. All rights reserved.
11
static const char revid[] = "$Id$";
14
#include <sys/types.h>
15
#include <sys/timeb.h>
22
* Return the current time-of-day clock in seconds and microseconds.
25
__os_clock(dbenv, secsp, usecsp)
27
u_int32_t *secsp, *usecsp; /* Seconds and microseconds. */
33
*secsp = (u_int32_t)now.time;
35
*usecsp = now.millitm * 1000;