webmcp

view framework/env/trace/_open_section.lua @ 262:c3d539e33710

Replaced request.add_initializer(...) and request.add_variable(...) with request.for_each(...) and request.configure(...) which both execute the passed function once in any case when being called
author jbe
date Tue Mar 17 11:42:34 2015 +0100 (2015-03-17)
parents 0de41d8e2cf8
children 47c5f33e4a6b
line source
1 function trace._open_section(node)
2 local node = trace._new_entry(node)
3 node.section = true
4 node.start_hires_time = extos.monotonic_hires_time()
5 table.insert(trace._stack, node)
6 --trace.debug("START " .. extos.monotonic_hires_time() .. " / " .. os.clock())
7 return node
8 end

Impressum / About Us