sandmark.watermark.objectwm
Class Profiler
java.lang.Object
|
+--sandmark.watermark.objectwm.Profiler
- public class Profiler
- extends java.lang.Object
This class implements the code profiler that collects the frequently
occuring instruction groups from various applications;
Required for constructing the codeBook
usage : java -classpath .... Profiler numJars profileLength printThreshold jarFiles...
Constructor Summary |
(package private) |
Profiler(java.lang.String jarInput,
int length)
|
Method Summary |
static java.lang.String[] |
containsKey(java.util.Hashtable hTable,
java.lang.Object key)
|
static void |
getCommonTable(Profiler[] p,
int prLength,
int prThresh)
|
static void |
main(java.lang.String[] args)
|
static void |
printHashTable(java.util.Hashtable hTable,
java.lang.String mesg,
int profLength,
int printThreshold)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
masterTable
java.util.Hashtable masterTable
maxProfileLength
int maxProfileLength
myCFC
ClassFileCollection myCFC
Profiler
Profiler(java.lang.String jarInput,
int length)
printHashTable
public static void printHashTable(java.util.Hashtable hTable,
java.lang.String mesg,
int profLength,
int printThreshold)
containsKey
public static java.lang.String[] containsKey(java.util.Hashtable hTable,
java.lang.Object key)
getCommonTable
public static void getCommonTable(Profiler[] p,
int prLength,
int prThresh)
main
public static void main(java.lang.String[] args)