Home
last modified time | relevance | path

Searched refs:uptime (Results 1 – 25 of 72) sorted by relevance

123

/openbmc/linux/fs/proc/
H A Duptime.c14 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 DMakefile23 proc-y += uptime.o
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-test/cmocka/
H A Dcmocka_1.1.7.bb27 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 D0001-Remove-including-sys-sysctl.h-on-glibc-based-systems.patch21 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 Ddata_interface_test.cpp33 std::string uptime = dataIntf.getBMCUptime(seconds); in TEST() local
35 EXPECT_EQ(uptime, retUptime); in TEST()
/openbmc/linux/tools/testing/selftests/timens/
H A Dprocfs.c68 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 Doe-time-dd-test.sh91 uptime
101 uptime
/openbmc/linux/tools/testing/selftests/proc/
H A D.gitignore16 /proc-uptime-001
17 /proc-uptime-002
H A DMakefile19 TEST_GEN_PROGS += proc-uptime-001
20 TEST_GEN_PROGS += proc-uptime-002
/openbmc/openbmc-test-automation/ffdc/
H A Dffdc_config.yaml34 - '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 Dprocps_4.0.4.bb53 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 Dutil_test.cpp135 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 Dtest_bmc_snmp_config.robot175 # 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 Dtest_bmc_snmp_trap.robot140 # 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 Dmetric.cpp358 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 Dutil.hpp50 bool parseProcUptime(const std::string_view content, double& uptime,
H A DREADME.md9 2. Uptime: uptime in wall clock time, idle process across all cores
H A Dutil.cpp222 bool parseProcUptime(const std::string_view content, double& uptime, in parseProcUptime() argument
229 uptime = t0; in parseProcUptime()
/openbmc/linux/Documentation/hwmon/
H A Dcorsair-psu.rst98 uptime Session uptime of the psu
99 uptime_total Total uptime of the psu
/openbmc/qemu/include/standard-headers/linux/
H A Dsysinfo.h9 long uptime; /* Seconds since boot */ member
/openbmc/linux/include/uapi/linux/
H A Dsysinfo.h9 __kernel_long_t uptime; /* Seconds since boot */ member
/openbmc/linux/tools/thermal/lib/
H A Duptimeofday.c20 __offset = __tv.tv_sec - info.uptime; in uptimeofday_init()
/openbmc/openbmc/meta-openembedded/meta-xfce/recipes-panel-plugins/systemload/
H A Dxfce4-systemload-plugin_1.3.2.bb1 …"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 D0001-nicstat.c-Do-not-define-uint64_t-and-uint32_t.patch30 #define PROC_UPTIME "/proc/uptime"
/openbmc/qemu/hw/audio/
H A Dhda-codec.c226 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()

123