Commit 5c988477 authored by Dan Kegel's avatar Dan Kegel Committed by Alexandre Julliard

vcomp: Implement omp_get_wtime.

parent a6190338
...@@ -29,6 +29,12 @@ ...@@ -29,6 +29,12 @@
WINE_DEFAULT_DEBUG_CHANNEL(vcomp); 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) BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{ {
TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved); TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
......
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
@ stub omp_get_num_threads @ stub omp_get_num_threads
@ stub omp_get_thread_num @ stub omp_get_thread_num
@ stub omp_get_wtick @ stub omp_get_wtick
@ stub omp_get_wtime @ cdecl omp_get_wtime()
@ stub omp_in_parallel @ stub omp_in_parallel
@ stub omp_init_lock @ stub omp_init_lock
@ stub omp_init_nest_lock @ stub omp_init_nest_lock
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment