diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/l3experimental/l3benchmark/l3benchmark.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/l3experimental/l3benchmark/l3benchmark.dtx | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Master/texmf-dist/source/latex/l3experimental/l3benchmark/l3benchmark.dtx b/Master/texmf-dist/source/latex/l3experimental/l3benchmark/l3benchmark.dtx index 1bb701c02ee..218988c8050 100644 --- a/Master/texmf-dist/source/latex/l3experimental/l3benchmark/l3benchmark.dtx +++ b/Master/texmf-dist/source/latex/l3experimental/l3benchmark/l3benchmark.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Released 2019-05-03} +% \date{Released 2019-05-28} % % \maketitle % @@ -66,8 +66,10 @@ % \cs{sys_timer:} % \end{syntax} % Expands to the current value of the engine's timer clock, a -% non-negative integer. In engines without clock support this -% expands to $0$. +% non-negative integer. In engines without clock support this expands +% to $0$ after an error. In \LuaTeX{} only the CPU time is measured, +% while in other engines real time is measured (including time waiting +% for user input). % \end{function} % % \section{Benchmark} @@ -128,7 +130,7 @@ % % \begin{macrocode} %<*package> -\ProvidesExplPackage{l3benchmark}{2019-05-03}{} +\ProvidesExplPackage{l3benchmark}{2019-05-28}{} {L3 Experimental benchmarking} %</package> % \end{macrocode} @@ -148,13 +150,13 @@ \sys_if_engine_luatex:TF { \cs_new:Npn \sys_timer: - { \int_eval:w \lua_now:n { l3kernel.elapsedtime() } \scan_stop: } + { \lua_now:n { l3kernel.elapsedtime() } } } { \cs_if_exist:NT \tex_elapsedtime:D { \cs_new:Npn \sys_timer: - { \int_eval:w \tex_elapsedtime:D } + { \int_value:w \tex_elapsedtime:D } } } \@@_const:nn { sys_if_timer_exist } |