* times.cc (clock_getres): Use correct conversion from milliseconds to

seconds/nanoseconds.
(clock_setres): Use correct conversion to nanoseconds.
This commit is contained in:
Christopher Faylor
2006-02-11 00:06:50 +00:00
parent 9a08fd5a50
commit 7f8c7bff6f
3 changed files with 10 additions and 4 deletions

View File

@@ -61,7 +61,7 @@ set_myself (HANDLE h)
/* here if execed */
static pinfo NO_COPY myself_identity;
myself_identity.init (cygwin_pid (myself->dwProcessId), PID_EXECED, NULL);
myself->start_time = time (NULL); /* Register our starting time. */
// myself->start_time = time (NULL); /* Register our starting time. */
myself->exec_sendsig = NULL;
myself->exec_dwProcessId = 0;
}