webmcp

annotate framework/env/trace/_open_section.lua @ 380:16baed4c0483

Extended _column_info table to be an associative array as well (in addition to a sequence); Allow direct (proxy) access to fields of JSON object in a special column (completed write access)
author jbe
date Mon Nov 16 01:33:02 2015 +0100 (2015-11-16)
parents 04b648660f9a
children
rev   line source
jbe/bsw@0 1 function trace._open_section(node)
jbe/bsw@0 2 local node = trace._new_entry(node)
jbe/bsw@0 3 node.section = true
jbe@302 4 node.db_time = 0
jbe@299 5 node.start_real_time = extos.monotonic_hires_time()
jbe@299 6 node.start_proc_time = os.clock()
jbe@302 7 local stack = trace._stack
jbe@302 8 stack[#stack+1] = node
jbe/bsw@0 9 return node
jbe/bsw@0 10 end

Impressum / About Us