/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/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/perf/util/ |
D | debug.c | 61 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/ |
D | clocksource-switch.c | 106 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/ |
D | misc.h | 33 #define trace_rcu_torture_read(rcutorturename, rhp, secs, c_old, c) \ argument
|
/tools/testing/selftests/futex/functional/ |
D | futex_requeue_pi.c | 294 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/ |
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 | 155 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/ |
D | numa.c | 1107 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/ |
D | builtin-script.c | 519 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/ |
D | event-parse.c | 5466 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()
|