-->
options Causes DRA to analyse functions in a DLL.
The only valid specification is DLL(name)
If this option is specified, DRA installs the DLL interceptor.
If a name is specified then only the specified DLL will be intercepted (i.e. other DLL's are ignored).
If no name is specified then all DLL's will be intercepted.
If option TIME is in effect then the DLL interceptor: | |
---|---|
![]() |
takes a time measurement |
![]() |
loads the DLL |
![]() |
takes another time measurement after the load |
![]() |
computes the time used during the load and saves it for the report at the completion of the program |
![]() |
increment counter "number of loads" for the report at the completion of the program |
If option TRACE is in effect then the DLL interceptor: | |
---|---|
![]() |
traces the name of the DLL being loaded |
![]() |
traces the name of the program that loads the DLL |
![]() |
traces the time used by the load |
Example:
implicit load by main
load DLL BATFRAME TIME=49335 microsecs (cpu=2146 wait=47189)
After the DLL is loaded, the DLL interceptor installs a function interceptor for every DLL function that is represented by a Function Descriptor. Such a function will be analysed when it is called by the main program or by another DLL. The function interceptor that gets control when an DLL function is called is the same as for the functions in the main program. See option MAIN