Home
last modified time | relevance | path

Searched refs:getloadavg (Results 1 – 7 of 7) sorted by relevance

/bionic/tests/
Dstdlib_test.cpp896 TEST(stdlib, getloadavg) { in TEST() argument
900 ASSERT_EQ(-1, getloadavg(load, -1)); in TEST()
901 ASSERT_EQ(-1, getloadavg(load, INT_MIN)); in TEST()
904 ASSERT_EQ(0, getloadavg(load, 0)); in TEST()
907 ASSERT_EQ(1, getloadavg(load, 1)); in TEST()
908 ASSERT_EQ(2, getloadavg(load, 2)); in TEST()
909 ASSERT_EQ(3, getloadavg(load, 3)); in TEST()
910 ASSERT_EQ(3, getloadavg(load, 4)); in TEST()
911 ASSERT_EQ(3, getloadavg(load, INT_MAX)); in TEST()
918 ASSERT_EQ(3, getloadavg(load, 3)); in TEST()
/bionic/libc/bionic/
Dgetloadavg.cpp33 int getloadavg(double averages[], int n) { in getloadavg() function
/bionic/libc/include/
Dstdlib.h157 int getloadavg(double __averages[], int __n) __INTRODUCED_IN(29);
/bionic/docs/
Dstatus.md68 * `getloadavg` (BSD/GNU extension in <stdlib.h>)
/bionic/tools/versioner/platforms/
Dlibc.map.txt1462 getloadavg;
/bionic/libc/
Dlibc.map.txt1462 getloadavg;
DAndroid.bp1051 "bionic/getloadavg.cpp",