|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.almworks.sqlite4java.SQLiteProfiler
public class SQLiteProfiler
SQLiteProfiler measures and accumulates statistics for various SQLite methods. The statistics is then available in a report form.
To start profiling, call SQLiteConnection.profile()
and get the profiler. After profiling is done, call
SQLiteConnection.stopProfiling()
and inspect the profiler's results.
This is pure Java-based profiling, not related to sqlite3_profile
method.
SQLiteConnection.profile()
,
SQLiteConnection.stopProfiling()
Constructor Summary | |
---|---|
SQLiteProfiler()
|
Method Summary | |
---|---|
java.lang.String |
printReport()
Returns current report as a String. |
void |
printReport(java.io.PrintWriter out)
Outputs current report into PrintWriter. |
void |
printReport(java.lang.String file)
Prints report to a file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SQLiteProfiler()
Method Detail |
---|
public void printReport(java.io.PrintWriter out)
out
- report writerpublic java.lang.String printReport()
public void printReport(java.lang.String file)
file
- target file
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |