diff options
| author | Patrick Seeger <pseeger@ccwn.org> | 2012-04-13 23:11:05 +0200 |
|---|---|---|
| committer | Patrick Seeger <pseeger@ccwn.org> | 2012-04-13 23:11:05 +0200 |
| commit | 341cc4dd9c53ffbfb863e026dd58549c1082c7a7 (patch) | |
| tree | 1bbbed20313bafb9b063b6b4d894fe580d8b000f /framework/views/fr/profile-callstack-firebug.php | |
Diffstat (limited to 'framework/views/fr/profile-callstack-firebug.php')
| -rw-r--r-- | framework/views/fr/profile-callstack-firebug.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/framework/views/fr/profile-callstack-firebug.php b/framework/views/fr/profile-callstack-firebug.php new file mode 100644 index 0000000..cfe1a26 --- /dev/null +++ b/framework/views/fr/profile-callstack-firebug.php @@ -0,0 +1,19 @@ +<script type="text/javascript"> +/*<![CDATA[*/ +if(typeof(console)=='object') +{ + console.group("Profiling Callstack Report"); +<?php +foreach($data as $index=>$entry) +{ + list($proc,$time,$level)=$entry; + $proc=CJavaScript::quote($proc); + $time=sprintf('%0.5f',$time); + $spaces=str_repeat(' ',$level*8); + echo "\tconsole.log(\"[$time]{$spaces}{$proc}\");\n"; +} +?> + console.groupEnd(); +} +/*]]>*/ +</script>
\ No newline at end of file |
