Home
last modified time | relevance | path

Searched refs:NSECS_PER_SEC (Results 1 – 8 of 8) sorted by relevance

/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/
DUtil.pm30 my $NSECS_PER_SEC = 1000000000;
36 return $secs * $NSECS_PER_SEC + $nsecs;
42 return $nsecs / $NSECS_PER_SEC;
48 return $nsecs % $NSECS_PER_SEC;
/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DUtil.py17 NSECS_PER_SEC = 1000000000 variable
23 return secs * NSECS_PER_SEC + nsecs
26 return nsecs / NSECS_PER_SEC
29 return nsecs % NSECS_PER_SEC
/tools/perf/util/
Ddebug.c16 #define NSECS_PER_SEC 1000000000ULL macro
61 secs = nsecs / NSECS_PER_SEC; in __eprintf_time()
62 nsecs -= secs * NSECS_PER_SEC; in __eprintf_time()
/tools/perf/util/scripting-engines/
Dtrace-event-perl.c278 s = nsecs / NSECS_PER_SEC; in perl_process_tracepoint()
279 ns = nsecs - s * NSECS_PER_SEC; in perl_process_tracepoint()
Dtrace-event-python.c420 s = nsecs / NSECS_PER_SEC; in python_process_tracepoint()
421 ns = nsecs - s * NSECS_PER_SEC; in python_process_tracepoint()
/tools/lib/traceevent/
Devent-parse.h175 #define NSECS_PER_SEC 1000000000ULL macro
Devent-parse.c5351 secs = record->ts / NSECS_PER_SEC; in pevent_print_event()
5352 nsecs = record->ts - secs * NSECS_PER_SEC; in pevent_print_event()
/tools/perf/
Dbuiltin-script.c422 secs = nsecs / NSECS_PER_SEC; in print_sample_start()
423 nsecs -= secs * NSECS_PER_SEC; in print_sample_start()