aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/getsysstats.c
AgeCommit message (Expand)AuthorFilesLines
2022-02-07linux: fix accuracy of get_nprocs and get_nprocs_conf [BZ #28865]Dmitry V. Levin1-31/+63
2022-02-03linux: __get_nprocs_sched: do not feed CPU_COUNT_S with garbage [BZ #28850]Gleb Fotengauer-Malinovskiy1-1/+1
2022-01-01Update copyright dates with scripts/update-copyrightsPaul Eggert1-1/+1
2021-11-25linux: Use /proc/stat fallback for __get_nprocs_conf (BZ #28624)Adhemerval Zanella1-25/+35
2021-09-27linux: Revert the use of sched_getaffinity on get_nproc (BZ #28310)Adhemerval Zanella1-5/+134
2021-09-27linux: Simplify get_nprocsAdhemerval Zanella1-50/+18
2021-09-27misc: Add __get_nprocs_schedAdhemerval Zanella1-0/+6
2021-09-03Remove "Contributed by" linesSiddhesh Poyarekar1-1/+0
2021-06-30Linux: Avoid calling malloc indirectly from __get_nprocsFlorian Weimer1-26/+57
2021-05-07linux: Remove /proc/cpuinfo fallback on alpha and sparcAdhemerval Zanella1-21/+1
2021-05-07linux: Use sched_getaffinity for __get_nprocs (BZ #27645)Adhemerval Zanella1-195/+22
2021-01-02Update copyright dates with scripts/update-copyrightsPaul Eggert1-1/+1
2020-12-09Fix parsing of /sys/devices/system/cpu/online (bug 25859)Andreas Schwab1-2/+3
2020-01-01Update copyright dates with scripts/update-copyrights.Joseph Myers1-1/+1
2019-10-30Change most internal uses of time to __clock_gettime.Adhemerval Zanella1-1/+1
2019-09-07Prefer https to http for gnu.org and fsf.org URLsPaul Eggert1-1/+1
2019-01-01Update copyright dates with scripts/update-copyrights.Joseph Myers1-1/+1
2018-01-01Update copyright dates with scripts/update-copyrights.Joseph Myers1-1/+1
2017-10-01Hide internal sysinfo functions [BZ #18822]H.J. Lu1-0/+4
2017-08-18Consolidate non cancellable close callAdhemerval Zanella1-3/+3
2017-08-18Consolidate non cancellable read callAdhemerval Zanella1-2/+2
2017-08-17Consolidate non cancellable open callAdhemerval Zanella1-3/+3
2017-07-04sysconf: Use conservative default for _SC_NPROCESSORS_ONLN [BZ #21542]Florian Weimer1-1/+4
2017-01-01Update copyright dates with scripts/update-copyrights.Joseph Myers1-1/+1
2016-01-04Update copyright dates with scripts/update-copyrights.Joseph Myers1-1/+1
2015-09-12linux/getsysstats.c: use sysinfo() instead of parsing /proc/meminfoRasmus Villemoes1-58/+30
2015-01-02Update copyright dates with scripts/update-copyrights.Joseph Myers1-1/+1
2014-11-12Fix __get_nprocs fgets_unlocked namespace (bug 17582).Joseph Myers1-1/+1
2014-06-25Remove __ASSUME_O_CLOEXEC / O_CLOEXEC conditionals in sysdeps/unix/sysv/linux/.Joseph Myers1-4/+0
2014-06-25Remove stray includes of kernel-features.h.Joseph Myers1-1/+0
2014-06-13get_nprocs: Only return explictly set cache values (BZ #16996)Meador Inge1-2/+2
2014-01-01Update copyright notices with scripts/update-copyrightsAllan McRae1-1/+1
2013-06-08Use (void) in no-arguments function definitions.Joseph Myers1-4/+4
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers1-1/+1
2012-05-15Remove duplicate #include <not-cancel.h> in Linux getsysstats.cChris Metcalf1-2/+0
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert1-3/+2
2011-11-15Clean up internal fopen usesUlrich Drepper1-1/+1
2011-09-06Avoid gettimeofday vsyscallUlrich Drepper1-19/+3
2011-06-26Use __gettimeofday instead of gettimeofdayH.J. Lu1-1/+1
2011-06-22Use a /sys/devices/system/cpu/online for _SC_NPROCESSORS_ONLN implementationUlrich Drepper1-3/+49
2011-06-22Rate limit expensive _SC_NPROCESSORS_ONLN computationUlrich Drepper1-1/+31
2010-04-03Remove incorrect paring of /proc/stat etc.Ryan S. Arnold1-13/+1
2009-04-15* sysdeps/unix/sysv/linux/getsysstats.c (next_line): Make sure therecvs/fedora-glibc-20090415T1619Ulrich Drepper1-4/+36
2009-02-15* sysdeps/unix/sysv/linux/getsysstats.c (next_line): New function.Ulrich Drepper1-19/+66
2007-08-01* sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): UsingUlrich Drepper1-59/+5
2007-08-01* sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs_conf): CountUlrich Drepper1-39/+68
2007-07-31(__get_nprocs): Use /sys filesystem to determine which processors are online.Ulrich Drepper1-1/+51
2006-01-16Don't search for proc mount point. We assume procfs is mounted at /proc in m...Ulrich Drepper1-145/+39
2004-12-22(CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.Ulrich Drepper1-39/+145
2007-07-122.5-18.1Jakub Jelinek1-145/+39