Here are the revision
monitoring methods:
getRevisionHitCount
long getRevisionHitCount(long moduleContext,
int revision)
Returns the aggregate
total number of times any method of the revision has been called since
the revision was created.
Parameters
moduleContext - The
opaque pointer returned from newModuleContext().
revision - The revision
number returned from newRevision().
Return
The number of times
the revision methods have been called.
getRevisionAvgLatency
double getRevisionAvgLatency(long moduleContext,
int revision)
Returns the average
execution latency, in seconds, of method calls on the specified revision.
Parameters
moduleContext - The
opaque pointer returned from newModuleContext().
revision - The revision
number returned from newRevision().
Return
The average length
of time, in seconds, spent in method execution. The average includes
all methods of the specified revision.
getTotalRevisionExecutionTimeSeconds
double getTotalRevisionExecutionTimeSeconds(long moduleContext,
int revision)
Returns the total time,
in seconds, spent executing methods of the specified revision.
Parameters
moduleContext - The
opaque pointer returned from newModuleContext().
revision - The revision
number returned from newRevision().
Return
The total length of
time, in seconds, spent in method execution. The total includes all
methods of the specified revision.