Barrel mounted, electromagnetic chronograph