/external/webkit/Source/JavaScriptCore/runtime/ |
MemoryStatistics.cpp | 37 GlobalMemoryStatistics stats; local 39 stats.stackBytes = RegisterFile::committedByteCount(); 41 stats.JITBytes = ExecutableAllocator::committedByteCount(); 43 stats.JITBytes = 0; 45 return stats;
|
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheManualTest.java | 31 CacheStats stats = cache.stats(); local 32 assertEquals(0, stats.missCount()); 33 assertEquals(0, stats.loadSuccessCount()); 34 assertEquals(0, stats.loadExceptionCount()); 35 assertEquals(0, stats.hitCount()); 41 stats = cache.stats(); 42 assertEquals(1, stats.missCount()); 43 assertEquals(0, stats.loadSuccessCount()) 107 CacheStats stats = cache.stats(); local [all...] |
CacheStatsTest.java | 29 CacheStats stats = new CacheStats(0, 0, 0, 0, 0, 0); local 30 assertEquals(0, stats.requestCount()); 31 assertEquals(0, stats.hitCount()); 32 assertEquals(1.0, stats.hitRate()); 33 assertEquals(0, stats.missCount()); 34 assertEquals(0.0, stats.missRate()); 35 assertEquals(0, stats.loadSuccessCount()); 36 assertEquals(0, stats.loadExceptionCount()); 37 assertEquals(0.0, stats.loadExceptionRate()); 38 assertEquals(0, stats.loadCount()) 45 CacheStats stats = new CacheStats(11, 13, 17, 19, 23, 27); local [all...] |
CacheLoadingTest.java | 102 CacheStats stats = cache.stats(); local 103 assertEquals(0, stats.missCount()); 104 assertEquals(0, stats.loadSuccessCount()); 105 assertEquals(0, stats.loadExceptionCount()); 106 assertEquals(0, stats.hitCount()); 110 stats = cache.stats(); 111 assertEquals(1, stats.missCount()); 112 assertEquals(1, stats.loadSuccessCount()) 175 CacheStats stats = cache.stats(); local 225 CacheStats stats = cache.stats(); local 284 CacheStats stats = cache.stats(); local 325 CacheStats stats = cache.stats(); local 371 CacheStats stats = cache.stats(); local 590 CacheStats stats = cache.stats(); local 661 CacheStats stats = cache.stats(); local 706 CacheStats stats = cache.stats(); local 755 CacheStats stats = cache.stats(); local 797 CacheStats stats = cache.stats(); local 828 CacheStats stats = cache.stats(); local 849 CacheStats stats = cache.stats(); local 935 CacheStats stats = cache.stats(); local 981 CacheStats stats = cache.stats(); local 1031 CacheStats stats = cache.stats(); local 1075 CacheStats stats = cache.stats(); local 1098 CacheStats stats = cache.stats(); local 1179 CacheStats stats = cache.stats(); local 1225 CacheStats stats = cache.stats(); local 1275 CacheStats stats = cache.stats(); local 1319 CacheStats stats = cache.stats(); local 1342 CacheStats stats = cache.stats(); local 1423 CacheStats stats = cache.stats(); local 1469 CacheStats stats = cache.stats(); local 1519 CacheStats stats = cache.stats(); local 1563 CacheStats stats = cache.stats(); local [all...] |
AbstractCacheTest.java | 85 CacheStats stats = counter.snapshot(); local 86 assertEquals(0, stats.requestCount()); 87 assertEquals(0, stats.hitCount()); 88 assertEquals(1.0, stats.hitRate()); 89 assertEquals(0, stats.missCount()); 90 assertEquals(0.0, stats.missRate()); 91 assertEquals(0, stats.loadSuccessCount()); 92 assertEquals(0, stats.loadExceptionCount()); 93 assertEquals(0, stats.loadCount()); 94 assertEquals(0, stats.totalLoadTime()) 116 CacheStats stats = counter.snapshot(); local [all...] |
LocalLoadingCacheTest.java | 80 // stats tests 87 assertEquals(EMPTY_STATS, cache.stats()); 91 CacheStats stats = cache.stats(); local 92 assertEquals(1, stats.requestCount()); 93 assertEquals(0, stats.hitCount()); 94 assertEquals(0.0, stats.hitRate()); 95 assertEquals(1, stats.missCount()); 96 assertEquals(1.0, stats.missRate()); 97 assertEquals(1, stats.loadCount()) [all...] |
/external/kernel-headers/original/linux/ |
taskstats_kern.h | 27 sig->stats = NULL; 32 struct taskstats *stats; local 35 stats = kmem_cache_zalloc(taskstats_cache, SLAB_KERNEL); 36 if (!stats) 40 if (!sig->stats) { 41 sig->stats = stats; 42 stats = NULL; 46 if (stats) 47 kmem_cache_free(taskstats_cache, stats); 52 struct taskstats *stats = NULL; local [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowSyncResult.java | 19 Field f = SyncResult.class.getDeclaredField("stats"); 31 return result.syncAlreadyInProgress || result.stats.numIoExceptions > 0; 36 return result.stats.numParseExceptions > 0 37 || result.stats.numConflictDetectedExceptions > 0 38 || result.stats.numAuthExceptions > 0 51 return ((result.stats.numDeletes > 0) && !result.tooManyDeletions) 52 || result.stats.numInserts > 0 53 || result.stats.numUpdates > 0; 69 result.stats.clear(); 76 private SyncStats stats; field in class:ShadowSyncResult.ShadowSyncStats [all...] |
/frameworks/base/core/jni/ |
android_net_TrafficStats.cpp | 35 static const char* QTAGUID_UID_STATS = "/proc/net/xt_qtaguid/stats"; 49 struct Stats { 58 static uint64_t getStatsType(struct Stats* stats, StatsType type) { 61 return stats->rxBytes; 63 return stats->rxPackets; 65 return stats->txBytes; 67 return stats->txPackets; 69 return stats->tcpRxPackets; 71 return stats->tcpTxPackets 152 struct Stats stats; local 167 struct Stats stats; local 177 struct Stats stats; local [all...] |
/external/linux-tools-perf/scripts/perl/bin/ |
workqueue-stats-report | 2 # description: workqueue stats (ins/exe/create/destroy) 3 perf script $@ -s "$PERF_EXEC_PATH"/scripts/perl/workqueue-stats.pl
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
PackageStatsTest.java | 34 PackageStats stats = new PackageStats(PACKAGE_NAME); local 35 assertEquals(PACKAGE_NAME, stats.packageName); 36 stats.cacheSize = codeSize; 37 stats.codeSize = cacheSize; 38 stats.dataSize = dataSize; 39 PackageStats infoFromExisted = new PackageStats(stats); 40 checkInfoSame(stats, infoFromExisted); 43 assertNotNull(stats.toString()); 44 assertEquals(0, stats.describeContents()); 48 stats.writeToParcel(p, 0) [all...] |
/system/extras/showslab/ |
showslab.c | 60 static struct slab_info * get_slabinfo(struct slab_stat *stats) 88 stats->min_obj_size = INT_MAX; 103 if (stats->nr_caches++ == 0) 121 if (p->obj_size < stats->min_obj_size) 122 stats->min_obj_size = p->obj_size; 123 if (p->obj_size > stats->max_obj_size) 124 stats->max_obj_size = p->obj_size; 130 stats->nr_active_caches++; 134 stats->nr_objs += p->nr_objs; 135 stats->nr_active_objs += p->nr_active_objs 273 struct slab_stat stats = { .nr_objs = 0 }; local [all...] |
/external/chromium/net/disk_cache/ |
stats.cc | 5 #include "net/disk_cache/stats.h" 20 int data_sizes[disk_cache::Stats::kDataSizesLength]; 21 int64 counters[disk_cache::Stats::MAX_COUNTER]; 41 // WARNING: Add new stats only at the end, or change LoadStats(). 65 COMPILE_ASSERT(arraysize(kCounterNames) == disk_cache::Stats::MAX_COUNTER, 72 bool LoadStats(BackendImpl* backend, Addr address, OnDiskStats* stats) { 79 memset(stats, 0, sizeof(*stats)); 80 if (!file->Read(stats, sizeof(*stats), offset) 126 OnDiskStats stats; local [all...] |
/frameworks/base/core/java/android/content/ |
SyncResult.java | 91 public final SyncStats stats; field in class:SyncResult 135 this.stats = new SyncStats(); 147 stats = new SyncStats(parcel); 166 return stats.numParseExceptions > 0 167 || stats.numConflictDetectedExceptions > 0 168 || stats.numAuthExceptions > 0 187 return syncAlreadyInProgress || stats.numIoExceptions > 0; 199 return ((stats.numDeletes > 0) && !tooManyDeletions) 200 || stats.numInserts > 0 201 || stats.numUpdates > 0 [all...] |
/frameworks/base/core/tests/coretests/src/android/net/ |
NetworkStatsHistoryTest.java | 55 private NetworkStatsHistory stats; field in class:NetworkStatsHistoryTest 60 if (stats != null) { 61 assertConsistent(stats); 93 stats = new NetworkStatsHistory(BUCKET_SIZE); 96 stats.recordData(TEST_START, TEST_START + SECOND_IN_MILLIS, 99 assertEquals(1, stats.size()); 100 assertValues(stats, 0, SECOND_IN_MILLIS, 1024L, 10L, 2048L, 20L, 2L); 105 stats = new NetworkStatsHistory(bucketDuration); 109 stats.recordData(recordStart, recordStart + bucketDuration, 112 assertEquals(2, stats.size()) [all...] |
/frameworks/base/core/tests/coretests/src/com/android/internal/net/ |
NetworkStatsFactoryTest.java | 73 stageFile(R.raw.xt_qtaguid_typical, new File(mTestProc, "net/xt_qtaguid/stats")); 75 final NetworkStats stats = mFactory.readNetworkStatsDetail(); local 76 assertEquals(70, stats.size()); 77 assertStatsEntry(stats, "wlan0", 0, SET_DEFAULT, 0x0, 18621L, 2898L); 78 assertStatsEntry(stats, "wlan0", 10011, SET_DEFAULT, 0x0, 35777L, 5718L); 79 assertStatsEntry(stats, "wlan0", 10021, SET_DEFAULT, 0x7fffff01, 562386L, 49228L); 80 assertStatsEntry(stats, "rmnet1", 10021, SET_DEFAULT, 0x30100000, 219110L, 227423L); 81 assertStatsEntry(stats, "rmnet2", 10001, SET_DEFAULT, 0x0, 1125899906842624L, 984L); 99 stageFile(R.raw.xt_qtaguid_typical, new File(mTestProc, "net/xt_qtaguid/stats")); 101 final NetworkStats stats = mFactory.readNetworkStatsDetail() local 110 final NetworkStats stats = mFactory.readNetworkStatsSummaryDev(); local 121 final NetworkStats stats = mFactory.readNetworkStatsSummaryXt(); local [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
SyncResultTest.java | 21 assertThat(result.stats, not(nullValue())); 28 result.stats.numIoExceptions++; 37 result.stats.numAuthExceptions++; 46 result.stats.numInserts++; 54 result.stats.numInserts++; 57 assertThat(result.stats.numInserts, is(0L));
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
Profiler.java | 69 // int Stats.min(toArray(decisionMaxSynPredLookaheads); 70 // int Stats.max(toArray(decisionMaxSynPredLookaheads); 71 // int Stats.avg(toArray(decisionMaxSynPredLookaheads); 72 // int Stats.stddev(toArray(decisionMaxSynPredLookaheads); 113 /** Because I may change the stats, I need to track that for later 117 public static final String RUNTIME_STATS_FILENAME = "runtime.stats"; 146 ProfileStats stats = new ProfileStats(); field in class:Profiler 158 stats.numRuleInvocations++; 160 stats.maxRuleInvocationDepth = Math.max(stats.maxRuleInvocationDepth, ruleLevel) [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteDebug.java | 32 private static native void nativeGetPagerStats(PagerStats stats); 133 /** statement cache stats: hits/misses/cachesize */ 147 * return all pager and database stats for the current process. 151 PagerStats stats = new PagerStats(); local 152 nativeGetPagerStats(stats); 153 stats.dbStats = SQLiteDatabase.getDbStats(); 154 return stats;
|
/external/chromium/chrome/browser/renderer_host/ |
web_cache_manager.cc | 84 RendererInfo* stats = &(stats_[renderer_id]); local 85 memset(stats, 0, sizeof(*stats)); 86 stats->access = Time::Now(); 105 return; // We might see stats for a renderer that has been destroyed. 123 const WebCache::UsageStats& stats) { 126 return; // We might see stats for a renderer that has been destroyed. 128 // Record the updated stats. 129 entry->second.capacity = stats.capacity; 130 entry->second.deadSize = stats.deadSize [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/ |
Profiler.cs | 57 /** Because I may change the stats, I need to track that for later 61 public static readonly string RuntimeStatsFilename = "runtime.stats"; 90 ProfileStats stats = new ProfileStats(); field in class:Antlr.Runtime.Debug.Profiler 102 stats.numRuleInvocations++; 104 stats.maxRuleInvocationDepth = Math.Max(stats.maxRuleInvocationDepth, ruleLevel); 128 stats.numMemoizationCacheMisses++; 129 stats.numGuessingRuleInvocations++; // we'll have to enter 134 stats.numMemoizationCacheHits++; 147 stats.numMemoizationCacheEntries++ [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/ |
Profiler.cs | 57 /** Because I may change the stats, I need to track that for later 61 public static readonly string RuntimeStatsFilename = "runtime.stats"; 90 ProfileStats stats = new ProfileStats(); field in class:Antlr.Runtime.Debug.Profiler 105 stats.numRuleInvocations++; 107 stats.maxRuleInvocationDepth = Math.Max(stats.maxRuleInvocationDepth, ruleLevel); 134 stats.numMemoizationCacheMisses++; 135 stats.numGuessingRuleInvocations++; // we'll have to enter 142 stats.numMemoizationCacheHits++; 156 stats.numMemoizationCacheEntries++ [all...] |
/external/webkit/Source/WebKit/chromium/src/ |
WebCache.cpp | 94 MemoryCache::Statistics stats = cache->getStatistics(); local 95 ToResourceTypeStat(stats.images, result->images); 96 ToResourceTypeStat(stats.cssStyleSheets, result->cssStyleSheets); 97 ToResourceTypeStat(stats.scripts, result->scripts); 99 ToResourceTypeStat(stats.xslStyleSheets, result->xslStyleSheets); 103 ToResourceTypeStat(stats.fonts, result->fonts);
|
/external/webkit/Source/WebKit2/Shared/mac/ |
WebMemorySampler.mac.mm | 62 malloc_statistics_t stats; 63 stats.blocks_in_use = 0; 64 stats.size_in_use = 0; 65 stats.max_size_in_use = 0; 66 stats.size_allocated = 0; 67 mallocStats.defaultMallocZoneStats = stats; 68 mallocStats.dispatchContinuationMallocZoneStats = stats; 69 mallocStats.purgeableMallocZoneStats = stats; 74 stats.blocks_in_use = 0; 75 stats.size_in_use = 0 [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/rpcsvc/ |
rstat.h | 72 struct stats { struct 86 typedef struct stats stats; typedef in typeref:struct:stats 128 extern stats * rstatproc_stats_1(void *, CLIENT *); 129 extern stats * rstatproc_stats_1_svc(void *, struct svc_req *); 135 extern stats * rstatproc_stats_1(); 136 extern stats * rstatproc_stats_1_svc(); 148 extern bool_t xdr_stats (XDR *, stats*);
|