[latex3-commits] [git/LaTeX3-latex3-latex3] master: Correct resettimer in LuaTeX (61db4c6)

Bruno Le Floch bruno at le-floch.fr
Wed May 22 09:18:36 CEST 2019


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/61db4c6c8ee620f3df38709830588d6efde0e8e8

>---------------------------------------------------------------

commit 61db4c6c8ee620f3df38709830588d6efde0e8e8
Author: Bruno Le Floch <bruno at le-floch.fr>
Date:   Wed May 22 09:18:36 2019 +0200

    Correct resettimer in LuaTeX


>---------------------------------------------------------------

61db4c6c8ee620f3df38709830588d6efde0e8e8
 l3kernel/l3luatex.dtx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/l3kernel/l3luatex.dtx b/l3kernel/l3luatex.dtx
index 293d940..aaf49e2 100644
--- a/l3kernel/l3luatex.dtx
+++ b/l3kernel/l3luatex.dtx
@@ -380,7 +380,7 @@ local function elapsedtime()
 end
 l3kernel.elapsedtime = elapsedtime
 local function resettimer()
-  base_time = 0
+  base_time = os_clock()
 end
 l3kernel.resettimer = resettimer
 %    \end{macrocode}





More information about the latex3-commits mailing list