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

1 2 3 4 5 6 7 8

  /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...]
  /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/jni/
android_os_Debug.cpp 59 #define BINDER_STATS "/proc/binder/stats"
91 static void read_mapinfo(FILE *fp, stats_t* stats)
172 stats->nativePss += pss;
173 stats->nativePrivateDirty += private_dirty;
174 stats->nativeSharedDirty += shared_dirty;
176 stats->dalvikPss += pss;
177 stats->dalvikPrivateDirty += private_dirty;
178 stats->dalvikSharedDirty += shared_dirty;
182 stats->otherPss += pss;
183 stats->otherPrivateDirty += private_dirty
206 stats_t stats; local
    [all...]
  /frameworks/base/core/java/android/database/sqlite/
SQLiteDebug.java 43 * Controls the printing of compiled-sql-statement cache stats.
144 * return all pager and database stats for the current process.
148 PagerStats stats = new PagerStats(); local
149 getPagerStats(stats);
150 stats.dbStats = SQLiteDatabase.getDbStats();
151 return stats;
157 public static native void getPagerStats(PagerStats stats);
  /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/WebKit/chromium/src/
WebCache.cpp 101 Cache::Statistics stats = cache->getStatistics(); local
102 ToResourceTypeStat(stats.images, result->images);
103 ToResourceTypeStat(stats.cssStyleSheets, result->cssStyleSheets);
104 ToResourceTypeStat(stats.scripts, result->scripts);
106 ToResourceTypeStat(stats.xslStyleSheets, result->xslStyleSheets);
110 ToResourceTypeStat(stats.fonts, result->fonts);
  /frameworks/base/services/java/com/android/server/
LoadAverageService.java 36 private static final class Stats extends ProcessStats {
42 Stats(Paint paint) {
72 private final Stats mStats;
138 mStats = new Stats(mLoadPaint);
165 final Stats stats = mStats; local
166 final int userTime = stats.getLastUserTime();
167 final int systemTime = stats.getLastSystemTime();
168 final int iowaitTime = stats.getLastIoWaitTime();
169 final int irqTime = stats.getLastIrqTime()
245 final Stats stats = mStats; local
    [all...]
  /external/iproute2/netem/
Makefile 19 stats: stats.c
stats.c 18 stats(FILE *fp) function
75 stats(fp);
  /external/opencore/oscl/oscl/osclproc/src/
oscl_init.cpp 127 MM_Stats_t* stats = auditCB.pAudit->MM_GetStats("");
128 if (stats)
130 fprintf(aFile, "Memory Stats:\n");
131 fprintf(aFile, " peakNumAllocs %d\n", stats->peakNumAllocs);
132 fprintf(aFile, " peakNumBytes %d\n", stats->peakNumBytes);
133 fprintf(aFile, " numAllocFails %d\n", stats->numAllocFails);
134 if (stats->numAllocs)
136 fprintf(aFile, " ERROR: Memory Leaks! numAllocs %d, numBytes %d\n", stats->numAllocs, stats->numBytes);
oscl_scheduler.cpp 130 //no stats
160 #define UPDATE_RUNERROR_TIME(stats,delta)\
161 if(stats->i64Valid) stats->i64TotalTicksInRun+=delta;\
162 else stats->iTotalTicksInRun+=delta;\
163 if(delta>stats->iMaxTicksInRun) stats->iMaxTicksInRun=delta;\
164 stats->iNumRunError++
165 #define UPDATE_RUNL_TIME(stats,delta)\
166 if(stats->i64Valid) stats->i64TotalTicksInRun+=delta;
    [all...]
  /frameworks/base/services/java/com/android/server/am/
BackupRecord.java 30 final BatteryStatsImpl.Uid.Pkg.Serv stats; field in class:BackupRecord
40 stats = _agentStats;
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/syncadapter/
SyncAdapter.java 86 syncResult.stats.numParseExceptions++;
92 syncResult.stats.numIoExceptions++;
96 syncResult.stats.numAuthExceptions++;
99 syncResult.stats.numParseExceptions++;
102 syncResult.stats.numParseExceptions++;
  /external/blktrace/btt/
iostat.c 27 (dip)->stats. fld ++; \
33 (dip)->stats. fld --; \
40 (dip)->stats. fld += __v; \
47 (dip)->stats. fld -= __v; \
65 dip->stats.tot_qusz += ((now - dip->stats.last_qu_change) *
66 dip->stats.cur_qusz);
70 dip->stats.last_qu_change = dip->all_stats.last_qu_change = now;
75 if (dip->stats.cur_dev == 0 || force) {
76 dip->stats.idle_time += (now - dip->stats.last_dev_change)
    [all...]
  /external/bison/lib/
bitset_stats.c 171 struct bitset_type_info_struct *stats)
173 if (!stats)
178 stats->allocs, stats->frees,
179 stats->allocs ? 100.0 * stats->frees / stats->allocs : 0);
181 stats->sets, stats->cache_sets,
182 stats->sets ? 100.0 * stats->cache_sets / stats->sets : 0)
    [all...]
  /packages/experimental/procstatlog/
procstatlog.c 49 // /proc/binder/stats - per line: "/proc/binder/stats:BC_REPLY"
54 // /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state
105 struct data *stats, int stats_count) {
143 struct data *data = &stats[num++];
160 static int read_proc_yaffs(struct data *stats, int stats_count) {
193 struct data *data = &stats[num++];
285 struct data *stats = malloc((stats_count + 1) * sizeof(struct data)); local
286 struct data *next = stats;
295 struct data *end = stats + stats_count
    [all...]
  /external/icu4c/test/perf/perldriver/
Dataset.pm 26 my $stats = Statistics::Descriptive::Full->new();
27 $stats->add_data(@{$self->{_data}});
28 $self->{_mean} = $stats->mean();
36 $self->{_error} = $t * $stats->standard_deviation();
  /external/iproute2/ip/
iplink_can.c 244 struct can_device_stats *stats; local
246 if (xstats && RTA_PAYLOAD(xstats) == sizeof(*stats)) {
247 stats = RTA_DATA(xstats);
252 stats->restarts, stats->bus_error,
253 stats->arbitration_lost, stats->error_warning,
254 stats->error_passive, stats->bus_off);
  /external/quake/quake/src/QW/server/
sv_send.c 514 Performs a delta update of the stats array. This should only be performed
521 int stats[MAX_CL_STATS]; local
525 memset (stats, 0, sizeof(stats));
527 // if we are a spectator and we are tracking a player, we get his stats
532 stats[STAT_HEALTH] = ent->v.health;
533 stats[STAT_WEAPON] = SV_ModelIndex(PR_GetString(ent->v.weaponmodel));
534 stats[STAT_AMMO] = ent->v.currentammo;
535 stats[STAT_ARMOR] = ent->v.armorvalue;
536 stats[STAT_SHELLS] = ent->v.ammo_shells
    [all...]
  /external/opencore/oscl/oscl/osclio/src/
oscl_file_dir_utils.h 191 * @param stats pointer to structure to hold information
196 OSCL_IMPORT_REF OSCL_FILEMGMT_ERR_TYPE oscl_statfs(OSCL_FSSTAT *stats, const char *path);
199 * @param stats pointer to structure to hold information
204 OSCL_IMPORT_REF OSCL_FILEMGMT_ERR_TYPE oscl_statfs(OSCL_FSSTAT *stats, const oscl_wchar *path);
oscl_file_dir_utils.cpp 104 OSCL_EXPORT_REF OSCL_FILEMGMT_ERR_TYPE oscl_statfs(OSCL_FSSTAT *stats, const char *path)
109 stats->freebytes = fs_stats.f_bsize * fs_stats.f_bfree;
110 stats->totalbytes = fs_stats.f_bsize * fs_stats.f_blocks;
117 OSCL_EXPORT_REF OSCL_FILEMGMT_ERR_TYPE oscl_statfs(OSCL_FSSTAT *stats, const oscl_wchar *path)
126 return oscl_statfs(stats, convpathname);
  /packages/apps/Gallery3D/src/com/cooliris/picasa/
PicasaApi.java 196 ++syncResult.stats.numAuthExceptions;
202 ++syncResult.stats.numIoExceptions;
220 ++syncResult.stats.numIoExceptions;
229 ++syncResult.stats.numIoExceptions;
232 ++syncResult.stats.numParseExceptions;
272 ++syncResult.stats.numAuthExceptions;
277 ++syncResult.stats.numIoExceptions;
295 ++syncResult.stats.numIoExceptions;
304 ++syncResult.stats.numIoExceptions;
308 ++syncResult.stats.numParseExceptions
    [all...]

Completed in 765 milliseconds

1 2 3 4 5 6 7 8