/external/libpcap/ |
pcap-dos.c | 340 struct net_device_stats *stats; local 349 if (!dev->get_stats || (stats = (*dev->get_stats)(dev)) == NULL) 357 p->md.stat.ps_recv = stats->rx_packets; 358 p->md.stat.ps_drop += stats->rx_missed_errors; 359 p->md.stat.ps_ifdrop = stats->rx_dropped + /* queue full */ 360 stats->rx_errors; /* HW errors */ 1081 struct net_device_stats *stats = (struct net_device_stats*) dev->priv; local 1088 stats->tx_errors++; 1096 struct net_device_stats *stats = (struct net_device_stats*) dev->priv; local 1098 if (!stats || !PktSessStatistics(pktInfo.handle) 1153 static struct net_device_stats stats; local [all...] |
/external/ppp/pppd/include/net/ |
vjcompress.h | 124 struct vjstat stats; member in struct:vjcompress
|
ppp-comp.h | 74 void (*comp_stat) __P((void *state, struct compstat *stats)); 91 void (*decomp_stat) __P((void *state, struct compstat *stats));
|
/hardware/ti/omap3/omx/system/src/openmax_il/perf/tests/ |
armtime | 52 cpu_time = 0; # total time the CPU stats were measured on 75 # get uptime stats (for beginning or end) 84 /^[0-9]+ / { # /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state lines 148 dur_cpu = ", " cpu_time " (cpu-stats)" 218 cat /proc/uptime /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state >$my_log 225 cat /proc/uptime /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state >>$my_log
|
/packages/apps/Settings/src/com/android/settings/ |
UsageStats.java | 118 PkgUsageStats[] stats; local 120 stats = mUsageStatsService.getAllPkgUsageStats(); 122 Log.e(TAG, "Failed initializing usage stats service"); 125 if (stats == null) { 128 for (PkgUsageStats ps : stats) { 190 Log.w(TAG, "No usage stats info for package:" + position);
|
/system/core/toolbox/ |
ps.c | 39 struct stat stats; local 49 stat(statline, &stats); 137 pw = getpwuid(stats.st_uid); 139 sprintf(user,"%d",(int)stats.st_uid);
|
/external/chromium/chrome/browser/chromeos/ |
boot_times_loader.cc | 47 // Names of login stats files. 309 void BootTimesLoader::RecordStats(const std::string& name, const Stats& stats) { 313 RecordStatsDelayed, name, stats.uptime, stats.disk)); 316 BootTimesLoader::Stats BootTimesLoader::GetCurrentStats() { 319 Stats stats; local 321 file_util::ReadFileToString(kProcUptime, &stats.uptime); 322 file_util::ReadFileToString(kDiskStat, &stats.disk) [all...] |
/external/e2fsprogs/lib/ext2fs/ |
closefs.c | 374 io_stats stats = 0; local 385 fs->io->manager->get_stats(fs->io, &stats); 386 if (stats && stats->bytes_written && (fs->flags & EXT2_FLAG_RW)) { 387 fs->super->s_kbytes_written += stats->bytes_written >> 10;
|
/external/webp/src/enc/ |
syntax.c | 240 if (enc->pic_->stats) { 241 enc->pic_->stats->header_bytes[0] = (int)((pos2 - pos1 + 7) >> 3); 242 enc->pic_->stats->header_bytes[1] = (int)((pos3 - pos2 + 7) >> 3); 243 enc->pic_->stats->alpha_data_size = enc->alpha_data_size_; 244 enc->pic_->stats->layer_data_size = enc->layer_data_size_;
|
/system/netd/ |
BandwidthController.cpp | 923 int BandwidthController::parseForwardChainStats(TetherStats &stats, FILE *fp) { 943 if ((stats.ifaceIn == iface0) && (stats.ifaceOut == iface1)) { 945 stats.rxPackets = packets; 946 stats.rxBytes = bytes; 947 } else if ((stats.ifaceOut == iface0) && (stats.ifaceIn == iface1)) { 949 stats.txPackets = packets; 950 stats.txBytes = bytes; 954 return (stats.rxBytes == -1 || stats.txBytes == -1) ? -1 : 0 [all...] |
BandwidthController.h | 75 * stats should have ifaceIn and ifaceOut initialized. 78 int getTetherStats(TetherStats &stats); 123 * stats should have ifaceIn and ifaceOut initialized. 126 static int parseForwardChainStats(TetherStats &stats, FILE *fp);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
NetworkStatsServiceTest.java | 276 // graceful shutdown system, which should trigger persist of stats, and 284 // talk with zombie service to assert stats have gone; and assert that 311 // after systemReady(), we should have historical stats loaded again 369 // verify identical stats, but spread across 4 buckets now 498 // now pretend two UIDs are uninstalled, which should migrate stats to 635 NetworkStats stats = mService.getSummaryForAllUid( local 637 assertEquals(3, stats.size()); 638 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, TAG_NONE, 50L, 5L, 50L, 5L, 1); 639 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, 0xF00D, 10L, 1L, 10L, 1L, 1); 640 assertValues(stats, IFACE_ALL, UID_BLUE, SET_DEFAULT, TAG_NONE, 2048L, 16L, 1024L, 8L, 0) 706 final NetworkStats stats = mService.getSummaryForAllUid( local [all...] |
NetworkPolicyManagerServiceTest.java | 496 NetworkStats stats = null; local 524 stats = new NetworkStats(getElapsedRealtime(), 1) 527 .andReturn(stats).atLeastOnce(); 568 NetworkStats stats = null; local 580 stats = new NetworkStats(getElapsedRealtime(), 1) 587 .andReturn(stats).atLeastOnce(); 602 stats = new NetworkStats(getElapsedRealtime(), 1) 609 .andReturn(stats).atLeastOnce(); 625 stats = new NetworkStats(getElapsedRealtime(), 1) 631 .andReturn(stats).atLeastOnce() [all...] |
/frameworks/base/core/java/android/net/ |
NetworkStats.java | 180 * Add new stats entry, copying from given {@link Entry}. The {@link Entry} 212 * Return specific stats entry. 294 * Find first stats index that matches the requested parameters. 311 public void spliceOperationsFrom(NetworkStats stats) { 313 final int j = stats.findIndex(IFACE_ALL, uid[i], set[i], tag[i]); 317 operations[i] = stats.operations[j]; 516 final NetworkStats stats = new NetworkStats(elapsedRealtime, 10); local 533 stats.combineValues(entry); 536 return stats; 544 final NetworkStats stats = new NetworkStats(elapsedRealtime, 10) local [all...] |
/external/quake/quake/src/QW/server/ |
sv_main.c | 1112 svs.stats.packets++; 1235 svs.stats.idle += start - end; 1275 svs.stats.active += end-start; 1276 if (++svs.stats.count == STATFRAMES) 1278 svs.stats.latched_active = svs.stats.active; 1279 svs.stats.latched_idle = svs.stats.idle; 1280 svs.stats.latched_packets = svs.stats.packets [all...] |
/external/webkit/Source/WebKit/efl/ewk/ |
ewk_tiled_model.c | 238 * ewk_tile_updates_clear() to change @c stats.misses, 239 * @c stats.full_update and @c updates. 283 memset(&t->stats, 0, sizeof(Ewk_Tile_Stats)); 284 t->stats.area = area; 379 t->stats.misses++; 381 if (!t->stats.full_update) { 382 t->stats.full_update = EINA_TRUE; 396 t->stats.misses++; 398 if (t->stats.full_update) 402 t->stats.full_update = EINA_TRUE [all...] |
/external/clang/lib/Sema/ |
AnalysisBasedWarnings.cpp | 740 UninitVariablesAnalysisStats stats; local 741 std::memset(&stats, 0, sizeof(UninitVariablesAnalysisStats)); 743 reporter, stats); local 745 if (S.CollectStats && stats.NumVariablesAnalyzed > 0) { 747 NumUninitAnalysisVariables += stats.NumVariablesAnalyzed; 748 NumUninitAnalysisBlockVisits += stats.NumBlockVisits; 751 stats.NumVariablesAnalyzed); 754 stats.NumBlockVisits); 775 llvm::errs() << "\n*** Analysis Based Warnings Stats:\n";
|
/external/kernel-headers/original/linux/sunrpc/ |
clnt.h | 16 #include <linux/sunrpc/stats.h> 85 struct rpc_stat * stats; /* statistics */ member in struct:rpc_program
|
/external/llvm/test/ |
Makefile.tests | 21 # Specify ENABLE_STATS on the command line to enable -stats and -time-passes 24 STATS = -stats -time-passes 66 -$(LGCCAS) $(STATS) $< -o $@
|
/external/chromium/sdch/open-vcdiff/vsprojects/ |
vcdiff_test.bat | 189 rem Test using -stats flag 194 -stats ^ 195 || ( echo Encode with -stats failed ^ 197 %VCDIFF% -stats ^ 201 || ( echo Decode with -stats failed ^ 219 -stats ^ 273 -stats ^ 284 -stats ^ 291 -stats ^ 322 -stats [all...] |
/bionic/libc/kernel/common/linux/nfsd/ |
xdr.h | 124 struct kstatfs stats; member in struct:nfsd_statfsres
|
/development/ndk/platforms/android-3/include/linux/nfsd/ |
xdr.h | 124 struct kstatfs stats; member in struct:nfsd_statfsres
|
/external/chromium/chrome/browser/metrics/ |
metrics_service.cc | 15 // memory statistics, snapshotting the current stats of numerous histograms, 26 // transmitted some short time (1 minute?) after startup, and includes stats 37 // much in the way of user stats. The most common interlog period (delay) 53 // that memory stats are not gathered during shutdown, as gathering *might* be 75 // in a future run's initial log. (i.e., we don't lose crash stats). 78 // stats, based on the State enum specified in the state_ member. Those states 267 // a future Chrome session. Initial logs contain crash stats, and are pretty 286 // This is used to quickly log stats from child process related notifications in 722 // This is a new version, so we don't want to confuse the stats about the 1687 ChildProcessStats stats = local 1716 ChildProcessStats stats = cache_iter->second; local [all...] |
/external/chromium/chrome/browser/renderer_host/ |
chrome_render_message_filter.h | 48 void OnResourceTypeStats(const WebKit::WebCache::ResourceTypeStats& stats);
|
/external/chromium/net/disk_cache/ |
disk_cache.h | 137 std::vector<std::pair<std::string, std::string> >* stats) = 0;
|