summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/syst-aux.mkxl
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2020-04-08 15:36:51 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2020-04-08 15:36:51 +0200
commit9a1b9756939e12e328dea3633d9fe3cbde8f154b (patch)
tree22407c5d909d99866cb0cca7053288bd3d38d52b /tex/context/base/mkiv/syst-aux.mkxl
parent8dcafbcc0fbdde27cf480584450516602daacd42 (diff)
downloadcontext-9a1b9756939e12e328dea3633d9fe3cbde8f154b.tar.gz
2020-04-08 14:37:00
Diffstat (limited to 'tex/context/base/mkiv/syst-aux.mkxl')
-rw-r--r--tex/context/base/mkiv/syst-aux.mkxl8
1 files changed, 7 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/syst-aux.mkxl b/tex/context/base/mkiv/syst-aux.mkxl
index 7ade250d9..be48007c9 100644
--- a/tex/context/base/mkiv/syst-aux.mkxl
+++ b/tex/context/base/mkiv/syst-aux.mkxl
@@ -6221,7 +6221,12 @@
\let\resettimer \clf_resettimer
\let\elapsedtime \clf_elapsedtime
-\let\elapsedseconds \elapsedtime
+\let\elapsedseconds\elapsedtime
+
+\let\elapsedsteps\!!zerocount
+
+\unexpanded\def\elapsedsteptime % unexpanded ! a bit useless but who knows ...
+ {\clf_elapsedsteptime\elapsedsteps\relax}
\newcount\c_syst_helpers_test_feature_n
\newcount\c_syst_helpers_test_feature_m
@@ -6230,6 +6235,7 @@
\unexpanded\def\testfeature#1#2%
{\c_syst_helpers_test_feature_m#1\relax
+ \xdef\elapsedsteps{\number\c_syst_helpers_test_feature_m}%
\def\syst_helpers_test_feature_yes
{\advance\c_syst_helpers_test_feature_n\plusone
\ifnum\c_syst_helpers_test_feature_n>\c_syst_helpers_test_feature_m\else