quantize() Function
quantize() (dtrd_action == DTRACEAGG_QUANTIZE)
The quantize() action stores unsigned 64-bit values in power-of-2 buckets, from -2^63 to 2^63. Thus, the data are stored as a 127-element array of unsigned 64-bit values, as shown in the following figure.
Data Format for the quantize() Action

This action provides the following macros:
-
DTRACE_QUANTIZE_NBUCKETS– Number of buckets -
DTRACE_QUANTIZE_ZEROBUCKET– Index of the zero bucket -
DTRACE_QUANTIZE_BUCKETVAL(bucket)– Value for the specified bucket