diff options
| author | 2013-10-25 14:43:12 +0000 | |
|---|---|---|
| committer | 2013-10-25 14:43:13 +0000 | |
| commit | dbf39a79d17f226936430b025ce1f0beeac2f441 (patch) | |
| tree | 05cb2906110f1095ae07261bed2235a793bf0f09 /compiler/dex/quick/codegen_util.cc | |
| parent | bbf88131e138634c5e24c4cf5c5ca753fa742850 (diff) | |
| parent | a61f49539a59b610e557b5513695295639496750 (diff) | |
Merge "Add timing logger to Quick compiler" into dalvik-dev
Diffstat (limited to 'compiler/dex/quick/codegen_util.cc')
| -rw-r--r-- | compiler/dex/quick/codegen_util.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/dex/quick/codegen_util.cc b/compiler/dex/quick/codegen_util.cc index cc185f54ee..dfbc887299 100644 --- a/compiler/dex/quick/codegen_util.cc +++ b/compiler/dex/quick/codegen_util.cc @@ -930,6 +930,7 @@ Mir2Lir::Mir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena } void Mir2Lir::Materialize() { + cu_->NewTimingSplit("RegisterAllocation"); CompilerInitializeRegAlloc(); // Needs to happen after SSA naming /* Allocate Registers using simple local allocation scheme */ @@ -941,6 +942,7 @@ void Mir2Lir::Materialize() { * special codegen doesn't succeed, first_lir_insn_ will * set to NULL; */ + cu_->NewTimingSplit("SpecialMIR2LIR"); SpecialMIR2LIR(mir_graph_->GetSpecialCase()); } |