1. A method for determining frequency drift of an oscillator, comprising: obtaining a plurality of residual values during an age drift rate calculation period, wherein each of the plurality of residual values corresponds to a difference between an oscillator output signal and a reference signal; integrating the plurality of residual values to generate an integrated aging quantity; and determining an age drift rate of the oscillator output signal based on the integrated aging quantity.