Home
last modified time | relevance | path

Searched refs:secs (Results 1 – 13 of 13) 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/util/
Ddebug.c59 u64 secs, usecs, nsecs = t; in __eprintf_time() local
61 secs = nsecs / NSECS_PER_SEC; in __eprintf_time()
62 nsecs -= secs * NSECS_PER_SEC; in __eprintf_time()
66 secs, usecs); in __eprintf_time()
/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/testing/selftests/timers/
Dclocksource-switch.c117 int run_tests(int secs) in run_tests() argument
122 sprintf(buf, "./inconsistency-check -t %i", secs); in run_tests()
/tools/testing/selftests/futex/functional/
Dfutex_requeue_pi.c293 time_t secs; in unit_test() local
297 secs = (ts.tv_nsec + timeout_ns) / 1000000000; in unit_test()
299 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.txt157 def print_header(event_name, cpu, secs, nsecs, pid, comm):
159 (event_name, cpu, secs, nsecs, pid, comm),
494 common_secs the secs portion of the event timestamp
612 nsecs(secs, nsecs) - returns total nsecs given secs/nsecs pair
613 nsecs_secs(nsecs) - returns whole secs portion given nsecs
615 nsecs_str(nsecs) - returns printable string in the form secs.nsecs
/tools/perf/
Dbuiltin-script.c393 unsigned long secs; in print_sample_start() local
422 secs = nsecs / NSECS_PER_SEC; in print_sample_start()
423 nsecs -= secs * NSECS_PER_SEC; in print_sample_start()
426 printf("%5lu.%09llu: ", secs, nsecs); in print_sample_start()
428 printf("%5lu.%06lu: ", secs, usecs); in print_sample_start()
/tools/lib/traceevent/
Devent-parse.c5337 unsigned long secs; in pevent_print_event() local
5351 secs = record->ts / NSECS_PER_SEC; in pevent_print_event()
5352 nsecs = record->ts - secs * NSECS_PER_SEC; in pevent_print_event()
5388 secs, p, usecs, event->name); in pevent_print_event()