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

/external/linux-tools-perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A 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/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/
H A 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/util/scripting-engines/
H A Dtrace-event-perl.c278 s = nsecs / NSECS_PER_SEC;
279 ns = nsecs - s * NSECS_PER_SEC;
H A Dtrace-event-python.c249 s = nsecs / NSECS_PER_SEC;
250 ns = nsecs - s * NSECS_PER_SEC;
/external/linux-tools-perf/util/
H A Dtrace-event.h29 #define NSECS_PER_SEC 1000000000ULL macro
/external/linux-tools-perf/
H A Dbuiltin-script.c255 secs = nsecs / NSECS_PER_SEC;
256 nsecs -= secs * NSECS_PER_SEC;

Completed in 96 milliseconds