T-scanner for measuring pulse durations