Home
last modified time | relevance | path

Searched refs:unit (Results 1 – 4 of 4) sorted by relevance

/art/runtime/base/
Dhistogram-inl.h172 const TimeUnit unit = GetAppropriateTimeUnit(Mean() * kAdjust); in PrintConfidenceIntervals() local
174 << (interval * 100) << "% C.I. " << FormatDuration(Percentile(per_0, data) * kAdjust, unit, in PrintConfidenceIntervals()
176 << "-" << FormatDuration(Percentile(per_1, data) * kAdjust, unit, kFractionalDigits) << " " in PrintConfidenceIntervals()
177 << "Avg: " << FormatDuration(Mean() * kAdjust, unit, kFractionalDigits) << " Max: " in PrintConfidenceIntervals()
178 << FormatDuration(Max() * kAdjust, unit, kFractionalDigits) << "\n"; in PrintConfidenceIntervals()
/art/compiler/dex/
Ddex_to_dex_compiler.cc40 const DexCompilationUnit& unit, in DexCompiler() argument
43 unit_(unit), in DexCompiler()
280 art::DexCompilationUnit unit(NULL, class_loader, art::Runtime::Current()->GetClassLinker(), in ArtCompileDEX() local
283 art::optimizer::DexCompiler dex_compiler(driver, unit, dex_to_dex_compilation_level); in ArtCompileDEX()
/art/runtime/
Dutils.cc521 const char* unit = nullptr; in FormatDuration() local
525 unit = "s"; in FormatDuration()
528 unit = "ms"; in FormatDuration()
531 unit = "us"; in FormatDuration()
534 unit = "ns"; in FormatDuration()
540 return StringPrintf("%" PRIu64 "%s", whole_part, unit); in FormatDuration()
555 return StringPrintf("%" PRIu64 ".%s%s", whole_part, fraction_buffer, unit); in FormatDuration()
/art/compiler/dex/quick/
Dmir_to_lir.cc701 const DexCompilationUnit* unit = mir_graph_->GetCurrentDexCompilationUnit(); in CompileDalvikInstruction() local
702 is_safe = cu_->compiler_driver->IsSafeCast(unit, mir->offset); in CompileDalvikInstruction()