Home
last modified time | relevance | path

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

/external/guava/guava/src/com/google/common/cache/
DCacheStats.java68 private final long totalLoadTime; field in CacheStats
78 long loadExceptionCount, long totalLoadTime, long evictionCount) { in CacheStats() argument
83 checkArgument(totalLoadTime >= 0); in CacheStats()
90 this.totalLoadTime = totalLoadTime; in CacheStats()
191 public long totalLoadTime() { in totalLoadTime() method in CacheStats
192 return totalLoadTime; in totalLoadTime()
203 : (double) totalLoadTime / totalLoadCount; in averageLoadPenalty()
225 Math.max(0, totalLoadTime - other.totalLoadTime), in minus()
241 totalLoadTime + other.totalLoadTime, in plus()
248 totalLoadTime, evictionCount); in hashCode()
[all …]
DAbstractCache.java210 private final LongAddable totalLoadTime = LongAddables.create(); field in AbstractCache.SimpleStatsCounter
237 totalLoadTime.add(loadTime); in recordLoadSuccess()
243 totalLoadTime.add(loadTime); in recordLoadException()
258 totalLoadTime.sum(), in snapshot()
271 totalLoadTime.add(otherStats.totalLoadTime()); in incrementBy()
/external/guava/guava-tests/test/com/google/common/cache/
DAbstractCacheTest.java82 assertEquals(0, stats.totalLoadTime()); in testEmptySimpleStats()
115 assertEquals(214, stats.totalLoadTime()); in testSingleSimpleStats()
121 long totalLoadTime = 0; in testSimpleStatsIncrementBy() local
129 totalLoadTime += i; in testSimpleStatsIncrementBy()
133 totalLoadTime += i; in testSimpleStatsIncrementBy()
148 totalLoadTime += i; in testSimpleStatsIncrementBy()
152 totalLoadTime += i; in testSimpleStatsIncrementBy()
162 assertEquals(new CacheStats(38, 60, 44, 54, totalLoadTime, 66), in testSimpleStatsIncrementBy()
DLocalLoadingCacheTest.java93 long totalLoadTime = stats.totalLoadTime(); in testStats() local
94 assertTrue(totalLoadTime >= 0); in testStats()
117 assertTrue(stats.totalLoadTime() >= totalLoadTime); in testStats()
118 totalLoadTime = stats.totalLoadTime(); in testStats()
131 assertTrue(stats.totalLoadTime() >= totalLoadTime); in testStats()
132 totalLoadTime = stats.totalLoadTime(); in testStats()
DCacheStatsTest.java39 assertEquals(0, stats.totalLoadTime()); in testEmpty()
55 assertEquals(23, stats.totalLoadTime()); in testSingle()
74 assertEquals(14, diff.totalLoadTime()); in testMinus()
95 assertEquals(48, sum.totalLoadTime()); in testPlus()
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...