I would use 1 timer/ccp to generate a constant interrupt as a timebase. Inside the isr you can count in order to get your frequencies...