Home
last modified time | relevance | path

Searched defs:nanos (Results 1 – 25 of 51) sorted by relevance

123

/external/slf4j/slf4j-ext/src/main/java/org/slf4j/profiler/
DUtil.java59 static public double convertToMicros(long nanos) { in convertToMicros()
63 static public double convertToMillis(long nanos) { in convertToMillis()
67 static public double convertToSeconds(long nanos) { in convertToSeconds()
76 static String durationInDurationUnitsAsStr(long nanos, DurationUnit durationUnit) { in durationInDurationUnitsAsStr()
/external/protobuf/src/google/protobuf/util/
Dtime_util.cc62 Timestamp CreateNormalized(int64 seconds, int64 nanos) { in CreateNormalized()
82 Duration CreateNormalized(int64 seconds, int64 nanos) { in CreateNormalized()
106 string FormatNanos(int32 nanos) { in FormatNanos()
116 string FormatTime(int64 seconds, int32 nanos) { in FormatTime()
120 bool ParseTime(const string& value, int64* seconds, int32* nanos) { in ParseTime()
124 void CurrentTime(int64* seconds, int32* nanos) { in CurrentTime()
151 int32 nanos; in FromString() local
161 int32 nanos; in GetCurrentTime() local
171 int32 nanos = duration.nanos(); in ToString() local
215 int64 nanos = strto64(nanos_part.c_str(), &end, 10); in FromString() local
[all …]
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DTimeUtil.java156 int nanos = nanoValue.isEmpty() ? 0 : parseNanos(nanoValue); in parseTimestamp() local
200 int nanos = duration.getNanos(); in toString() local
244 int nanos = nanoValue.isEmpty() ? 0 : parseNanos(nanoValue); in parseDuration() local
428 int nanos = (int) ((result - seconds) * 1000000000); in multiply() local
471 int nanos = value.remainder( in createDurationFromBigInteger() local
477 private static Duration normalizedDuration(long seconds, int nanos) { in normalizedDuration()
496 private static Timestamp normalizedTimestamp(long seconds, int nanos) { in normalizedTimestamp()
514 private static String formatNanos(int nanos) { in formatNanos()
515 assert nanos >= 1 && nanos <= 999999999; in formatNanos() local
/external/junit/src/main/java/org/junit/rules/
DStopwatch.java105 protected void succeeded(long nanos, Description description) { in succeeded()
111 protected void failed(long nanos, Throwable e, Description description) { in failed()
117 protected void skipped(long nanos, AssumptionViolatedException e, Description description) { in skipped()
123 protected void finished(long nanos, Description description) { in finished()
/external/opencensus-java/api/src/main/java/io/opencensus/common/
DDuration.java53 public static Duration create(long seconds, int nanos) { in create()
88 int nanos = (int) (millis % MILLIS_PER_SECOND * NANOS_PER_MILLI); in fromMillis() local
/external/protobuf/src/google/protobuf/stubs/
Dtime.cc133 string FormatNanos(int32 nanos) { in FormatNanos()
170 const char* ParseNanos(const char* data, int32* nanos) { in ParseNanos()
264 void GetCurrentTime(int64* seconds, int32* nanos) { in GetCurrentTime()
271 string FormatTime(int64 seconds, int32 nanos) { in FormatTime()
285 bool ParseTime(const string& value, int64* seconds, int32* nanos) { in ParseTime()
/external/guava/guava/src/com/google/common/base/
DStopwatch.java216 long nanos = elapsedNanos(); in toString() local
225 private static TimeUnit chooseUnit(long nanos) { in chooseUnit()
/external/protobuf/src/google/protobuf/
Dduration.proto97 int32 nanos = 2; field
Dtimestamp.proto110 int32 nanos = 2; field
Dduration.pb.h153 inline ::google::protobuf::int32 Duration::nanos() const { in nanos() function
Dtimestamp.pb.h166 inline ::google::protobuf::int32 Timestamp::nanos() const { in nanos() function
/external/syzkaller/vendor/github.com/golang/protobuf/ptypes/timestamp/
Dtimestamp.proto132 int32 nanos = 2; field
/external/golang-protobuf/ptypes/duration/
Dduration.proto116 int32 nanos = 2; field
/external/syzkaller/vendor/github.com/golang/protobuf/ptypes/duration/
Dduration.proto116 int32 nanos = 2; field
/external/golang-protobuf/ptypes/timestamp/
Dtimestamp.proto134 int32 nanos = 2; field
/external/guava/guava-bootstrap/src/java/util/concurrent/
DAbstractExecutorService.java39 boolean timed, long nanos) in doInvokeAny()
155 long nanos = unit.toNanos(timeout); in invokeAll() local
/external/guava/guava-testlib/src/com/google/common/testing/
DFakeTicker.java43 private final AtomicLong nanos = new AtomicLong(); field in FakeTicker
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DTimeValue.h266 void getTimespecTime( uint64_t& seconds, uint32_t& nanos ) const { in getTimespecTime()
295 void nanoseconds ( NanoSecondsType nanos ) { in nanoseconds()
/external/llvm/include/llvm/Support/
DTimeValue.h267 void getTimespecTime( uint64_t& seconds, uint32_t& nanos ) const { in getTimespecTime()
296 void nanoseconds ( NanoSecondsType nanos ) { in nanoseconds()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DTimeValue.h267 void getTimespecTime( uint64_t& seconds, uint32_t& nanos ) const { in getTimespecTime()
296 void nanoseconds ( NanoSecondsType nanos ) { in nanoseconds()
/external/caliper/caliper/src/main/java/com/google/caliper/worker/
DRuntimeWorker.java75 long nanos = invokeTimeMethod(nextReps); in measure() local
94 @VisibleForTesting static long calculateTargetReps(long reps, long nanos, long targetNanos, in calculateTargetReps()
DMacrobenchmarkWorker.java70 long nanos = stopwatch.stop().elapsed(NANOSECONDS); in measure() local
/external/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectwriter.cc93 StringPiece* nanos) { in SplitSecondsAndNanos()
107 int32* nanos) { in GetNanosFromStringPiece()
871 int32 nanos; in RenderTimestamp() local
935 int32 nanos = 0; in RenderDuration() local
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/
Dtimestamp.pb.h21 int32_t nanos; member
Dduration.pb.h21 int32_t nanos; member

123