I've used the PULSEIN command as a tachometer for years.

One trick is to employ a flip-flop in the signal chain that acts as a frequency divider. This has the effect of generating a single high pulse between two succesive edges, allowing the PULSEIN command to work, without having to switch context to time the high portion of the period and then the low portion of the period.