Home
last modified time | relevance | path

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

/external/linux-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;
/external/linux-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
/external/linux-tools-perf/util/scripting-engines/
Dtrace-event-perl.c278 s = nsecs / NSECS_PER_SEC; in perl_process_event()
279 ns = nsecs - s * NSECS_PER_SEC; in perl_process_event()
Dtrace-event-python.c249 s = nsecs / NSECS_PER_SEC; in python_process_event()
250 ns = nsecs - s * NSECS_PER_SEC; in python_process_event()
/external/linux-tools-perf/util/
Dtrace-event.h29 #define NSECS_PER_SEC 1000000000ULL macro
/external/linux-tools-perf/
Dbuiltin-script.c255 secs = nsecs / NSECS_PER_SEC; in print_sample_start()
256 nsecs -= secs * NSECS_PER_SEC; in print_sample_start()