/openbmc/linux/fs/proc/ |
H A D | uptime.c | 14 struct timespec64 uptime; in uptime_proc_show() local 28 ktime_get_boottime_ts64(&uptime); in uptime_proc_show() 29 timens_add_boottime(&uptime); in uptime_proc_show() 34 (unsigned long) uptime.tv_sec, in uptime_proc_show() 35 (uptime.tv_nsec / (NSEC_PER_SEC / 100)), in uptime_proc_show()
|
H A D | Makefile | 23 proc-y += uptime.o
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-test/cmocka/ |
H A D | cmocka_1.1.7.bb | 27 install -d ${D}${libdir}/${BPN}/example/mock/uptime 31 install -m 0755 ${B}/example/mock/uptime/uptime ${D}/${libdir}/${BPN}/example/mock/uptime 32 install -m 0755 ${B}/example/mock/uptime/test_uptime ${D}/${libdir}/${BPN}/example/mock/uptime 33 …install -m 0644 ${B}/example/mock/uptime/libproc_uptime.so ${D}/${libdir}/${BPN}/example/mock/libp…
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/collectd/collectd/ |
H A D | 0001-Remove-including-sys-sysctl.h-on-glibc-based-systems.patch | 21 src/uptime.c | 2 +- 37 diff --git a/src/uptime.c b/src/uptime.c 39 --- a/src/uptime.c 40 +++ b/src/uptime.c
|
/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | data_interface_test.cpp | 33 std::string uptime = dataIntf.getBMCUptime(seconds); in TEST() local 35 EXPECT_EQ(uptime, retUptime); in TEST()
|
/openbmc/linux/tools/testing/selftests/timens/ |
H A D | procfs.c | 68 static int read_proc_uptime(struct timespec *uptime) in read_proc_uptime() argument 89 uptime->tv_sec = up_sec; in read_proc_uptime() 90 uptime->tv_nsec = up_nsec; in read_proc_uptime()
|
/openbmc/openbmc/poky/scripts/ |
H A D | oe-time-dd-test.sh | 91 uptime 101 uptime
|
/openbmc/linux/tools/testing/selftests/proc/ |
H A D | .gitignore | 16 /proc-uptime-001 17 /proc-uptime-002
|
H A D | Makefile | 19 TEST_GEN_PROGS += proc-uptime-001 20 TEST_GEN_PROGS += proc-uptime-002
|
/openbmc/openbmc-test-automation/ffdc/ |
H A D | ffdc_config.yaml | 34 - 'echo -e "\n++++++++++ uptime;cat /proc/uptime ++++++++++" >> 36 - "uptime >> /tmp/OPENBMC_general.txt" 37 - "cat /proc/uptime >> /tmp/OPENBMC_general.txt" 226 - 'echo "\n++++++++++ uptime ++++++++++" >> /tmp/UBUNTU_general.txt' 227 - "uptime >> /tmp/UBUNTU_general.txt" 271 - 'echo -e "\n++++++++++ uptime ++++++++++" >> /tmp/RHEL_general.txt' 272 - "uptime >> /tmp/RHEL_general.txt" 315 - 'echo "\n++++++++++ uptime ++++++++++" >> /tmp/SLES_general.txt' 316 - "uptime >> /tmp/SLES_general.txt" 355 - 'echo "\n++++++++++ uptime ++++++++++" >> /tmp/AIX_general.txt' [all …]
|
/openbmc/openbmc/poky/meta/recipes-extended/procps/ |
H A D | procps_4.0.4.bb | 53 bindir_progs = "free pkill pmap pgrep pwdx skill snice top uptime w" 62 ALTERNATIVE:${PN}-doc = "kill.1 uptime.1" 64 ALTERNATIVE_LINK_NAME[uptime.1] = "${mandir}/man1/uptime.1"
|
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/test/ |
H A D | util_test.cpp | 135 double uptime, idleProcessTime; in TEST() local 136 EXPECT_EQ(metric_blob::parseProcUptime(content, uptime, idleProcessTime), in TEST() 138 EXPECT_LT(abs(uptime - 266923.67), eps); in TEST()
|
/openbmc/openbmc-test-automation/redfish/events/ |
H A D | test_bmc_snmp_config.robot | 175 # Reboot BMC to reset system uptime. 178 ${uptime}= Generate Error And Verify System Up Time 180 # Check if uptime is reset after reboot. 181 Should Be True ${uptime} <= 1 msg=SNMP SysUpTime is not reset on reboot 219 # Get system uptime on BMC. 220 # Example output of uptime: 223 ${cmd_output} ${stderr} ${rc}= BMC Execute Command cat /proc/uptime
|
H A D | test_bmc_snmp_trap.robot | 140 # Reboot BMC to reset system uptime. 143 ${uptime}= Generate Error And Verify System Up Time 145 # Check if uptime is reset after reboot. 146 Should Be True ${uptime} <= 1 msg=SNMP SysUpTime is not reset on reboot 310 # Get system uptime on BMC. 311 # Example output of uptime: 314 ${cmd_output} ${stderr} ${rc}= BMC Execute Command cat /proc/uptime
|
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/ |
H A D | metric.cpp | 358 double uptime = 0; in getUptimeMetric() local 362 if (!parseProcUptime(data, uptime, idleProcessTime)) in getUptimeMetric() 367 ret.uptime = uptime; in getUptimeMetric() 380 static_cast<double>(btm.powerOnSecCounterTime) - uptime; in getUptimeMetric()
|
H A D | util.hpp | 50 bool parseProcUptime(const std::string_view content, double& uptime,
|
H A D | README.md | 9 2. Uptime: uptime in wall clock time, idle process across all cores
|
H A D | util.cpp | 222 bool parseProcUptime(const std::string_view content, double& uptime, in parseProcUptime() argument 229 uptime = t0; in parseProcUptime()
|
/openbmc/linux/Documentation/hwmon/ |
H A D | corsair-psu.rst | 98 uptime Session uptime of the psu 99 uptime_total Total uptime of the psu
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | sysinfo.h | 9 long uptime; /* Seconds since boot */ member
|
/openbmc/linux/include/uapi/linux/ |
H A D | sysinfo.h | 9 __kernel_long_t uptime; /* Seconds since boot */ member
|
/openbmc/linux/tools/thermal/lib/ |
H A D | uptimeofday.c | 20 __offset = __tv.tv_sec - info.uptime; in uptimeofday_init()
|
/openbmc/openbmc/meta-openembedded/meta-xfce/recipes-panel-plugins/systemload/ |
H A D | xfce4-systemload-plugin_1.3.2.bb | 1 …"Panel plugin displaying current CPU load, the memory in use, the swap space and the system uptime"
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/nicstat/nicstat/ |
H A D | 0001-nicstat.c-Do-not-define-uint64_t-and-uint32_t.patch | 30 #define PROC_UPTIME "/proc/uptime"
|
/openbmc/qemu/hw/audio/ |
H A D | hda-codec.c | 226 int64_t uptime = now - st->buft_start; in hda_audio_input_timer() local 231 if (uptime <= 0) { in hda_audio_input_timer() 236 wanted_rpos = muldiv64(uptime, hda_bytes_per_second(st), in hda_audio_input_timer() 296 int64_t uptime = now - st->buft_start; in hda_audio_output_timer() local 301 if (uptime <= 0) { in hda_audio_output_timer() 306 wanted_wpos = muldiv64(uptime, hda_bytes_per_second(st), in hda_audio_output_timer()
|