Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   riastradh
Date:           Sat Jul  8 20:02:10 UTC 2023

Modified Files:
        src/sys/kern: kern_resource.c subr_time.c
        src/sys/sys: resourcevar.h
        src/tests/lib/libc/sys: t_clock_gettime.c

Log Message:
clock_gettime(2): Fix CLOCK_PROCESS/THREAD_CPUTIME_ID.

Use same calculation as getrusage, not some ad-hoc arithmetic of
internal scheduler parameters that are periodically rewound.

PR kern/57512

XXX pullup-8
XXX pullup-9
XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.190 -r1.191 src/sys/kern/kern_resource.c
cvs rdiff -u -r1.37 -r1.38 src/sys/kern/subr_time.c
cvs rdiff -u -r1.57 -r1.58 src/sys/sys/resourcevar.h
cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libc/sys/t_clock_gettime.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index