Minor: add method for printing thread name
This commit is contained in:
@@ -121,6 +121,11 @@ public class Profiler {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Profiler printThreadName() {
|
||||||
|
println(Thread.currentThread().getName() + " ", name);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
public Profiler start() {
|
public Profiler start() {
|
||||||
if (paused) {
|
if (paused) {
|
||||||
start = System.nanoTime();
|
start = System.nanoTime();
|
||||||
|
|||||||
Reference in New Issue
Block a user