X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=planetlab%2Fincludes%2Fplc_functions.php;h=a51bf592188085b0a68566e338b7c32a60e99d11;hb=d143bfb2c9741d8f82c78ec97472c7648a750eed;hp=4befb9c8eae2ec08742b2c5e7c2f2526c18fe144;hpb=b1c4122c322491bf8d064919aa8f00c495695300;p=plewww.git diff --git a/planetlab/includes/plc_functions.php b/planetlab/includes/plc_functions.php index 4befb9c..a51bf59 100644 --- a/planetlab/includes/plc_functions.php +++ b/planetlab/includes/plc_functions.php @@ -1,6 +1,7 @@ "; } +function plc_debug_txt ($message,$txt) { + print "
" . $message . "
";
+  $txt=str_replace(" ","<SPC>",$txt);
+  $txt=str_replace("\t","<TAB>",$txt);
+  $txt=str_replace("\n","<LF>",$txt);
+  $txt=str_replace("\r","<CR>",$txt);
+  print $txt . "<EOF>";
+  print "
"; +} + $plc_prof_start=0.; $plc_prof_time=0.; $plc_prof_counter=0;