/art/tools/ahat/src/heapdump/ |
FieldValue.java | 37 private FieldValue(FieldValue baseline) { 38 mName = baseline.mName; 39 mType = baseline.mType; 40 mValue = Value.getBaseline(baseline.mValue); 41 mBaseline = baseline; 45 static FieldValue newPlaceHolderFieldValue(FieldValue baseline) { 46 FieldValue field = new FieldValue(baseline); 47 baseline.setBaseline(field); 72 public void setBaseline(FieldValue baseline) { 73 mBaseline = baseline; [all...] |
AhatHeap.java | 35 private AhatHeap(String name, AhatHeap baseline) { 38 mBaseline = baseline; 39 baseline.setBaseline(this); 44 * Construct a new place holder heap that has the given baseline heap. 46 static AhatHeap newPlaceHolderHeap(String name, AhatHeap baseline) { 47 return new AhatHeap(name, baseline); 76 void setBaseline(AhatHeap baseline) { 77 mBaseline = baseline;
|
AhatPlaceHolderInstance.java | 26 AhatPlaceHolderInstance(AhatInstance baseline) { 28 setBaseline(baseline); 29 baseline.setBaseline(this);
|
AhatPlaceHolderClassObj.java | 26 AhatPlaceHolderClassObj(AhatClassObj baseline) { 28 setBaseline(baseline); 29 baseline.setBaseline(this);
|
/external/archive-patcher/shared/src/main/java/com/google/archivepatcher/shared/ |
DefaultDeflateCompatibilityWindow.java | 36 // Baseline generated on 2015-11-27 using Oracle's Java Runtime Environment: 69 * Implementation of the lazy-holder idiom to hold and return the baseline. 76 * Generates the baseline and returns it. 80 Map<JreDeflateParameters, String> baseline = new HashMap<JreDeflateParameters, String>(); local 81 baseline.put( 84 baseline.put( 87 baseline.put( 90 baseline.put( 93 baseline.put( 96 baseline.put [all...] |
/external/autotest/client/site_tests/security_SuidBinaries/ |
security_SuidBinaries.py | 22 @returns a set containing the names of the files listed in the baseline 33 """Load the list of expected files for a given baseline type. 35 @param bltype the baseline to load. 37 baseline. 39 # Baseline common to all boards. 40 blname = 'baseline.' + bltype 42 # Board-specific baseline. 43 board_blname = 'baseline.%s.%s' % (utils.get_current_board(), bltype) 48 def run_once(self, baseline='suid'): 50 Do a find on the system for setuid binaries, compare against baseline [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/scripts/ |
results.properties | 12 -baseline 3.0_200406251208_200505301645 \ 13 -baseline.prefix 3.0_ \
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/d10v/ |
error-001.s | 3 ;; Not really an error but a baseline for the expect function
|
/external/eigen/bench/btl/generic_bench/timers/ |
STL_timer.hh | 32 STL_Timer(){ baseline = false; }; // Default constructor 41 // Start a series of r trials to determine baseline time: 44 baseline = true; 73 // true if this is a baseline computation, false otherwise 74 bool baseline; member in class:STL_Timer 75 // For recording the baseline time
|
/art/tools/ahat/test-dump/ |
Main.java | 94 DumpedStuff(boolean baseline) { 95 int N = baseline ? 400000 : 1000000; 101 addedObject = baseline ? null : new AddedObject(); 102 removedObject = baseline ? new RemovedObject() : null; 104 modifiedObject.value = baseline ? 5 : 8; 105 modifiedObject.modifiedRefField = baseline ? "A1" : "A2"; 107 modifiedStaticField = baseline ? "C1" : "C2"; 108 modifiedArray = baseline ? new int[]{0,1,2,3} : new int[]{3,1,2,0}; 117 if (!baseline) { 136 // baseline hprof file suitable for using in testing diff [all...] |
/frameworks/base/core/java/android/text/style/ |
LineBackgroundSpan.java | 27 int top, int baseline, int bottom,
|
/test/vts/web/dashboard/src/main/java/com/android/vts/util/ |
PerformanceUtil.java | 81 * @param baseline The baseline value observed. 82 * @param test The value to compare against the baseline. 87 public static String getPercentChangeHTML(double baseline, double test, String classNames, 91 double delta = test - baseline; 92 if (baseline != 0) { 93 double pctChange = delta / baseline; 111 * Compares a test StatSummary to a baseline StatSummary using best-case performance. 113 * @param baseline The StatSummary object containing initial values to compare against 114 * @param test The StatSummary object containing test values to be compared against the baseline [all...] |
/frameworks/base/tools/preload/ |
MemoryUsage.java | 107 MemoryUsage subtract(MemoryUsage baseline) { 109 nativeSharedPages - baseline.nativeSharedPages, 110 javaSharedPages - baseline.javaSharedPages, 111 otherSharedPages - baseline.otherSharedPages, 112 nativePrivatePages - baseline.nativePrivatePages, 113 javaPrivatePages - baseline.javaPrivatePages, 114 otherPrivatePages - baseline.otherPrivatePages, 115 allocCount - baseline.allocCount, 116 allocSize - baseline.allocSize, 117 freedCount - baseline.freedCount 156 static MemoryUsage baseline() { method in class:MemoryUsage [all...] |
PrintCsv.java | 44 MemoryUsage baseline = MemoryUsage.baseline(); local 51 printRow(System.out, baseline, loadedClass); 70 static void printRow(PrintStream out, MemoryUsage baseline, 108 = loadedClass.memoryUsage.subtract(baseline);
|
/external/autotest/client/site_tests/security_RootfsStatefulSymlinks/ |
security_RootfsStatefulSymlinks.py | 24 bfile = open(os.path.join(self.bindir, 'baseline')) 25 baseline = json.loads(bfile.read()) 27 return baseline 46 # that's permitted by "can_dangle": true in the baseline. 76 baseline = self.load_baseline() 85 # Check if this link is in the baseline. If not, test fails. 86 if not link in baseline: 87 logging.error("No baseline entry for '%s'", link) 93 file_pass = self.validate_attributes(link, baseline[link]) 96 # The above will have flagged any links for which we had no baseline [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
AllocationStats.java | 81 * {@code baseline} measurement. The {@code baseline} measurement must have a lower weight 84 AllocationStats minus(AllocationStats baseline) { 85 for (Entry<Allocation> entry : baseline.allocations.entrySet()) { 90 + "Observed %d instance(s) of %s in the baseline but only %d in the actual " 98 return new AllocationStats(allocationCount - baseline.allocationCount, 99 allocationSize - baseline.allocationSize, 100 reps - baseline.reps, 101 Multisets.difference(allocations, baseline.allocations)); 105 + "between the baseline %s and the measurement %s is invalid. Consider enabling [all...] |
MicrobenchmarkAllocationWorker.java | 91 AllocationStats baseline = null; local 96 if (stats.equals(baseline)) { 104 baseline = stats; 108 // the baseline allocations did not settle down and so are probably non-deterministic. 128 AllocationStats baseline = measureAllocations(benchmark, benchmarkMethod, 0); local 132 return measurement.minus(baseline).toMeasurements();
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/ |
ConfigResults.java | 30 BuildResults baseline, current; field in class:ConfigResults 44 /*if (this.baseline == null || this.current == null) */initialize(); 50 * Returns the baseline build name used to compare results with. 52 * @return The name of the baseline build 56 if (this.baseline == null) { 59 return this.baseline.getName(); 63 * Returns the most recent baseline build results. 65 * @return The {@link BuildResults baseline build results}. 69 if (this.baseline == null) { 72 return this.baseline; [all...] |
/art/tools/ahat/src/ |
DocString.java | 90 * to a baseline. 102 * to a baseline. 110 * to a baseline. 122 * to a baseline. 130 * a baseline. 134 * @param baseline - the size of the baseline object. 137 long current, long baseline) { 139 return doc.appendDelta(noCurrent, noBaseline, current, baseline); 144 * a baseline [all...] |
/external/autotest/client/site_tests/security_Firewall/ |
security_Firewall.py | 26 """The baseline file lists the rules that we expect. 39 so that we can update the baseline file if necessary. 69 baseline = self.load_baseline("baseline.%s" % executable) 71 webserv_rules = self.load_baseline("baseline.webservd") 73 baseline.update(webserv_rules) 79 missing_rules = baseline - current 80 extra_rules = current - baseline
|
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
BlasTestList.java | 44 public final float baseline; field in class:BlasTestList.TestName 48 baseline = base; 52 baseline = 1.f;
|
/external/pdfium/samples/ |
image_diff.cc | 137 void CountImageSizeMismatchAsPixelDifference(const Image& baseline, 140 int w = std::min(baseline.w(), actual.w()); 141 int h = std::min(baseline.h(), actual.h()); 144 int max_w = std::max(baseline.w(), actual.w()); 145 int max_h = std::max(baseline.h(), actual.h()); 152 float PercentageDifferent(const Image& baseline, const Image& actual) { 153 int w = std::min(baseline.w(), actual.w()); 154 int h = std::min(baseline.h(), actual.h()); 160 if (baseline.pixel_at(x, y) != actual.pixel_at(x, y)) 165 CountImageSizeMismatchAsPixelDifference(baseline, actual, &pixels_different) [all...] |
/external/autotest/client/site_tests/security_BundledExtensions/ |
security_BundledExtensions.py | 23 bfile = open(os.path.join(self.bindir, 'baseline')) 24 with open(os.path.join(self.bindir, 'baseline')) as bfile: 25 baseline = [] 28 baseline.append(line) 29 baseline = json.loads(''.join(baseline)) 30 self._ignored_extension_ids = baseline['ignored_extension_ids'] 31 self._bundled_crx_baseline = baseline['bundled_crx_baseline'] 32 self._component_extension_baseline = baseline[ 34 self._official_components = baseline['official_components' [all...] |
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/ |
CaptureRenderer.java | 72 if (node.baseline != -1) { 74 g.drawLine(0, node.baseline, width, node.baseline);
|
/external/autotest/client/site_tests/security_SandboxedServices/ |
security_SandboxedServices.py | 157 """The baseline file lists the services we know and 162 """Load baseline from |path| and return its fields and dictionary. 164 @param path: The baseline to load. 166 logging.info('Loading baseline %s', path) 171 baseline_path = os.path.join(self.bindir, 'baseline') 197 so that we can update the baseline file if necessary. 214 (with some exclusions). If we have a baseline entry for a given process, 216 processes that we have no baseline for, and warns if we have 220 fieldnames, baseline = self.load_baseline() 255 # Find differences between running services and baseline [all...] |