https://en.wikipedia.org/wiki/Balance_wheel
It is manually tuned, via weights and spring tension, to oscillate at a precise interval.