/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/ |
D | Util.pm | 34 my ($secs, $nsecs) = @_; 36 return $secs * $NSECS_PER_SEC + $nsecs;
|
/tools/perf/util/ |
D | debug.c | 59 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/ |
D | Core.py | 112 self.secs = common_secs 119 return (self.secs * (10 ** 9)) + self.nsecs 122 return "%d.%d" % (self.secs, int(self.nsecs / 1000))
|
D | Util.py | 22 def nsecs(secs, nsecs): argument 23 return secs * NSECS_PER_SEC + nsecs
|
/tools/perf/scripts/python/ |
D | compaction-times.py | 96 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)
|
D | check-perf-trace.py | 60 def print_header(event_name, cpu, secs, nsecs, pid, comm): argument 62 (event_name, cpu, secs, nsecs, pid, comm),
|
/tools/perf/scripts/perl/ |
D | check-perf-trace.pl | 102 my ($event_name, $cpu, $secs, $nsecs, $pid, $comm) = @_; 105 $event_name, $cpu, $secs, $nsecs, $pid, $comm);
|
/tools/testing/selftests/timers/ |
D | clocksource-switch.c | 117 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/ |
D | futex_requeue_pi.c | 293 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/ |
D | perf-script-perl.txt | 98 $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
|
D | perf-script-python.txt | 157 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/ |
D | builtin-script.c | 393 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/ |
D | event-parse.c | 5337 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()
|