#include <ts/ts.h>
TSHttpTxnMilestoneGet() will fetch a specific milestone timer value for the current request. These timers are calculated during the lifetime of a transaction, and are all in TSHRTime units (nanoseconds), measured from the beginning of the transaction. The time argument is a pointer to a valid TSHRtime storage, and is set upon success.
The supported TSMilestonesType milestone types are:
TS_SUCCESS or TS_ERROR.
TSAPI(3ts)