From dd07bff8509d99c4ce234aeb46e1b648321642b3 Mon Sep 17 00:00:00 2001 From: Valentin Churavy Date: Fri, 19 Jan 2018 18:09:12 -0500 Subject: [PATCH] fixup! Add the `Timers` module to measure real-time and cpu-time --- src/timers/windows.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/timers/windows.jl b/src/timers/windows.jl index d12e4613..346f88c7 100644 --- a/src/timers/windows.jl +++ b/src/timers/windows.jl @@ -37,7 +37,7 @@ end kernel_time = Ref{FileTime}() user_time = Ref{FileTime}() - ccall(:GetProccessTimes, Cint, (HANDLE, Ref{FileTime}, Ref{FileTime}, Ref{FileTime}, Ref{FileTime}), + ccall(:GetProcessTimes, Cint, (HANDLE, Ref{FileTime}, Ref{FileTime}, Ref{FileTime}, Ref{FileTime}), proc, creation_time, exit_time, kernel_time, user_time) - return maketime(kernel_time, user_time) + return maketime(kernel_time[], user_time[]) end