BBjAPI::getFunctionDebugNanoTimes
Description
This method is used by the BBj Function Debugging subsystem.
Syntax
Return Value |
Method |
---|---|
HashMap<String,Long> |
getFunctionDebugNanoTimes() |
Parameters
None.
Return Value
A map keyed by function name, containing all functions used during this BBjServices run (or since resetFunctionDebug() was called). This returns total execution time for each function, measured in nanoseconds.
Remarks
For complete details, see BBj Function Debugging.
Example
|
Sample Run
com.basis.bbj.funcs.debug=true
resetFunctionDebug()
Use some BBj functions....
LEVEL 6 REV 21.02
01:36:34 pm
Report function timing statistics....
{BBJAPI=1, CVS=1, DATE=1, LEN=2, REV=1, SQR=2, SYS=1}
{BBJAPI=4821, CVS=18971, DATE=204105, LEN=2742, REV=19530, SQR=89605, SYS=2259}
BBJAPI was used 1 time(s) for a total of .004821 ms (average .004821 ms)
CVS was used 1 time(s) for a total of .018971 ms (average .018971 ms)
DATE was used 1 time(s) for a total of .204105 ms (average .204105 ms)
LEN was used 2 time(s) for a total of .002742 ms (average .001371 ms)
REV was used 1 time(s) for a total of .01953 ms (average .01953 ms)
SQR was used 2 time(s) for a total of .089605 ms (average .0448025 ms)
SYS was used 1 time(s) for a total of .002259 ms (average .002259 ms)
READY
>
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.