Minor: add method for printing thread name

This commit is contained in:
Nikolay Krasko
2015-05-24 23:55:26 +03:00
parent 6d7cc8bc02
commit 818bfce1f1
@@ -121,6 +121,11 @@ public class Profiler {
return this;
}
public Profiler printThreadName() {
println(Thread.currentThread().getName() + " ", name);
return this;
}
public Profiler start() {
if (paused) {
start = System.nanoTime();