Home
last modified time | relevance | path

Searched refs:baseline (Results 1 – 24 of 24) sorted by relevance

/art/tools/ahat/src/main/com/android/ahat/heapdump/
DDiffedFieldValue.java44 public final Value baseline; field in DiffedFieldValue
81 public static DiffedFieldValue matched(FieldValue current, FieldValue baseline) { in matched() argument
85 baseline.value, in matched()
105 public static DiffedFieldValue deleted(FieldValue baseline) { in deleted() argument
106 return new DiffedFieldValue(baseline.name, baseline.type, null, baseline.value, Status.DELETED); in deleted()
109 private DiffedFieldValue(String name, Type type, Value current, Value baseline, Status status) { in DiffedFieldValue() argument
113 this.baseline = baseline; in DiffedFieldValue()
124 && Objects.equals(baseline, other.baseline) in equals()
137 return "(" + name + " " + type + " " + current + " " + baseline + ")"; in toString()
140 return "(" + name + " " + type + " -" + baseline + ")"; in toString()
DAhatHeap.java42 private AhatHeap(String name, AhatHeap baseline) { in AhatHeap() argument
45 mBaseline = baseline; in AhatHeap()
46 baseline.setBaseline(this); in AhatHeap()
53 static AhatHeap newPlaceHolderHeap(String name, AhatHeap baseline) { in newPlaceHolderHeap() argument
54 return new AhatHeap(name, baseline); in newPlaceHolderHeap()
88 void setBaseline(AhatHeap baseline) { in setBaseline() argument
89 mBaseline = baseline; in setBaseline()
DAhatPlaceHolderClassObj.java26 AhatPlaceHolderClassObj(AhatClassObj baseline) { in AhatPlaceHolderClassObj() argument
27 super(-1, baseline.getClassName()); in AhatPlaceHolderClassObj()
28 setBaseline(baseline); in AhatPlaceHolderClassObj()
29 baseline.setBaseline(this); in AhatPlaceHolderClassObj()
DAhatPlaceHolderInstance.java29 AhatPlaceHolderInstance(AhatInstance baseline) { in AhatPlaceHolderInstance() argument
31 setBaseline(baseline); in AhatPlaceHolderInstance()
32 baseline.setBaseline(this); in AhatPlaceHolderInstance()
DSite.java96 private ObjectsInfo baseline; field in Site.ObjectsInfo
107 this.baseline = this; in ObjectsInfo()
119 void setBaseline(ObjectsInfo baseline) { in setBaseline() argument
120 this.baseline = baseline; in setBaseline()
124 return baseline; in getBaseline()
447 void setBaseline(Site baseline) { in setBaseline() argument
448 mBaseline = baseline; in setBaseline()
DDiffFields.java37 Iterable<FieldValue> baseline) { in diff() argument
45 for (FieldValue field : baseline) { in diff()
DAhatSnapshot.java190 void setBaseline(AhatSnapshot baseline) { in setBaseline() argument
191 mBaseline = baseline; in setBaseline()
DDiff.java250 private static void setSitesBaseline(Site root, Site baseline) { in setSitesBaseline() argument
251 root.setBaseline(baseline); in setSitesBaseline()
253 setSitesBaseline(child, baseline); in setSitesBaseline()
DAhatInstance.java673 void setBaseline(AhatInstance baseline) { in setBaseline() argument
674 mBaseline = baseline; in setBaseline()
/art/tools/ahat/src/main/com/android/ahat/
DDocString.java153 long current, long baseline) { in delta() argument
155 return doc.appendDelta(noCurrent, noBaseline, current, baseline); in delta()
163 long current, long baseline) { in appendDelta() argument
165 append(removed(format("%+,14d", 0 - baseline))); in appendDelta()
168 } else if (current > baseline) { in appendDelta()
169 append(added(format("%+,14d", current - baseline))); in appendDelta()
170 } else if (current < baseline) { in appendDelta()
171 append(removed(format("%+,14d", current - baseline))); in appendDelta()
DObjectHandler.java159 Iterable<FieldValue> current, Iterable<FieldValue> baseline) { in printFields() argument
164 baseline = Collections.emptyList(); in printFields()
167 List<DiffedFieldValue> fields = DiffFields.diff(current, baseline); in printFields()
177 Value previous = Value.getBaseline(field.baseline); in printFields()
/art/tools/ahat/src/test-dump/
DDumpedStuff.java44 DumpedStuff(boolean baseline) { in DumpedStuff() argument
47 int n = baseline ? 400000 : 1000000; in DumpedStuff()
64 addedObject = baseline ? null : new AddedObject(); in DumpedStuff()
65 removedObject = baseline ? new RemovedObject() : null; in DumpedStuff()
67 modifiedObject.value = baseline ? 5 : 8; in DumpedStuff()
68 modifiedObject.modifiedRefField = baseline ? "A1" : "A2"; in DumpedStuff()
70 modifiedStaticField = baseline ? "C1" : "C2"; in DumpedStuff()
71 modifiedArray = baseline ? new int[]{0, 1, 2, 3} : new int[]{3, 1, 2, 0}; in DumpedStuff()
80 if (!baseline) { in DumpedStuff()
DMain.java38 boolean baseline = args.length > 1 && args[1].equals("--base"); in main()
44 stuff = new DumpedStuff(baseline); in main()
/art/compiler/jit/
Djit_compiler.cc132 void* handle, ArtMethod* method, Thread* self, bool baseline, bool osr) in jit_compile_method() argument
136 return jit_compiler->CompileMethod(self, method, baseline, osr); in jit_compile_method()
184 bool JitCompiler::CompileMethod(Thread* self, ArtMethod* method, bool baseline, bool osr) { in CompileMethod() argument
201 success = compiler_->JitCompile(self, code_cache, method, baseline, osr, jit_logger_.get()); in CompileMethod()
Djit_compiler.h40 bool CompileMethod(Thread* self, ArtMethod* method, bool baseline, bool osr)
/art/test/504-regression-baseline-entry/
Dinfo.txt1 Regression test for the baseline compiler which required the entry block to fall
/art/test/456-baseline-array-set/
Dinfo.txt2 of available registers when using the baseline register
/art/tools/ahat/src/test/com/android/ahat/
DDiffFieldsTest.java52 assertEquals(Value.pack(2), x.baseline); in normalMatchedDiffedFieldValues()
65 assertNull(x.baseline); in nulledMatchedDiffedFieldValues()
72 assertEquals(Value.pack(1), y.baseline); in nulledMatchedDiffedFieldValues()
105 assertEquals(Value.pack(1), x.baseline); in normalDeletedDiffedFieldValues()
116 assertNull(x.baseline); in nulledDeletedDiffedFieldValues()
/art/tools/ahat/
DREADME.txt12 --baseline FILE
13 Diff the heap dump against the given baseline heap dump FILE.
14 --baseline-proguard-map FILE
15 Use the proguard map FILE to deobfuscate the baseline heap dump.
/art/compiler/
Dcompiler.h77 bool baseline ATTRIBUTE_UNUSED, in JitCompile()
/art/compiler/optimizing/
Doptimizing_compiler.cc299 bool baseline,
384 bool baseline,
783 bool baseline, in TryCompile() argument
921 if (baseline) { in TryCompile()
1252 bool baseline, in JitCompile() argument
1369 baseline, in JitCompile()
/art/runtime/jit/
Djit.h173 bool CompileMethod(ArtMethod* method, Thread* self, bool baseline, bool osr)
Djit.cc249 bool Jit::CompileMethod(ArtMethod* method, Thread* self, bool baseline, bool osr) { in CompileMethod() argument
279 bool success = jit_compile_method_(jit_compiler_handle_, method_to_compile, self, baseline, osr); in CompileMethod()
/art/tools/ahat/etc/
Dahat_api.txt142 field public final com.android.ahat.heapdump.Value baseline;