[PATCH openEuler-22.09 131/379] bpf: Consolidate shared test timing code