How to get the PRC from timings

The following method describes how can one obtain the PRC as a function of timings of pulses. $latex T_1, T_2 $ are the timings. ts is the time of perturbation. $latex T_1$ is the free running period and $latex T_2 $is the perturbed period.