webmcp

changeset 305:40db36b46958

Bugfixes regarding time triples in trace._render_sub_tree(...)
author jbe
date Sun Mar 22 20:13:16 2015 +0100 (2015-03-22)
parents a3da58aae6ce
children a7e4f552f8a5 2b2bc360aabc
files framework/env/trace/_render_sub_tree.lua
line diff
     1.1 --- a/framework/env/trace/_render_sub_tree.lua	Sun Mar 22 20:09:40 2015 +0100
     1.2 +++ b/framework/env/trace/_render_sub_tree.lua	Sun Mar 22 20:13:16 2015 +0100
     1.3 @@ -6,8 +6,8 @@
     1.4    if proc_time and db_time then
     1.5      return string.format(
     1.6        "u=%.1f d=%.1f t=%.1f",
     1.7 +      1000 * proc_time,
     1.8        1000 * db_time,
     1.9 -      1000 * proc_time,
    1.10        1000 * real_time
    1.11      )
    1.12    else
    1.13 @@ -44,11 +44,11 @@
    1.14        ' | ',
    1.15        '<span class="child_duration_label">children:</span>',
    1.16        ' ',
    1.17 -      '<span class="child_duration">', format_triple(child_real_time, child_proc_time, db_time), '</span>',
    1.18 +      '<span class="child_duration">', format_triple(child_real_time, child_proc_time, child_db_time), '</span>',
    1.19        ' | ',
    1.20        '<span class="total_duration_label">total:</span>',
    1.21        ' ',
    1.22 -      '<span class="total_duration">', format_triple(total_real_time, total_proc_time, db_time), '</span>',
    1.23 +      '<span class="total_duration">', format_triple(total_real_time, total_proc_time, total_db_time), '</span>',
    1.24        '</div>'
    1.25      )
    1.26    end

Impressum / About Us