Resilient Estimation of Synchronization Uncertainty through Software Clocks