perf/core, sched: Don't use clock function pointer to determine clock