Home
last modified time | relevance | path

Searched refs:timestamp (Results 1 – 6 of 6) sorted by relevance

/kernel/trace/
Dfgraph.c391 unsigned long long timestamp; in ftrace_graph_probe_sched_switch() local
401 timestamp = trace_clock_local(); in ftrace_graph_probe_sched_switch()
403 prev->ftrace_timestamp = timestamp; in ftrace_graph_probe_sched_switch()
413 timestamp -= next->ftrace_timestamp; in ftrace_graph_probe_sched_switch()
416 next->ret_stack[index].calltime += timestamp; in ftrace_graph_probe_sched_switch()
Dtrace_hwlat.c84 struct timespec64 timestamp; /* wall time */ member
124 entry->timestamp = sample->timestamp; in trace_hwlat_sample()
251 ktime_get_real_ts64(&s.timestamp); in get_sample()
Dtrace_entries.h351 __field_struct( struct timespec64, timestamp )
352 __field_desc( s64, timestamp, tv_sec )
353 __field_desc( long, timestamp, tv_nsec )
Dtrace_output.c1150 (long long)field->timestamp.tv_sec, in trace_hwlat_print()
1151 field->timestamp.tv_nsec); in trace_hwlat_print()
1183 (long long)field->timestamp.tv_sec, in trace_hwlat_raw()
1184 field->timestamp.tv_nsec, in trace_hwlat_raw()
/kernel/irq/
Dinternals.h353 static inline u64 irq_timing_encode(u64 timestamp, int irq) in irq_timing_encode() argument
355 return (timestamp << 16) | irq; in irq_timing_encode()
358 static inline int irq_timing_decode(u64 value, u64 *timestamp) in irq_timing_decode() argument
360 *timestamp = value >> 16; in irq_timing_decode()
/kernel/events/
Dcore.c728 info->time += now - info->timestamp; in __update_cgrp_time()
729 info->timestamp = now; in __update_cgrp_time()
785 info->timestamp = ctx->timestamp; in perf_cgroup_set_timestamp()
941 event->shadow_ctx_time = now - t->timestamp; in perf_cgroup_set_shadow_time()
1464 ctx->time += now - ctx->timestamp; in update_context_time()
1465 ctx->timestamp = now; in update_context_time()
2351 event->shadow_ctx_time = event->tstamp - ctx->timestamp; in perf_set_shadow_time()
3517 ctx->timestamp = now; in ctx_sched_in()
9876 u64 delta = now - event->ctx->timestamp; in task_clock_event_read()