You just need one of these analog master clocks. The pointer reads zero if pendulum time is equal to line frequency time. I assume mathematically it integrates the difference over time. https://electricclock.omeka.net/items/show/6 Thomas D. Erb www.electrictime.com