SandMark version 3.0


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...


Field Summary
(package private)  java.util.Hashtable masterTable
           
(package private)  int maxProfileLength
           
(package private)  ClassFileCollection myCFC
           
 
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
 

Field Detail

masterTable

java.util.Hashtable masterTable

maxProfileLength

int maxProfileLength

myCFC

ClassFileCollection myCFC
Constructor Detail

Profiler

Profiler(java.lang.String jarInput,
         int length)
Method Detail

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)

SandMark version 3.0

Wed Jan 29 10:30:05 MST 2003