Home
last modified time | relevance | path

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

/openbmc/openbmc/poky/scripts/pybootchartgui/pybootchartgui/
H A Dparsing.py299 ltime = 0
322 …ess.last_user_cpu_time is not None and process.last_sys_cpu_time is not None and ltime is not None:
323 userCpuLoad, sysCpuLoad = process.calc_load(userCpu, sysCpu, max(1, time - ltime))
329 ltime = time
335 avgSampleLength = (ltime - startTime)/(len (timed_blocks) - 1)
337 return ProcessStats (writer, processMap, len (timed_blocks), avgSampleLength, startTime, ltime)
348 ltime = None
352 if ltime is None:
355 ltime = time
415 ltime = time
[all …]
/openbmc/linux/tools/perf/util/
H A Ddebug.c57 struct tm ltime; in fprintf_time() local
66 if (localtime_r(&tod.tv_sec, &ltime) == NULL) in fprintf_time()
69 strftime(date, sizeof(date), "%F %H:%M:%S", &ltime); in fprintf_time()
H A Dheader.c1774 struct tm ltime; in print_clock_data() local
1796 if (localtime_r(&tod_ns.tv_sec, &ltime) == NULL) in print_clock_data()
1799 strftime(date, sizeof(date), "%F %T", &ltime); in print_clock_data()
/openbmc/linux/tools/perf/
H A Dbuiltin-kvm.c1099 struct tm ltime; in show_timeofday() local
1102 if (localtime_r(&tv.tv_sec, &ltime)) { in show_timeofday()
1103 strftime(date, sizeof(date), "%H:%M:%S", &ltime); in show_timeofday()
H A Dbuiltin-script.c718 struct tm ltime; in tod_scnprintf() local
743 if (localtime_r(&sec, &ltime) == NULL) { in tod_scnprintf()
746 strftime(date, sizeof(date), DEFAULT_TOD_FMT, &ltime); in tod_scnprintf()
/openbmc/linux/net/xfrm/
H A Dxfrm_user.c652 struct xfrm_lifetime_cur *ltime; in xfrm_update_ae_params() local
653 ltime = nla_data(lt); in xfrm_update_ae_params()
654 x->curlft.bytes = ltime->bytes; in xfrm_update_ae_params()
655 x->curlft.packets = ltime->packets; in xfrm_update_ae_params()
656 x->curlft.add_time = ltime->add_time; in xfrm_update_ae_params()
657 x->curlft.use_time = ltime->use_time; in xfrm_update_ae_params()
/openbmc/ipmitool/src/plugins/lanplus/
H A Dlanplus.c2110 time_t ltime; in ipmi_lanplus_send_payload() local
2125 ltime = time(NULL); in ipmi_lanplus_send_payload()
2326 xmit = ((time(NULL) - ltime) >= session->timeout); in ipmi_lanplus_send_payload()