summaryrefslogtreecommitdiffstats
path: root/compiler/driver/compiler_driver.h
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2014-05-23 17:33:29 +0100
committerCalin Juravle <calin@google.com>2014-06-06 11:53:28 +0100
commitbb0b53f58f11c628f077603b56077dfed1a18f11 (patch)
tree013482db95e8f2dcb7c7be85fc8f35df2c7f1361 /compiler/driver/compiler_driver.h
parente4283be97047a26d3476acd3863dcc386498be17 (diff)
downloadart-bb0b53f58f11c628f077603b56077dfed1a18f11.zip
art-bb0b53f58f11c628f077603b56077dfed1a18f11.tar.gz
art-bb0b53f58f11c628f077603b56077dfed1a18f11.tar.bz2
Clean up the sampling profiler
- rename variables/fields names to match the code style (use _underscore_names_) - extract common property parsing in utils.cc - fail to load profile file if any line is malformed - added ProfileFile to manage the profile data generate in the previous runs (replaces ProfileHelper and nests ProfileData) Bug: 12877748 Change-Id: Ie7bda30bfdeb7e78534c986615b0649eac12a97b
Diffstat (limited to 'compiler/driver/compiler_driver.h')
-rw-r--r--compiler/driver/compiler_driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h
index 14ccb50..e952f63 100644
--- a/compiler/driver/compiler_driver.h
+++ b/compiler/driver/compiler_driver.h
@@ -595,7 +595,7 @@ class CompilerDriver {
return cfi_info_.get();
}
- ProfileMap profile_map_;
+ ProfileFile profile_file_;
bool profile_ok_;
// Should the compiler run on this method given profile information?