/external/autotest/client/tests/signaltest/src/ |
signaltest.c | 48 struct thread_stat *stats; member in struct:thread_param 98 struct thread_stat *stat = par->stats; 293 struct thread_stat *stat = par->stats; 360 par[i].stats = &stat[i];
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_allocator_test.cc | 270 AllocatorStats stats; local 271 stats.Init(); 272 a->AllocateBatch(&stats, &cache, 32); 297 AllocatorStats stats; local 298 stats.Init(); 299 a->AllocateBatch(&stats, &cache, 32); 314 AllocatorStats stats; local 315 stats.Init(); 316 void *x = a.Allocate(&stats, 1 << 20, 1); 318 a.Deallocate(&stats, x) 329 AllocatorStats stats; local 347 AllocatorStats stats; local 718 AllocatorStats stats; local 745 AllocatorStats stats; local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ |
vktBuildPrograms.cpp | 453 BuildStats stats; local 461 stats.numSucceeded += 1; 464 stats.numFailed += 1; 473 return stats; 534 const vkt::BuildStats stats = vkt::buildPrograms(testCtx, local 538 tcu::print("DONE: %d passed, %d failed\n", stats.numSucceeded, stats.numFailed); 540 return stats.numFailed == 0 ? 0 : -1;
|
/external/e2fsprogs/debugfs/ |
journal.c | 769 io_stats stats = 0; local 789 fs->io->manager->get_stats(fs->io, &stats); 790 if (stats && stats->bytes_written) 791 kbytes_written = stats->bytes_written >> 10;
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
otBase.py | 46 stats = sorted([(v, k) for k, v in cachingStats.items()]) variable in class:BaseTTXConverter.decompile.GlobalState 47 stats.reverse() 49 for v, k in stats: 53 print("---", len(stats))
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/ |
StatisticsTool.java | 166 NGramList stats = new NGramList(inputFile); local 180 stats.put(value); 188 return stats; 285 NGramList stats = dumpNGrams(); local 286 ArrayList statKeys = new ArrayList(stats.keys()); 311 return stats;
|
/external/iproute2/ip/ |
ipl2tp.c | 85 struct l2tp_stats stats; member in struct:l2tp_data 338 data->stats.data_tx_packets = rta_getattr_u64(tb[L2TP_ATTR_TX_PACKETS]); 340 data->stats.data_tx_bytes = rta_getattr_u64(tb[L2TP_ATTR_TX_BYTES]); 342 data->stats.data_tx_errors = rta_getattr_u64(tb[L2TP_ATTR_TX_ERRORS]); 344 data->stats.data_rx_packets = rta_getattr_u64(tb[L2TP_ATTR_RX_PACKETS]); 346 data->stats.data_rx_bytes = rta_getattr_u64(tb[L2TP_ATTR_RX_BYTES]); 348 data->stats.data_rx_errors = rta_getattr_u64(tb[L2TP_ATTR_RX_ERRORS]); 350 data->stats.data_rx_oos_discards = rta_getattr_u64(tb[L2TP_ATTR_RX_SEQ_DISCARDS]); 352 data->stats.data_rx_oos_packets = rta_getattr_u64(tb[L2TP_ATTR_RX_OOS_PACKETS]);
|
/external/libchrome/base/test/ |
trace_event_analyzer_unittest.cc | 737 RateStats stats; local 749 ASSERT_TRUE(GetRateStats(event_ptrs, &stats, NULL)); 750 EXPECT_EQ(little_delta, stats.mean_us); 751 EXPECT_EQ(little_delta, stats.min_us); 752 EXPECT_EQ(little_delta, stats.max_us); 753 EXPECT_EQ(0.0, stats.standard_deviation_us); 764 ASSERT_TRUE(GetRateStats(event_ptrs, &stats, NULL)); 765 EXPECT_LT(little_delta, stats.mean_us); 766 EXPECT_EQ(little_delta, stats.min_us); 767 EXPECT_EQ(big_delta, stats.max_us) [all...] |
/external/libnl/python/netlink/route/ |
tc.py | 227 def stats(fmt): member in class:Tc 322 def format(self, details=False, stats=False, nodev=False, 332 if stats: 333 buf += self.stats(fmt) 335 # if stats:
|
/external/ppp/pppd/include/net/ |
if_ppp.h | 103 struct ppp_stats stats; member in struct:ifpppstatsreq 108 struct ppp_comp_stats stats; member in struct:ifpppcstatsreq
|
/external/skia/src/gpu/ |
GrGpu.h | 387 // Debugging and Stats 389 class Stats { 392 Stats() { this->reset(); } 445 Stats* stats() { return &fStats; } function in class:GrGpu 520 Stats fStats;
|
/external/testng/src/main/java/org/testng/reporters/ |
JqReporter.java | 86 header.push(D, C, "stats"); 88 String stats = String.format("%s, %d failed, %d skipped, %d passed", local 92 // Method stats 94 header.addOptional(S, stats, C, "method-stats"); 100 C, "test-stats"));
|
/external/webrtc/webrtc/call/ |
call.cc | 80 Stats GetStats() const override; 494 Call::Stats Call::GetStats() const { 498 Stats stats; local 507 stats.send_bandwidth_bps = send_bandwidth; 508 stats.recv_bandwidth_bps = recv_bandwidth; 509 stats.pacer_delay_ms = congestion_controller_->GetPacerQueuingDelayMs(); 516 stats.rtt_ms = rtt_ms; 519 return stats; 594 // We only update these stats if we have send streams, and assume tha [all...] |
/external/webrtc/webrtc/modules/remote_bitrate_estimator/ |
remote_bitrate_estimator_unittest_helper.cc | 593 ReceiveBandwidthEstimatorStats stats; local 594 EXPECT_TRUE(bitrate_estimator_->GetStats(&stats)); 595 EXPECT_EQ(1U, stats.recent_propagation_time_delta_ms.size()); 596 EXPECT_EQ(kFrameIntervalMs, stats.recent_propagation_time_delta_ms[0]); 597 EXPECT_EQ(1U, stats.recent_arrival_time_ms.size()); 598 EXPECT_EQ(kFrameIntervalMs, stats.total_propagation_time_delta_ms); 610 EXPECT_TRUE(bitrate_estimator_->GetStats(&stats)); 611 EXPECT_EQ(0, stats.total_propagation_time_delta_ms); 613 // Send more than 1000 frames and make sure the stats queues stays within 622 EXPECT_TRUE(bitrate_estimator_->GetStats(&stats)); [all...] |
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/ |
bwe_test_framework_unittest.cc | 90 Stats<int32_t> stats; local 91 EXPECT_EQ(0, stats.GetMean()); 93 stats.Push(1); 94 stats.Push(3); 95 EXPECT_EQ(2, stats.GetMean()); 98 stats.Push(-3); 99 EXPECT_EQ(0, stats.GetMean()); 103 Stats<int32_t> stats; local 118 Stats<int32_t> stats; local 132 Stats<int32_t> stats; local [all...] |
/external/webrtc/webrtc/p2p/stunprober/ |
stunprober.cc | 435 bool StunProber::GetStats(StunProber::Stats* prob_stats) const { 441 StunProber::Stats stats; local 463 ++stats.raw_num_request_sent; 479 stats.srflx_addrs.insert(request->srflx_addr.ToString()); 509 stats.shared_socket_mode = 512 if (stats.shared_socket_mode && nat_type == NATTYPE_INVALID) { 518 if (stats.srflx_addrs.size() && 519 !srflx_addr.FromString(*(stats.srflx_addrs.begin()))) { 525 stats.host_ip = net->GetBestIP().ToString() [all...] |
/external/webrtc/webrtc/video/ |
send_statistics_proxy.cc | 193 VideoSendStream::Stats SendStatisticsProxy::GetStats() { 234 VideoSendStream::StreamStats* stats = GetStatsEntry(ssrc); local 235 if (stats == nullptr) 238 stats->total_bitrate_bps = 0; 239 stats->retransmit_bitrate_bps = 0; 240 stats->height = 0; 241 stats->width = 0; 262 VideoSendStream::StreamStats* stats = GetStatsEntry(ssrc); local 263 if (stats == nullptr) 266 stats->width = encoded_image._encodedWidth 335 VideoSendStream::StreamStats* stats = GetStatsEntry(ssrc); local 345 VideoSendStream::StreamStats* stats = GetStatsEntry(ssrc); local 359 VideoSendStream::StreamStats* stats = GetStatsEntry(ssrc); local 370 VideoSendStream::StreamStats* stats = GetStatsEntry(ssrc); local 381 VideoSendStream::StreamStats* stats = GetStatsEntry(ssrc); local 392 VideoSendStream::StreamStats* stats = GetStatsEntry(ssrc); local [all...] |
/external/zopfli/src/zopfli/ |
squeeze.c | 42 static void InitStats(SymbolStats* stats) { 43 memset(stats->litlens, 0, 288 * sizeof(stats->litlens[0])); 44 memset(stats->dists, 0, 32 * sizeof(stats->dists[0])); 46 memset(stats->ll_symbols, 0, 288 * sizeof(stats->ll_symbols[0])); 47 memset(stats->d_symbols, 0, 32 * sizeof(stats->d_symbols[0])); 98 static void RandomizeStatFreqs(RanState* state, SymbolStats* stats) { 142 SymbolStats* stats = (SymbolStats*)context; local 457 SymbolStats stats, beststats, laststats; local [all...] |
/frameworks/av/media/libstagefright/ |
VideoFrameScheduler.cpp | 351 DisplayStatInfo stats; local 352 status_t res = mComposer->getDisplayStats(NULL /* display */, &stats); 355 (long long)stats.vsyncTime, (long long)stats.vsyncPeriod); 356 mVsyncTime = stats.vsyncTime; 357 mVsyncPeriod = stats.vsyncPeriod;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
BatteryInfo.java | 125 BatteryStats stats, long elapsedRealtimeUs) { 126 return BatteryInfo.getBatteryInfo(context, batteryBroadcast, stats, elapsedRealtimeUs, 131 BatteryStats stats, long elapsedRealtimeUs, boolean shortString) { 133 info.mStats = stats; 141 final long drainTime = stats.computeBatteryTimeRemaining(elapsedRealtimeUs); 159 final long chargeTime = stats.computeChargeTimeRemaining(elapsedRealtimeUs); 194 private static void parse(BatteryStats stats, long remainingTimeUs, 208 if (stats.startIteratingHistoryLocked()) { 210 while (stats.getNextHistoryLocked(rec)) { 245 stats.finishIteratingHistoryLocked() [all...] |
/frameworks/base/services/core/java/com/android/server/storage/ |
DiskStatsLoggingService.java | 174 List<PackageStats> stats = mCollector.getPackageStats(TIMEOUT_MILLIS); local 175 if (stats != null) { 177 logToFile(mainCategories, downloads, stats, mSystemSize); 179 Log.w(TAG, "Timed out while fetching package stats."); 186 List<PackageStats> stats, long systemSize) { 187 DiskStatsFileLogger logger = new DiskStatsFileLogger(mainCategories, downloads, stats,
|
/frameworks/native/libs/gui/ |
ISurfaceComposer.cpp | 284 DisplayStatInfo* stats) 292 memcpy(stats, 633 DisplayStatInfo stats; local 635 status_t result = getDisplayStats(display, &stats); 639 &stats, sizeof(DisplayStatInfo)); 716 FrameStats stats; local 717 status_t result = getAnimationFrameStats(&stats); 718 reply->write(stats);
|
/packages/apps/Settings/src/com/android/settings/ |
UsageStatsActivity.java | 113 final List<UsageStats> stats = local 116 if (stats == null) { 121 final int statCount = stats.size(); 123 final android.app.usage.UsageStats pkgStats = stats.get(i); 200 Log.w(TAG, "No usage stats info for package:" + position);
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
AppStateUsageStatsBridgeTest.java | 84 // Set up our mock usage stats service. 95 // Set up our fake usage stats. 107 UsageStatsState stats = (UsageStatsState) app.extraInfo; local 110 assertThat(stats.daysSinceFirstInstall).isEqualTo(0); 111 assertThat(stats.daysSinceLastUse).isEqualTo(AppStateUsageStatsBridge.NEVER_USED); 121 UsageStatsState stats = (UsageStatsState) app.extraInfo; local 124 assertThat(stats.daysSinceFirstInstall).isEqualTo(0); 125 assertThat(stats.daysSinceLastUse).isEqualTo(AppStateUsageStatsBridge.NEVER_USED); 135 UsageStatsState stats = (UsageStatsState) app.extraInfo; local 138 assertThat(stats.daysSinceFirstInstall).isEqualTo(90) 149 UsageStatsState stats = (UsageStatsState) app.extraInfo; local 164 UsageStatsState stats = (UsageStatsState) app.extraInfo; local 179 UsageStatsState stats = (UsageStatsState) app.extraInfo; local 194 UsageStatsState stats = (UsageStatsState) app.extraInfo; local 209 UsageStatsState stats = (UsageStatsState) app.extraInfo; local 224 UsageStatsState stats = (UsageStatsState) app.extraInfo; local 239 UsageStatsState stats = (UsageStatsState) app.extraInfo; local 255 UsageStatsState stats = (UsageStatsState) app.extraInfo; local 271 UsageStatsState stats = (UsageStatsState) app.extraInfo; local 287 UsageStatsState stats = (UsageStatsState) app.extraInfo; local 303 UsageStatsState stats = (UsageStatsState) app.extraInfo; local 376 UsageStatsState stats = (UsageStatsState) app.extraInfo; local [all...] |
/packages/services/Car/tools/bootio/ |
bootio_collector.cpp | 221 struct Stats { 239 std::map<int, Stats> statsMap; 240 // Init stats map 241 Stats emptyStat {0, 0., 0, 0}; 274 Stats& stats = statsMap[newerSample->timestamp()]; local 275 stats.uptime = newerSample->uptime(); 276 stats.cpu += cpuLoad; 277 stats.rbytes += (newerSample->readbytes() - olderSample->readbytes()); 278 stats.wbytes += (newerSample->writebytes() - olderSample->writebytes()) [all...] |