HSMADM_GetRtcAdjustAmount

Get the effective total amount, in milliseconds, of adjustment made to the RTC using the HSMADM_AdjustTime() function.

 

Synopsis

#include hsmadmin.h 
HSMADM_RV HSMADM_GetRtcAdjustAmount(unsigned int hsmIndex, long *totalMs);
Parameter Description
hsmIndex Zero-based index of the HSM number to be used.
totalMs Address of the variable that will contain the total amount adjusted. The total amount adjusted is calculated by summing the adjust amounts specified via a valid HSMADM_AdjustTime() call. For instance if two adjustments are made of 20ms and -3ms this parameter should return 17ms. This parameter must not be NULL. This parameter is only valid if RTC Access Control is enabled. RTC Access Control can be modified via the ctconf utility.