Maybe you could also use the spinning fan from the computer that makes all these calculations, as another frequency reference. Although I'd want that particular calculation to be done in constant time, to avoid potential instability or hunting oscillation.