annotate framework/env/trace/_open_section.lua @ 174:070edea2a92f
Bugfix in json.object and json.array functions: use null-marker for nil values
 | author | 
 jbe | 
 | date | 
 Fri Aug 01 20:29:30 2014 +0200 (2014-08-01) | 
 | parents | 
 0de41d8e2cf8  | 
 | children | 
 47c5f33e4a6b  | 
 
 | 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
 | 
| 
bsw@115
 | 
     4   node.start_hires_time = extos.monotonic_hires_time()
 | 
| 
jbe/bsw@0
 | 
     5   table.insert(trace._stack, node)
 | 
| 
bsw@82
 | 
     6   --trace.debug("START " .. extos.monotonic_hires_time() .. " / " .. os.clock())
 | 
| 
jbe/bsw@0
 | 
     7   return node
 | 
| 
jbe/bsw@0
 | 
     8 end
 |