Constructor and Description |
---|
Profiler() |
Modifier and Type | Method and Description |
---|---|
String |
getMethodCsv()
Stop and obtain the self execution time of methods, each as a row in CSV
format.
|
String |
getPackageCsv()
Stop and obtain the self execution time of packages, each as a row in CSV
format.
|
String |
getTopLines(int num)
Stop and obtain the top lines, ordered by their execution time.
|
String |
getTopMethods(int num)
Stop and obtain the top methods, ordered by their self execution time.
|
String |
getTopPackages(int num)
Stop and obtain the top packages, ordered by their self execution time.
|
void |
pauseCollecting()
Pause collecting.
|
void |
run() |
void |
startCollecting()
Start collecting profiling data.
|
void |
stopCollecting()
Stop collecting.
|
public void startCollecting()
public void stopCollecting()
public void pauseCollecting()
public String getTopPackages(int num)
num
- number of top packagespublic String getPackageCsv()
public String getTopMethods(int num)
num
- number of top methodspublic String getMethodCsv()
public String getTopLines(int num)
num
- number of top linesCopyright © 2022 VanillaDB Organization. All rights reserved.