--- zzzz-none-000/linux-3.18.24/kernel/time/posix-timers.c 2015-10-31 20:39:51.000000000 +0000 +++ rtl96-5690pro-762/linux-3.18.24/kernel/time/posix-timers.c 2024-08-14 08:36:37.000000000 +0000 @@ -1017,6 +1017,10 @@ return kc->clock_set(which_clock, &new_tp); } + +#ifdef CONFIG_CMCC_DMIPS +extern void cmcc_coremark_process(struct timespec *tp); +#endif SYSCALL_DEFINE2(clock_gettime, const clockid_t, which_clock, struct timespec __user *,tp) { @@ -1028,7 +1032,9 @@ return -EINVAL; error = kc->clock_get(which_clock, &kernel_tp); - +#ifdef CONFIG_CMCC_DMIPS + cmcc_coremark_process(&kernel_tp); +#endif if (!error && copy_to_user(tp, &kernel_tp, sizeof (kernel_tp))) error = -EFAULT;