org.hsql
Class Profile

java.lang.Object
  |
  +--org.hsql.Profile

public class Profile
extends java.lang.Object

This class is used to test and profile Hypersonic SQL. Before it can be used, the source code of the database must be changed using CodeSwitcher, then compiled, then the test program must be run, and at the end the static function listUnvisited must be called. This will list all not visited lines and it will print out the top 20 lines with the most visits, the longest run and the longest run per call.

This class is generic can be used to profile also other programs.


Constructor Summary
Profile()
           
 
Method Summary
static void listUnvisited()
           
static void visit(java.lang.String file, int line, int maxline)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Profile

public Profile()
Method Detail

visit

public static void visit(java.lang.String file,
                         int line,
                         int maxline)

listUnvisited

public static void listUnvisited()