webmcp

diff framework/env/trace/_open_section.lua @ 299:47c5f33e4a6b

Trace real time and CPU time
author jbe
date Sun Mar 22 19:25:38 2015 +0100 (2015-03-22)
parents 0de41d8e2cf8
children 04b648660f9a
line diff
     1.1 --- a/framework/env/trace/_open_section.lua	Sun Mar 22 18:58:50 2015 +0100
     1.2 +++ b/framework/env/trace/_open_section.lua	Sun Mar 22 19:25:38 2015 +0100
     1.3 @@ -1,8 +1,8 @@
     1.4  function trace._open_section(node)
     1.5    local node = trace._new_entry(node)
     1.6    node.section = true
     1.7 -  node.start_hires_time = extos.monotonic_hires_time()
     1.8 +  node.start_real_time = extos.monotonic_hires_time()
     1.9 +  node.start_proc_time = os.clock()
    1.10    table.insert(trace._stack, node)
    1.11 -  --trace.debug("START " .. extos.monotonic_hires_time() .. " / " .. os.clock())
    1.12    return node
    1.13  end

Impressum / About Us