Home
last modified time | relevance | path

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

/OK3568_Linux_fs/yocto/poky/scripts/pybootchartgui/pybootchartgui/
H A Dparsing.py296 ltime = 0
319 …ess.last_user_cpu_time is not None and process.last_sys_cpu_time is not None and ltime is not None:
320 userCpuLoad, sysCpuLoad = process.calc_load(userCpu, sysCpu, max(1, time - ltime))
326 ltime = time
332 avgSampleLength = (ltime - startTime)/(len (timed_blocks) - 1)
334 return ProcessStats (writer, processMap, len (timed_blocks), avgSampleLength, startTime, ltime)
345 ltime = None
349 if ltime is None:
352 ltime = time
412 ltime = time
[all …]
/OK3568_Linux_fs/kernel/tools/perf/
H A Dbuiltin-kvm.c594 struct tm ltime; in show_timeofday() local
597 if (localtime_r(&tv.tv_sec, &ltime)) { in show_timeofday()
598 strftime(date, sizeof(date), "%H:%M:%S", &ltime); in show_timeofday()
H A Dbuiltin-script.c637 struct tm ltime; in tod_scnprintf() local
662 if (localtime_r(&sec, &ltime) == NULL) { in tod_scnprintf()
665 strftime(date, sizeof(date), DEFAULT_TOD_FMT, &ltime); in tod_scnprintf()
/OK3568_Linux_fs/kernel/net/xfrm/
H A Dxfrm_user.c542 struct xfrm_lifetime_cur *ltime; in xfrm_update_ae_params() local
543 ltime = nla_data(lt); in xfrm_update_ae_params()
544 x->curlft.bytes = ltime->bytes; in xfrm_update_ae_params()
545 x->curlft.packets = ltime->packets; in xfrm_update_ae_params()
546 x->curlft.add_time = ltime->add_time; in xfrm_update_ae_params()
547 x->curlft.use_time = ltime->use_time; in xfrm_update_ae_params()
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dheader.c1593 struct tm ltime; in print_clock_data() local
1615 if (localtime_r(&tod_ns.tv_sec, &ltime) == NULL) in print_clock_data()
1618 strftime(date, sizeof(date), "%F %T", &ltime); in print_clock_data()