ReactOS 0.4.15-dev-7953-g1f49173
clock.c
Go to the documentation of this file.
1/*
2 * COPYRIGHT: LGPL, See LGPL.txt in the top level directory
3 * PROJECT: ReactOS CRT library
4 * FILE: lib/sdk/crt/time/clock.c
5 * PURPOSE: Implementation of clock()
6 * PROGRAMER: Timo Kreuzer
7 */
8#include <precomp.h>
9
11
12void
14{
16}
17
18/******************************************************************************
19 * \name clock
20 * \brief Returns the current process's elapsed time.
21 */
23clock(void)
24{
26
30};
#define NULL
Definition: types.h:112
VOID WINAPI GetSystemTimeAsFileTime(OUT PFILETIME lpFileTime)
Definition: time.c:128
__kernel_clock_t clock_t
Definition: linux.h:257
static PLARGE_INTEGER Time
Definition: time.c:105
_Check_return_ _CRTIMP clock_t __cdecl clock(void)
Definition: clock.c:23
static __inline __time64_t FileTimeToUnixTime(const FILETIME *FileTime, USHORT *millitm)
Definition: time.h:14
void initclock(void)
Definition: clock.c:13
ULARGE_INTEGER g_StartupTime
Definition: clock.c:10
ULONGLONG QuadPart
Definition: ms-dtyp.idl:185
LONGLONG QuadPart
Definition: typedefs.h:114