Ultrafast time resolution in scanning probe microscopy of repetitive phenomena