diff options
author | Hans Hagen <pragma@wxs.nl> | 2011-06-23 19:25:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2011-06-23 19:25:00 +0200 |
commit | bddac3f564687065474739c7face6fcd93ceea69 (patch) | |
tree | 26cb1a2ca4bf35c232da5b74347cb6aa5040a4da /tex/context/base/luat-fio.lua | |
parent | 4001733dc25cb6743004db0e9319708481d91135 (diff) | |
download | context-bddac3f564687065474739c7face6fcd93ceea69.tar.gz |
beta 2011.06.23 19:25
Diffstat (limited to 'tex/context/base/luat-fio.lua')
-rw-r--r-- | tex/context/base/luat-fio.lua | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tex/context/base/luat-fio.lua b/tex/context/base/luat-fio.lua index b7144c343..1edbc2ef8 100644 --- a/tex/context/base/luat-fio.lua +++ b/tex/context/base/luat-fio.lua @@ -83,6 +83,10 @@ if not resolvers.instance then end -statistics.register("input load time", function() - return format("%s seconds", statistics.elapsedtime(resolvers.instance)) +statistics.register("resource resolver", function() + if resolvers.scantime then + return format("loadtime %s seconds, scantime %s seconds", resolvers.loadtime(), resolvers.scantime()) + else + return format("loadtime %s seconds", resolvers.loadtime()) + end end) |