Functions | |
DR_APP_API int | dr_app_setup (void) |
DR_APP_API int | dr_app_cleanup (void) |
DR_APP_API void | dr_app_start (void) |
DR_APP_API void | dr_app_stop (void) |
DR_APP_API void | dr_app_take_over (void) |
DR_APP_API int dr_app_cleanup | ( | void | ) |
Application-wide cleanup. Prints statistics. Returns zero on success.
DR_APP_API int dr_app_setup | ( | void | ) |
Application-wide initialization. Must be called before any other API function, and before the application creates any threads. Returns zero on success.
DR_APP_API void dr_app_start | ( | void | ) |
Causes application to run under DR control upon return from this call.
DR_APP_API void dr_app_stop | ( | void | ) |
Causes application to run directly on the machine upon return from this call; no effect if application is not currently running under DR control.
DR_APP_API void dr_app_take_over | ( | void | ) |
Causes application to run under DR control upon return from this call. DR never releases control. Useful for overriding dr_app_start/dr_app_stop calls in the rest of a program.