We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1edaf5d commit 11d0cd9Copy full SHA for 11d0cd9
hxbit/NetworkStats.hx
@@ -218,9 +218,9 @@ class NetworkStats {
218
tot += p.bytes;
219
if( print == null )
220
print = #if sys Sys.println #else function(str) trace(str) #end;
221
- print("Network stats:");
+ print("Stats\tClass name\tCount\tBytes\t%");
222
for( p in all )
223
- print(" "+p.cl.name+"." + p.name+" count = " + p.count + ", bytes = " + p.bytes+" "+(Std.int(p.bytes*1000.0/tot)/10)+"%");
+ print("\t"+p.cl.name+"." + p.name+"\t" + p.count + "\t" + p.bytes + "\t" + (Std.int(p.bytes*1000.0/tot)/10));
224
}
225
226
public function reset() {
0 commit comments