DynamoRIO
_drx_time_scale_stat_t Struct Reference

#include <drx.h>

Data Fields

ptr_int_t count_attempted
 
ptr_int_t count_failed
 
ptr_int_t count_nop
 
ptr_int_t count_zero_to_nonzero
 
ptr_int_t count_time_too_large
 

Detailed Description

Statistics on scaling attempts for one application action type.

Field Documentation

◆ count_attempted

ptr_int_t _drx_time_scale_stat_t::count_attempted

Count of the instances that might need scaling. For timers, this counts the initial value and the interval separately. This is incremented in addition to any of the other counts; if the sum of the other counts is subtracted from this value, the result is the count of instances that were were successfully scaled to a larger duration without further categorization.

◆ count_failed

ptr_int_t _drx_time_scale_stat_t::count_failed

Count of the instances where scaling was attempted but failed.

◆ count_nop

ptr_int_t _drx_time_scale_stat_t::count_nop

Count of the instances ignored (disabled timers, sleep of 0, scale of 1, etc.).

◆ count_time_too_large

ptr_int_t _drx_time_scale_stat_t::count_time_too_large

Count of the instances where scaling could not be completed as the time fields would have overflowed. This indicates abnormal values used by the application which were so large scaling would not have mattered.

◆ count_zero_to_nonzero

ptr_int_t _drx_time_scale_stat_t::count_zero_to_nonzero

Count of instances converted from zero to non-zero before scaling.


The documentation for this struct was generated from the following file:
  • /home/runner/work/dynamorio/dynamorio/ext/drx/drx.h