HomeSort by relevance Sort by last modified time
    Searched refs:stats (Results 1 - 25 of 268) sorted by null

1 2 3 4 5 6 7 8 91011

  /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/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...]
  /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...]
  /cts/tests/tests/content/src/android/content/pm/cts/
PackageStatsTest.java 77 PackageStats stats = new PackageStats(PACKAGE_NAME); local
78 assertEquals(PACKAGE_NAME, stats.packageName);
79 stats.cacheSize = codeSize;
80 stats.codeSize = cacheSize;
81 stats.dataSize = dataSize;
82 PackageStats infoFromExisted = new PackageStats(stats);
83 checkInfoSame(stats, infoFromExisted);
86 assertNotNull(stats.toString());
87 assertEquals(0, stats.describeContents());
91 stats.writeToParcel(p, 0)
    [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/com/android/internal/net/
NetworkStatsFactoryTest.java 71 stageFile(R.raw.xt_qtaguid_typical, new File(mTestProc, "net/xt_qtaguid/stats"));
73 final NetworkStats stats = mFactory.readNetworkStatsDetail(); local
74 assertEquals(31, stats.size());
75 assertStatsEntry(stats, "wlan0", 0, SET_DEFAULT, 0, 14615L, 4270L);
76 assertStatsEntry(stats, "wlan0", 10004, SET_DEFAULT, 0, 333821L, 53558L);
77 assertStatsEntry(stats, "wlan0", 10004, SET_DEFAULT, 1947740890, 18725L, 1066L);
78 assertStatsEntry(stats, "rmnet0", 10037, SET_DEFAULT, 0, 31184994L, 684122L);
79 assertStatsEntry(stats, "rmnet0", 10037, SET_DEFAULT, 1947740890, 28507378L, 437004L);
83 stageFile(R.raw.xt_qtaguid_extended, new File(mTestProc, "net/xt_qtaguid/stats"));
85 final NetworkStats stats = mFactory.readNetworkStatsDetail() local
94 final NetworkStats stats = mFactory.readNetworkStatsSummary(); local
112 final NetworkStats stats = mFactory.readNetworkStatsSummary(); local
126 final NetworkStats stats = mFactory.readNetworkStatsSummary(); local
139 final NetworkStats stats = mFactory.readNetworkStatsSummary(); local
154 final NetworkStats stats = mFactory.readNetworkStatsDetail(); local
163 final NetworkStats stats = mFactory.readNetworkStatsSummary(); local
    [all...]
  /frameworks/base/core/tests/coretests/src/android/net/
NetworkStatsHistoryTest.java 57 private NetworkStatsHistory stats; field in class:NetworkStatsHistoryTest
62 if (stats != null) {
63 assertConsistent(stats);
95 stats = new NetworkStatsHistory(BUCKET_SIZE);
98 stats.recordData(TEST_START, TEST_START + SECOND_IN_MILLIS,
101 assertEquals(1, stats.size());
102 assertValues(stats, 0, SECOND_IN_MILLIS, 1024L, 10L, 2048L, 20L, 2L);
107 stats = new NetworkStatsHistory(bucketDuration);
111 stats.recordData(recordStart, recordStart + bucketDuration,
114 assertEquals(2, stats.size())
    [all...]
NetworkStatsTest.java 43 final NetworkStats stats = new NetworkStats(TEST_START, 3) local
48 assertEquals(2, stats.findIndex(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE));
49 assertEquals(2, stats.findIndex(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE));
50 assertEquals(0, stats.findIndex(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE));
51 assertEquals(-1, stats.findIndex(TEST_IFACE, 6, SET_DEFAULT, TAG_NONE));
55 final NetworkStats stats = new NetworkStats(TEST_START, 2); local
57 assertEquals(0, stats.size());
58 assertEquals(2, stats.internalSize());
60 stats.addValues(TEST_IFACE, TEST_UID, SET_DEFAULT, TAG_NONE, 1L, 1L, 2L, 2L, 3);
61 stats.addValues(TEST_IFACE, TEST_UID, SET_DEFAULT, TAG_NONE, 2L, 2L, 2L, 2L, 4)
81 final NetworkStats stats = new NetworkStats(TEST_START, 10); local
241 final NetworkStats stats = new NetworkStats(TEST_START, 3) local
    [all...]
  /external/antlr/src/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 43 * Controls the printing of compiled-sql-statement cache stats.
135 /** statement cache stats: hits/misses/cachesize */
149 * return all pager and database stats for the current process.
153 PagerStats stats = new PagerStats(); local
154 getPagerStats(stats);
155 stats.dbStats = SQLiteDatabase.getDbStats();
156 return stats;
162 public static native void getPagerStats(PagerStats 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/yaffs2/yaffs2/utils/
mkyaffs2image.c 328 struct stat stats; local
334 lstat(full_name,&stats);
336 if(S_ISLNK(stats.st_mode) ||
337 S_ISREG(stats.st_mode) ||
338 S_ISDIR(stats.st_mode) ||
339 S_ISFIFO(stats.st_mode) ||
340 S_ISBLK(stats.st_mode) ||
341 S_ISCHR(stats.st_mode) ||
342 S_ISSOCK(stats.st_mode))
349 fix_stat(full_name, &stats);
473 struct stat stats; local
    [all...]
mkyaffsimage.c 404 struct stat stats; local
410 lstat(full_name,&stats);
412 if(S_ISLNK(stats.st_mode) ||
413 S_ISREG(stats.st_mode) ||
414 S_ISDIR(stats.st_mode) ||
415 S_ISFIFO(stats.st_mode) ||
416 S_ISBLK(stats.st_mode) ||
417 S_ISCHR(stats.st_mode) ||
418 S_ISSOCK(stats.st_mode))
427 if((equivalentObj = find_obj_in_list(stats.st_dev, stats.st_ino)) > 0
531 struct stat stats; local
    [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...]
  /prebuilt/linux-x86/toolchain/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*);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
LoadAverageService.java 37 private static final class Stats extends ProcessStats {
43 Stats(Paint paint) {
73 private final Stats mStats;
153 mStats = new Stats(mLoadPaint);
182 final Stats stats = mStats; local
183 final int userTime = stats.getLastUserTime();
184 final int systemTime = stats.getLastSystemTime();
185 final int iowaitTime = stats.getLastIoWaitTime();
186 final int irqTime = stats.getLastIrqTime()
262 final Stats stats = mStats; local
    [all...]
  /external/chromium/base/
sys_info_posix.cc 47 struct statvfs stats;
48 if (statvfs(path.value().c_str(), &stats) != 0) {
51 return static_cast<int64>(stats.f_bavail) * stats.f_frsize;
  /external/clang/include/clang/Analysis/Analyses/
UninitializedValues.h 44 UninitVariablesAnalysisStats &stats);
  /sdk/ddms/app/src/com/android/ddms/
Main.java 77 // if this is the first time using ddms or adt, open up the stats service
79 SdkStatsService stats = new SdkStatsService(); local
80 stats.checkUserPermissionForPing(new Shell(Display.getDefault()));
85 stats.ping(args[1], args[2]);
103 ping(stats, ddmsParentLocation);
104 stats = null;
134 private static void ping(SdkStatsService stats, String ddmsParentLocation) {
146 stats.ping("ddms", sRevision); //$NON-NLS-1$
  /frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/
DataIdleTest.java 69 * Helper method that fetches all the network stats available and reports it
76 NetworkStats stats = mStatsService.getSummaryForAllUid(template, Long.MIN_VALUE, local
78 reportStats(stats);
80 Log.w(LOG_TAG, "Failed to fetch network stats.");
85 * Print network data usage stats to instrumentation out
86 * @param stats {@link NetworkorStats} to print
88 void reportStats(NetworkStats stats) {
94 for (int i = 0; i < stats.size(); ++i) {
96 Entry statsEntry = stats.getValues(i, null);
  /external/webkit/Source/WebKit/efl/ewk/
ewk_tiled_matrix.c 52 } stats; member in struct:_Ewk_Tile_Matrix
76 if (t->updates || t->stats.full_update)
88 tm->stats.bytes.freed += t->bytes;
89 tm->stats.tiles.freed++;
112 if (t->updates || t->stats.full_update)
131 tm->stats.bytes.freed += t->bytes;
132 tm->stats.tiles.freed++;
208 tiles = tm->stats.tiles.allocated - tm->stats.tiles.freed;
209 bytes = tm->stats.bytes.allocated - tm->stats.bytes.freed
    [all...]
  /external/chromium/chrome/browser/
oom_priority_manager.cc 108 RendererStats stats; local
109 stats.last_selected = contents->last_selected_time();
110 stats.renderer_handle = contents->GetRenderProcessHost()->GetHandle();
111 stats.is_pinned = model->IsTabPinned(i);
112 stats.memory_used = 0; // This gets calculated in DoAdjustOomPriorities.
113 renderer_stats.push_back(stats);
  /external/iproute2/netem/
Makefile 19 stats: stats.c

Completed in 879 milliseconds

1 2 3 4 5 6 7 8 91011