Home
last modified time | relevance | path

Searched refs:NSECS_PER_SEC (Results 1 – 2 of 2) 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.py18 NSECS_PER_SEC = 1000000000 variable
24 return secs * NSECS_PER_SEC + nsecs
27 return nsecs / NSECS_PER_SEC
30 return nsecs % NSECS_PER_SEC