edu.umass.cs.sase.engine
Class Profiling

java.lang.Object
  extended by edu.umass.cs.sase.engine.Profiling

public class Profiling
extends java.lang.Object

This class profiles the numbers of performance

Author:
haopeng

Field Summary
static long negatedMatches
           
static long numberOfEvents
          The number of events processed
static long numberOfMatches
          The number of matches
static long numberOfMergedRuns
          number of runs merged in the sharing engine
static long numberOfRuns
          The number of runs generated
static long numberOfRunsCutted
          The number of runs which ends before reach the final state
static long numberOfRunsOverTimeWindow
          The number of runs which are deleted because of they violate the time window constraint
static long timeOfMatchConstruction
          The cost on match construction
static long totalRunLifeTime
          The total run lifetime
static long totalRunTime
          The total running time of the engine (nanoseconds)
 
Constructor Summary
Profiling()
           
 
Method Summary
static void printProfiling()
          prints the profiling numbers in console
static void printSharingProfiling()
          outputs the extra profiling numbers for the sharing engine
static void resetProfiling()
          resets the profiling numbers
static void resetSharingProfiling()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

totalRunTime

public static long totalRunTime
The total running time of the engine (nanoseconds)


numberOfEvents

public static long numberOfEvents
The number of events processed


numberOfRuns

public static long numberOfRuns
The number of runs generated


totalRunLifeTime

public static long totalRunLifeTime
The total run lifetime


numberOfMatches

public static long numberOfMatches
The number of matches


numberOfRunsCutted

public static long numberOfRunsCutted
The number of runs which ends before reach the final state


numberOfRunsOverTimeWindow

public static long numberOfRunsOverTimeWindow
The number of runs which are deleted because of they violate the time window constraint


timeOfMatchConstruction

public static long timeOfMatchConstruction
The cost on match construction


negatedMatches

public static long negatedMatches

numberOfMergedRuns

public static long numberOfMergedRuns
number of runs merged in the sharing engine

Constructor Detail

Profiling

public Profiling()
Method Detail

resetProfiling

public static void resetProfiling()
resets the profiling numbers


printProfiling

public static void printProfiling()
prints the profiling numbers in console


resetSharingProfiling

public static void resetSharingProfiling()

printSharingProfiling

public static void printSharingProfiling()
outputs the extra profiling numbers for the sharing engine