Your wristwatch and atomic clocks retain time in related approaches: by measuring the vibrations of the quartz crystal. An electrical pulse is distributed with the quartz to make sure that it vibrates steadily.
NASA https://montyptor594112.aboutyoublog.com/31496559/how-much-you-need-to-expect-you-ll-pay-for-a-good-deep-space-crystal