Home
last modified time | relevance | path

Searched refs:secs (Results 1 – 15 of 15) sorted by relevance

/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/
DUtil.pm34 my ($secs, $nsecs) = @_;
36 return $secs * $NSECS_PER_SEC + $nsecs;
/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DCore.py112 self.secs = common_secs
119 return (self.secs * (10 ** 9)) + self.nsecs
122 return "%d.%d" % (self.secs, int(self.nsecs / 1000))
DUtil.py22 def nsecs(secs, nsecs): argument
23 return secs * NSECS_PER_SEC + nsecs
/tools/perf/scripts/python/
Dcompaction-times.py96 def complete(self, secs, nsecs): argument
97 self.ns = ns(secs, nsecs) - self.ns
141 def complete_pending(cls, pid, secs, nsecs): argument
145 head.make_complete(secs, nsecs)
172 def mark_pending(self, secs, nsecs): argument
173 self.pending = cnode(ns(secs, nsecs))
178 def make_complete(self, secs, nsecs): argument
179 self.pending.complete(secs, nsecs)
Dcheck-perf-trace.py60 def print_header(event_name, cpu, secs, nsecs, pid, comm): argument
62 (event_name, cpu, secs, nsecs, pid, comm),
/tools/perf/scripts/perl/
Dcheck-perf-trace.pl102 my ($event_name, $cpu, $secs, $nsecs, $pid, $comm) = @_;
105 $event_name, $cpu, $secs, $nsecs, $pid, $comm);
/tools/perf/util/
Ddebug.c61 u64 secs, usecs, nsecs = t; in veprintf_time() local
63 secs = nsecs / NSEC_PER_SEC; in veprintf_time()
64 nsecs -= secs * NSEC_PER_SEC; in veprintf_time()
68 secs, usecs); in veprintf_time()
/tools/testing/selftests/timers/
Dclocksource-switch.c106 int run_tests(int secs) in run_tests() argument
111 sprintf(buf, "./inconsistency-check -t %i", secs); in run_tests()
/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/
Dmisc.h33 #define trace_rcu_torture_read(rcutorturename, rhp, secs, c_old, c) \ argument
/tools/testing/selftests/futex/functional/
Dfutex_requeue_pi.c294 time_t secs; in unit_test() local
298 secs = (ts.tv_nsec + timeout_ns) / 1000000000; in unit_test()
300 ts.tv_sec += secs; in unit_test()
/tools/perf/Documentation/
Dperf-script-perl.txt98 $common_secs the secs portion of the event timestamp
208 nsecs($secs, $nsecs) - returns total nsecs given secs/nsecs pair
209 nsecs_secs($nsecs) - returns whole secs portion given nsecs
211 nsecs_str($nsecs) - returns printable string in the form secs.nsecs
Dperf-script-python.txt155 def print_header(event_name, cpu, secs, nsecs, pid, comm):
157 (event_name, cpu, secs, nsecs, pid, comm),
490 common_secs the secs portion of the event timestamp
607 nsecs(secs, nsecs) - returns total nsecs given secs/nsecs pair
608 nsecs_secs(nsecs) - returns whole secs portion given nsecs
610 nsecs_str(nsecs) - returns printable string in the form secs.nsecs
/tools/perf/bench/
Dnuma.c1107 u64 bytes_done, secs; in worker_thread() local
1263 secs = td->runtime_ns / NSEC_PER_SEC; in worker_thread()
1264 td->speed_gbs = secs ? bytes_done / secs / 1e9 : 0; in worker_thread()
/tools/perf/
Dbuiltin-script.c519 unsigned long secs; in print_sample_start() local
547 secs = nsecs / NSEC_PER_SEC; in print_sample_start()
548 nsecs -= secs * NSEC_PER_SEC; in print_sample_start()
551 printf("%5lu.%09llu: ", secs, nsecs); in print_sample_start()
/tools/lib/traceevent/
Devent-parse.c5466 unsigned long secs; in pevent_print_event_time() local
5475 secs = record->ts / NSEC_PER_SEC; in pevent_print_event_time()
5476 nsecs = record->ts - secs * NSEC_PER_SEC; in pevent_print_event_time()
5492 secs++; in pevent_print_event_time()
5497 trace_seq_printf(s, " %5lu.%0*lu:", secs, p, usecs); in pevent_print_event_time()