Home
last modified time | relevance | path

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

/external/linux-tools-perf/src/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/src/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/src/tools/perf/util/scripting-engines/
Dtrace-event-perl.c291 s = nsecs / NSECS_PER_SEC; in perl_process_tracepoint()
292 ns = nsecs - s * NSECS_PER_SEC; in perl_process_tracepoint()
Dtrace-event-python.c275 s = nsecs / NSECS_PER_SEC; in python_process_tracepoint()
276 ns = nsecs - s * NSECS_PER_SEC; in python_process_tracepoint()
/external/linux-tools-perf/src/tools/perf/
Dbuiltin-script.c316 secs = nsecs / NSECS_PER_SEC; in print_sample_start()
317 nsecs -= secs * NSECS_PER_SEC; in print_sample_start()
/external/linux-tools-perf/src/tools/lib/traceevent/
Devent-parse.h160 #define NSECS_PER_SEC 1000000000ULL macro
Devent-parse.c4461 secs = record->ts / NSECS_PER_SEC; in pevent_print_event()
4462 nsecs = record->ts - secs * NSECS_PER_SEC; in pevent_print_event()