newlib-cygwin/newlib/libc/sys/rtems
Alan Somers 27dfb5f33f Correctly measure system load averages > 1024
The old fixed-point arithmetic used for calculating load averages had an
overflow at 1024.  So on systems with extremely high load, the observed
load average would actually fall back to 0 and shoot up again, creating
a kind of sawtooth graph.

Fix this by using 64-bit math internally, while still reporting the load
average to userspace as a 32-bit number.

Sponsored by:	Axcient
Reviewed by:	imp
Differential Revision: https://reviews.freebsd.org/D35134
2022-07-11 13:19:29 +02:00
..
include Correctly measure system load averages > 1024 2022-07-11 13:19:29 +02:00
Makefile.inc newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
cpusetalloc.c Make CPU_SET macros compliant with other implementations 2022-06-22 10:28:42 +02:00
cpusetfree.c 2013-11-27 Sebastian Huber <sebastian.huber@embedded-brains.de> 2013-11-27 14:53:59 +00:00
crt0.c libc/sys/rtems/crt0.c: Fix two warnings. 2021-06-17 12:58:36 -05:00
dummysys.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00