63 lines
57 KiB
Plaintext
63 lines
57 KiB
Plaintext
1
|
||
|
||
Lisp Library Modules, Medley Release 1.0, SPY
|
||
1
|
||
|
||
Lisp Library Modules, Medley Release 1.0, SPY
|
||
SPY
|
||
1
|
||
|
||
SPY
|
||
1
|
||
|
||
|
||
SPY
|
||
6
|
||
|
||
Spy(SPY NIL Spy NIL NIL 233) is a tool to help you make programs run faster by giving you a picture of where the program is spending its time.
|
||
Description
|
||
1
|
||
|
||
Spy has two parts: a sampler and a displayer. The sampler runs while your program is running, and it monitors what your program is doing. The displayer displays the data gathered by the sampler.
|
||
The sampler(SAMPLER NIL sampler NIL NIL 233) periodically interrupts the running program to account the functions in the current call stack(CALL% STACK NIL call% stack NIL NIL 233). This allows Spy to remember not only (proportionally) how long is spent in each individual function, but also how long each function is seen on the call stack. The sampler data structures minimize interference with the normal running of the program ÿÿ |