[PATCH openEuler-22.09 v2 001/391] bpf: Consolidate shared test timing code