Using a timer seems at least as brittle as the other options, but will probably be right. Using a counter and a comparator is probably the right call for you.
Still, I can't help but ask, "Can't OpenPeripherals, MiscPeripherals, or OpenCCSensors give you a more precise reading? Why guess when...