[PATCH openEuler-5.10 72/81] bpf: Consolidate shared test timing code