|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jess.tools.Profiler
public class Profiler
A poor man's profiler. You can call "inc" and "dec" to increment and decrement a named counter. This class automatically produces a report at shutdown if anything is ever counted. There's nothing Jess-specific about this class; it's just a useful utility.
(C) Sandia National Laboratories
Constructor Summary | |
---|---|
Profiler()
|
Method Summary | |
---|---|
static void |
dec(java.lang.String name)
Decrement the count associated with the given name. |
static void |
inc(java.lang.String name)
Increment the count associated with the given name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Profiler()
Method Detail |
---|
public static void inc(java.lang.String name)
name
- any stringpublic static void dec(java.lang.String name)
name
- any string
|
© 2013 Sandia Corporation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |