Home
last modified time | relevance | path

Searched refs:last_time (Results 1 – 17 of 17) sorted by relevance

/linux/scripts/
H A Dshow_delta60 last_time = 0.0 variable
62 global last_time
75 delta = time - last_time
76 last_time = time
/linux/tools/laptop/dslm/
H A Ddslm.c70 time_t last_time; in measure() local
84 start_time = last_time = time(0); in measure()
94 time_diff = curr_time - last_time; in measure()
101 last_time = curr_time; in measure()
/linux/drivers/cpufreq/
H A Dcpufreq_stats.c17 unsigned long long last_time; member
36 stats->last_time = cur_time; in cpufreq_stats_update()
45 stats->last_time = local_clock(); in cpufreq_stats_reset_table()
92 time += local_clock() - stats->last_time; in show_time_in_state()
251 stats->last_time = local_clock(); in cpufreq_stats_create_table()
284 cpufreq_stats_update(stats, stats->last_time); in cpufreq_stats_record_transition()
/linux/drivers/base/power/
H A Dwakeup_stats.c44 ws->active ? ktime_sub(ktime_get(), ws->last_time) : 0; in active_time_ms_show()
58 active_time = ktime_sub(ktime_get(), ws->last_time); in total_time_ms_show()
74 active_time = ktime_sub(ktime_get(), ws->last_time); in max_time_ms_show()
88 return sysfs_emit(buf, "%lld\n", ktime_to_ms(ws->last_time)); in last_change_ms_show()
H A Dsysfs.c501 msec = ktime_to_ms(dev->power.wakeup->last_time); in wakeup_last_time_ms_show()
/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_cubic.c79 __u32 last_time; /* time when updated last_cwnd */ member
101 ca->last_time = 0; in bictcp_reset()
284 (__s32)(tcp_jiffies32 - ca->last_time) <= HZ / 32) in bictcp_update()
291 if (ca->epoch_start && tcp_jiffies32 == ca->last_time) in bictcp_update()
295 ca->last_time = tcp_jiffies32; in bictcp_update()
/linux/drivers/rtc/
H A Drtc-hid-sensor-time.c27 struct rtc_time last_time; member
56 time_state->last_time = time_state->time_buf; in hid_time_proc_event()
209 *tm = time_state->last_time; in hid_rtc_read_time()
/linux/tools/perf/
H A Dbuiltin-timechart.c65 first_time, last_time;
603 if (tchart->last_time < sample->time) in process_sample_cpu_idle()
604 tchart->last_time = sample->time; in process_sample_cpu_idle()
763 pwr->end_time = tchart->last_time; in pid_begin_io_sample()
772 pwr = p_state_end(tchart, cpu, tchart->last_time); in pid_end_io_sample()
1396 p->end_time = tchart->last_time; in determine_display_tasks()
1413 c->end_time = tchart->last_time; in determine_display_tasks()
1436 p->end_time = tchart->last_time; in determine_display_io_tasks()
1454 c->end_time = tchart->last_time; in determine_display_io_tasks()
1473 p->end_time = timechart->last_time; in write_svg_file()
64 first_time, last_time; global() member
[all...]
H A Dbuiltin-sched.c382 u64 last_time; /* time of previous sched in/out event */ in last_event()
413 u64 *last_time; /* time this event was last seen per cpu */ in add_sched_event_wakeup()
2274 if ((cpu >= r->ncpu) || (r->last_time == NULL)) { in timehist_update_runtime_stats()
2276 void *p = r->last_time; in timehist_update_runtime_stats()
2278 p = realloc(r->last_time, n * sizeof(u64)); in timehist_update_runtime_stats()
2282 r->last_time = p; in timehist_update_runtime_stats()
2284 r->last_time[i] = (u64) 0; in timehist_update_runtime_stats()
2289 r->last_time[cpu] = timestamp; in timehist_update_runtime_stats()
2297 if ((r == NULL) || (r->last_time == NULL) || (cpu >= r->ncpu)) in timehist_update_runtime_stats()
2300 return r->last_time[cp in timehist_update_runtime_stats()
250 u64 last_time; /* time of previous sched in/out event */ global() member
280 u64 *last_time; /* time this event was last seen per cpu */ global() member
[all...]
/linux/drivers/acpi/
H A Dbutton.c192 ktime_t last_time; member
235 next_report = ktime_add(button->last_time, in acpi_lid_notify_state()
292 button->last_time = ktime_get(); in acpi_lid_notify_state()
522 button->last_time = ktime_get(); in acpi_button_resume()
542 button->last_time = ktime_get(); in acpi_lid_input_open()
/linux/kernel/power/
H A Dwakelock.c116 idle_time_ns = ktime_to_ns(ktime_sub(now, wl->ws->last_time)); in __wakelocks_gc()
197 wl->ws->last_time = ktime_get(); in wakelock_lookup_add()
/linux/drivers/net/ethernet/sfc/siena/
H A Dptp.c857 struct pps_event_time *last_time) in efx_ptp_send_times() argument
888 *last_time = now; in efx_ptp_send_times()
924 const struct pps_event_time *last_time) in efx_ptp_process_times() argument
995 last_sec = last_time->ts_real.tv_sec & MC_SECOND_MASK; in efx_ptp_process_times()
1004 last_time->ts_real.tv_nsec - in efx_ptp_process_times()
1018 ptp->host_time_pps = *last_time; in efx_ptp_process_times()
1032 struct pps_event_time last_time = {}; in efx_ptp_synchronize() local
1062 efx_ptp_send_times(efx, &last_time); in efx_ptp_synchronize()
1071 &last_time); in efx_ptp_synchronize()
/linux/drivers/net/ethernet/sfc/
H A Dptp.c844 struct pps_event_time *last_time) in efx_ptp_send_times() argument
875 *last_time = now; in efx_ptp_send_times()
911 const struct pps_event_time *last_time) in efx_ptp_process_times() argument
982 last_sec = last_time->ts_real.tv_sec & MC_SECOND_MASK; in efx_ptp_process_times()
991 last_time->ts_real.tv_nsec - in efx_ptp_process_times()
1005 ptp->host_time_pps = *last_time; in efx_ptp_process_times()
1019 struct pps_event_time last_time = {}; in efx_ptp_synchronize() local
1049 efx_ptp_send_times(efx, &last_time); in efx_ptp_synchronize()
1058 &last_time); in efx_ptp_synchronize()
/linux/drivers/char/
H A Drandom.c1127 unsigned long last_time; member
1165 delta = now - READ_ONCE(state->last_time); in add_timer_randomness()
1166 WRITE_ONCE(state->last_time, now); in add_timer_randomness()
1239 state->last_time = INITIAL_JIFFIES; in rand_initialize_disk()
/linux/tools/perf/util/
H A Dthread-stack.c78 * @last_time: last timestamp
97 u64 last_time; member
353 ts->last_time, 0, true); in __thread_stack__flush()
1146 ts->last_time = sample->time; in thread_stack__process()
/linux/tools/perf/scripts/python/
H A Dexported-sql-viewer.py1323 last_time = None
1337 self.SelectComms(db, last_thread_id, last_comm_id, last_time, query.value(0))
1349 last_time = time
3443 self.last_time = 2 ** 64
3450 self.last_time = int(glb.HostFinishTime())
3452 placeholder_text += ", between " + str(self.first_time) + " and " + str(self.last_time)
3510 val += self.last_time
3517 vrange[1] = str(self.last_time)
3523 end_range = min(int(vrange[1]), self.last_time)
3524 if beg_range > self.last_time or end_range < self.first_time:
/linux/drivers/scsi/megaraid/
H A Dmegaraid_sas.h2414 unsigned long last_time; member