vcomp: Implement omp_get_wtime.

This commit is contained in:
Dan Kegel 2012-09-03 21:12:15 -07:00 committed by Alexandre Julliard
parent a61903388e
commit 5c988477d4
2 changed files with 7 additions and 1 deletions

View File

@ -29,6 +29,12 @@
WINE_DEFAULT_DEBUG_CHANNEL(vcomp);
/* Time in seconds since "some time in the past" */
double CDECL omp_get_wtime(void)
{
return GetTickCount() / 1000.0;
}
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);

View File

@ -97,7 +97,7 @@
@ stub omp_get_num_threads
@ stub omp_get_thread_num
@ stub omp_get_wtick
@ stub omp_get_wtime
@ cdecl omp_get_wtime()
@ stub omp_in_parallel
@ stub omp_init_lock
@ stub omp_init_nest_lock