|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
---|---|
CounterFactory | CounterFactory is a state-less instrumentation package,
with the goal of making it as easy as possible to add counters
and timers to executable code. |
RuntimeMethodCloner | RuntimeMethodCloner creates 'shadow' copies of all
non-virtual methods called in harpoon.Runtime.Counters
and places them in the Counters class. |
This package defines a facility for simple counters which can easily
be spliced into a quad-form code for instrumentation purposes and
enabled/disabled individually or in groups by properties on the
command-line. Basically, a single line to increment the counter
is all you need: no complicated declaration or reporting code is
needed -- although you should make sure that the
HCodeFactory
defined by
harpoon.Analysis.Counters.CounterFactory.codeFactory()
is somewhere
in your compilation path if you want the numbers collected to
be reported when the program finishes.
|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |