DynamoRIO
|
_drx_time_scale_t Struct Reference
#include <drx.h>
Data Fields | |
size_t | struct_size |
uint | timer_scale |
uint | timeout_scale |
Detailed Description
Specifies how much to scale each time-based application behavior.
Field Documentation
◆ struct_size
size_t _drx_time_scale_t::struct_size |
Users must set this to the structure size. This provides compatibility when fields are added.
◆ timeout_scale
uint _drx_time_scale_t::timeout_scale |
Specifies how to scale timeouts passed by the application to system calls. This is separated from timers to provide more granular control over these two conceptually different types of delayed actions with often different application uses and impacts from modifications. Only positive values are supported. Each timeout is multiplied by this value.
- Note
- This only supports the Linux nanosleep and clock_nanosleep system calls at this time.
◆ timer_scale
uint _drx_time_scale_t::timer_scale |
Specifies how much to scale timers set up by the application. Only positive values are supported. Each timer's duration (both initial and periodic) is multiplied by this value.
The documentation for this struct was generated from the following file:
- /home/runner/work/dynamorio/dynamorio/ext/drx/drx.h