/bionic/libc/bionic/ |
getloadavg.cpp | 33 int getloadavg(double averages[], int n) { function
|
/bionic/tests/ |
stdlib_test.cpp | 841 TEST(stdlib, getloadavg) { 845 ASSERT_EQ(-1, getloadavg(load, -1)); 846 ASSERT_EQ(-1, getloadavg(load, INT_MIN)); 849 ASSERT_EQ(0, getloadavg(load, 0)); 852 ASSERT_EQ(1, getloadavg(load, 1)); 853 ASSERT_EQ(2, getloadavg(load, 2)); 854 ASSERT_EQ(3, getloadavg(load, 3)); 855 ASSERT_EQ(3, getloadavg(load, 4)); 856 ASSERT_EQ(3, getloadavg(load, INT_MAX)); 863 ASSERT_EQ(3, getloadavg(load, 3)) [all...] |
/external/lz4/tests/ |
test-lz4-speed.py | 150 while os.getloadavg()[0] > args.maxLoadAvg: 152 % (os.getloadavg()[0], args.maxLoadAvg, sleepTime)) 154 start_load = str(os.getloadavg()) 156 end_load = str(os.getloadavg()) 328 loadavg = os.getloadavg()[0]
|
/device/linaro/bootloader/arm-trusted-firmware/include/lib/stdlib/ |
stdlib.h | 272 int getloadavg(double [], int);
|
/bionic/libc/include/ |
stdlib.h | 151 * [getloadavg(3)](http://man7.org/linux/man-pages/man3/getloadavg.3.html) queries the 157 int getloadavg(double __averages[], int __n) __INTRODUCED_IN(29);
|
/external/google-benchmark/src/ |
sysinfo.cc | 660 std::vector<double> GetLoadAvg() { 666 const int nelem = getloadavg(res.data(), kMaxSamples); 690 load_avg(GetLoadAvg()) {}
|
/external/libcxx/utils/google-benchmark/src/ |
sysinfo.cc | 611 std::vector<double> GetLoadAvg() { 617 const int nelem = getloadavg(res.data(), kMaxSamples); 641 load_avg(GetLoadAvg()) {}
|
/device/linaro/bootloader/edk2/StdLibPrivateInternalFiles/Include/ |
namespace.h | 290 #define getloadavg _getloadavg
|
/external/python/cpython3/Lib/test/libregrtest/ |
main.py | 149 if hasattr(os, 'getloadavg'): 150 load_avg_1min = os.getloadavg()[0]
|
/external/python/cpython2/Lib/test/ |
regrtest.py | 676 if hasattr(os, 'getloadavg'): 677 load_avg_1min = os.getloadavg()[0] [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
posixmodule.c | [all...] |
/external/python/cpython2/Modules/ |
posixmodule.c | [all...] |
/external/python/cpython3/Modules/ |
posixmodule.c | [all...] |
/external/python/cpython2/ |
configure | [all...] |
/external/python/cpython3/ |
configure | [all...] |