diff options
author | jokkedk <joakim@jokke.dk> | 2008-04-22 20:08:18 +0000 |
---|---|---|
committer | jokkedk <joakim@jokke.dk> | 2008-04-22 20:08:18 +0000 |
commit | 2716f5952464dc7430aacefa737f004aa822e28e (patch) | |
tree | 9417eff14be7f7ef5cbc21399728cbc51dd339e0 | |
parent | 9056acb1018dc2d3aec7c33160f32eb90a271c19 (diff) | |
download | webgrind-2716f5952464dc7430aacefa737f004aa822e28e.zip webgrind-2716f5952464dc7430aacefa737f004aa822e28e.tar.gz webgrind-2716f5952464dc7430aacefa737f004aa822e28e.tar.bz2 |
- Adding # of function calls to header
-rw-r--r-- | index.php | 1 | ||||
-rw-r--r-- | styles/style.css | 4 | ||||
-rw-r--r-- | templates/index.phtml | 5 |
3 files changed, 6 insertions, 4 deletions
@@ -57,6 +57,7 @@ switch(get('op')){ if($remainingCost<0) break; } + $result['summedInvocationCount'] = $count; $result['summedRunTime'] = $reader->getHeader('summary'); $result['dataFile'] = $dataFile; $result['invokeUrl'] = $reader->getHeader('cmd'); diff --git a/styles/style.css b/styles/style.css index cb2f840..de2bd47 100644 --- a/styles/style.css +++ b/styles/style.css @@ -54,8 +54,8 @@ h2 { display:none; } -#selfcost_sum, -#callcost_sum { +#runtime_sum, +#invocation_sum { font-weight: bold; } diff --git a/templates/index.phtml b/templates/index.phtml index 95652a2..60f4e71 100644 --- a/templates/index.phtml +++ b/templates/index.phtml @@ -39,7 +39,8 @@ $("#data_file").html(data.dataFile); $("#invoke_url").html(data.invokeUrl); $("#mtime").html(data.mtime); - $("#selfcost_sum").html(data.summedRunTime); + $("#invocation_sum").html(data.summedInvocationCount); + $("#runtime_sum").html(data.summedRunTime); $("#hello_message").hide(); $("#trace_view").show(); @@ -229,7 +230,7 @@ <span id="data_file"></span> @ <span id="mtime"></span> </div> <div style="float:right;"> - Total Time : <span id="selfcost_sum"></span> µs + <span id="invocation_sum"></span> function calls in <span id="runtime_sum"></span> µs </div> <div style="clear:both"></div> <table class="tablesorter" id="function_table" cellspacing="0"> |