Home
last modified time | relevance | path

Searched refs:AllocationStats (Results 1 – 7 of 7) sorted by relevance

/external/caliper/caliper/src/main/java/com/google/caliper/worker/
DMicrobenchmarkAllocationWorker.java88 List<AllocationStats> history = new ArrayList<AllocationStats>(); in verifyBenchmarkIsDeterministic()
91 AllocationStats baseline = null; in verifyBenchmarkIsDeterministic()
94 AllocationStats stats = measureAllocations(benchmark, benchmarkMethod, 0); in verifyBenchmarkIsDeterministic()
110 AllocationStats previous = null; in verifyBenchmarkIsDeterministic()
111 for (AllocationStats allocationStats : history) { in verifyBenchmarkIsDeterministic()
115 AllocationStats.Delta delta = allocationStats.delta(previous); in verifyBenchmarkIsDeterministic()
128 AllocationStats baseline = measureAllocations(benchmark, benchmarkMethod, 0); in measure()
131 AllocationStats measurement = measureAllocations(benchmark, benchmarkMethod, measurementReps); in measure()
135 private AllocationStats measureAllocations( in measureAllocations()
DAllocationStats.java36 final class AllocationStats { class
47 AllocationStats(int allocationCount, long allocationSize, int reps) { in AllocationStats() method in AllocationStats
55 AllocationStats(Collection<Allocation> allocations, int reps) { in AllocationStats() method in AllocationStats
60 private AllocationStats(int allocationCount, long allocationSize, int reps, in AllocationStats() method in AllocationStats
84 AllocationStats minus(AllocationStats baseline) { in minus()
98 return new AllocationStats(allocationCount - baseline.allocationCount, in minus()
116 public Delta delta(AllocationStats baseline) { in delta()
150 } else if (obj instanceof AllocationStats) { in equals()
151 AllocationStats that = (AllocationStats) obj; in equals()
DAllocationRecorder.java39 AllocationStats stats = stopRecording(1); in startRecording()
60 abstract AllocationStats stopRecording(int reps); in stopRecording()
DAggregateAllocationsRecorder.java56 @Override public AllocationStats stopRecording(int reps) { in stopRecording()
59 return new AllocationStats(allocationCount.get(), allocationSize.get(), reps); in stopRecording()
DAllAllocationsRecorder.java85 @Override public AllocationStats stopRecording(int reps) { in stopRecording()
88 return new AllocationStats(allocations, reps); in stopRecording()
DMacrobenchmarkAllocationWorker.java51 private AllocationStats measureAllocations(Object benchmark, Method method) throws Exception { in measureAllocations()
/external/v8/src/heap/
Dspaces.h1537 class AllocationStats BASE_EMBEDDED {
1539 AllocationStats() { Clear(); } in AllocationStats() function
1598 void Merge(const AllocationStats& other) { in Merge()
2204 AllocationStats accounting_stats_;