calculate the time between 2 rising edge

hi can anyone help me i need to calculate the time between 2 rising edge of square wave signal the first signal is relayed with pc10 the second with pc11

that is the schematic :

s14.postimg.org/.../counter1.png

More questions in this forum