[Bug 262273] Subsuquent Calls to clock_gettime(CLOCK_THREAD_CPUTIME_ID,... ) return time in the past
Date: Tue, 01 Mar 2022 14:09:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262273 firk@cantconnect.ru changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |firk@cantconnect.ru --- Comment #1 from firk@cantconnect.ru --- That could happen when CPU frequency still not reached its maximum value. The cpu_time is calculated as cpu_time = cpu_ticks / max_cpu_tickrate, and when max_cpu_tickrate increasing, cpu_time decreasing. Did you tested this on not just-powered-up system? Try to run the test multiple times. -- You are receiving this mail because: You are the assignee for the bug.