Home
last modified time | relevance | path

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

/art/runtime/base/
Dtime_utils.cc75 const char* unit = nullptr; in FormatDuration() local
79 unit = "s"; in FormatDuration()
82 unit = "ms"; in FormatDuration()
85 unit = "us"; in FormatDuration()
88 unit = "ns"; in FormatDuration()
94 return StringPrintf("%" PRIu64 "%s", whole_part, unit); in FormatDuration()
109 return StringPrintf("%" PRIu64 ".%s%s", whole_part, fraction_buffer, unit); in FormatDuration()
Dhistogram-inl.h193 const TimeUnit unit = GetAppropriateTimeUnit(Mean() * kAdjust); in PrintConfidenceIntervals() local
195 << (interval * 100) << "% C.I. " << FormatDuration(Percentile(per_0, data) * kAdjust, unit, in PrintConfidenceIntervals()
197 << "-" << FormatDuration(Percentile(per_1, data) * kAdjust, unit, kFractionalDigits) << " " in PrintConfidenceIntervals()
198 << "Avg: " << FormatDuration(Mean() * kAdjust, unit, kFractionalDigits) << " Max: " in PrintConfidenceIntervals()
199 << 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()
304 art::DexCompilationUnit unit(nullptr, class_loader, art::Runtime::Current()->GetClassLinker(), in ArtCompileDEX() local
307 art::optimizer::DexCompiler dex_compiler(driver, unit, dex_to_dex_compilation_level); in ArtCompileDEX()
/art/compiler/dex/quick/
Dmir_to_lir.cc757 const DexCompilationUnit* unit = mir_graph_->GetCurrentDexCompilationUnit(); in CompileDalvikInstruction() local
758 is_safe = cu_->compiler_driver->IsSafeCast(unit, mir->offset); in CompileDalvikInstruction()