/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
stat.h | 6 struct stats struct 12 void update_stats(struct stats *stats, u64 val); 13 double avg_stats(struct stats *stats); 14 double stddev_stats(struct stats *stats); 17 static inline void init_stats(struct stats *stats) 19 stats->n = 0.0 [all...] |
stat.c | 5 void update_stats(struct stats *stats, u64 val) 9 stats->n++; 10 delta = val - stats->mean; 11 stats->mean += delta / stats->n; 12 stats->M2 += delta*(val - stats->mean); 14 if (val > stats->max) 15 stats->max = val [all...] |
/external/chromium_org/cc/debug/ |
benchmark_instrumentation.cc | 16 const RenderingStats::MainThreadRenderingStats& stats) { 20 "data", stats.AsTraceableData()); 24 const RenderingStats::ImplThreadRenderingStats& stats) { 28 "data", stats.AsTraceableData());
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/ |
call_statistics_unittest.cc | 20 AudioDecodingCallStats stats; local 22 stats = call_stats.GetDecodingStatistics(); 23 EXPECT_EQ(0, stats.calls_to_neteq); 24 EXPECT_EQ(0, stats.calls_to_silence_generator); 25 EXPECT_EQ(0, stats.decoded_normal); 26 EXPECT_EQ(0, stats.decoded_cng); 27 EXPECT_EQ(0, stats.decoded_plc); 28 EXPECT_EQ(0, stats.decoded_plc_cng); 33 AudioDecodingCallStats stats; local 41 stats = call_stats.GetDecodingStatistics() [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/ |
vpxstats.c | 19 int stats_open_file(stats_io_t *stats, const char *fpf, int pass) { 21 stats->pass = pass; 24 stats->file = fopen(fpf, "wb"); 25 stats->buf.sz = 0; 26 stats->buf.buf = NULL; 27 res = (stats->file != NULL); 34 stats->file = fdopen(fd, "rb"); 36 stats->buf.sz = stat_buf.st_size; 37 stats->buf.buf = mmap(NULL, stats->buf.sz, PROT_READ, MAP_PRIVATE, fd, 0) [all...] |
vpxstats.h | 33 int stats_open_file(stats_io_t *stats, const char *fpf, int pass); 34 int stats_open_mem(stats_io_t *stats, int pass); 35 void stats_close(stats_io_t *stats, int last_pass); 36 void stats_write(stats_io_t *stats, const void *pkt, size_t len); 37 vpx_fixed_buf_t stats_get(stats_io_t *stats);
|
/external/libvpx/libvpx/ |
vpxstats.c | 19 int stats_open_file(stats_io_t *stats, const char *fpf, int pass) { 21 stats->pass = pass; 24 stats->file = fopen(fpf, "wb"); 25 stats->buf.sz = 0; 26 stats->buf.buf = NULL; 27 res = (stats->file != NULL); 34 stats->file = fdopen(fd, "rb"); 36 stats->buf.sz = stat_buf.st_size; 37 stats->buf.buf = mmap(NULL, stats->buf.sz, PROT_READ, MAP_PRIVATE, fd, 0) [all...] |
vpxstats.h | 33 int stats_open_file(stats_io_t *stats, const char *fpf, int pass); 34 int stats_open_mem(stats_io_t *stats, int pass); 35 void stats_close(stats_io_t *stats, int last_pass); 36 void stats_write(stats_io_t *stats, const void *pkt, size_t len); 37 vpx_fixed_buf_t stats_get(stats_io_t *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...] |
/external/chromium_org/third_party/webrtc/examples/android/media_demo/src/org/webrtc/webrtcdemo/ |
MediaEngineObserver.java | 14 void newStats(String stats);
|
/external/compiler-rt/lib/asan/ |
asan_stats.cc | 44 Printf("Stats: %zuM malloced (%zuM for red zones) by %zu calls\n", 46 Printf("Stats: %zuM realloced by %zu calls\n", realloced>>20, reallocs); 47 Printf("Stats: %zuM freed by %zu calls\n", freed>>20, frees); 48 Printf("Stats: %zuM really freed by %zu calls\n", 50 Printf("Stats: %zuM (%zuM-%zuM) mmaped; %zu maps, %zu unmaps\n", 58 Printf("Stats: malloc large: %zu small slow: %zu\n", 62 void AsanStats::MergeFrom(const AsanStats *stats) { 64 const uptr *src_ptr = reinterpret_cast<const uptr*>(stats); 83 accumulated_stats->MergeFrom(&t->stats()); 86 static void GetAccumulatedStats(AsanStats *stats) { 113 AsanStats stats; local 127 AsanStats stats; local 144 AsanStats stats; local 157 AsanStats stats; local 166 AsanStats stats; local [all...] |
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/ |
FrequencyVerificationTest.java | 39 SensorStats stats = new SensorStats(); local 41 verification.verify(getEnvironment(1000), stats); 42 verifyStats(stats, true, 1000.0); 44 stats = new SensorStats(); 46 verification.verify(getEnvironment(950), stats); 47 verifyStats(stats, true, 1000.0); 49 stats = new SensorStats(); 51 verification.verify(getEnvironment(1050), stats); 52 verifyStats(stats, true, 1000.0); 54 stats = new SensorStats() [all...] |
EventOrderingVerificationTest.java | 37 SensorStats stats = new SensorStats(); local 39 verification.verify(stats); 40 verifyStats(stats, true, 0); 47 SensorStats stats = new SensorStats(); local 49 verification.verify(stats); 50 verifyStats(stats, true, 0); 57 SensorStats stats = new SensorStats(); local 59 verification.verify(stats); 60 verifyStats(stats, true, 0); 67 SensorStats stats = new SensorStats() local 84 SensorStats stats = new SensorStats(); local [all...] |
MeanVerificationTest.java | 47 SensorStats stats = new SensorStats(); local 49 verification.verify(stats); 50 verifyStats(stats, true, new float[]{2.0f, 3.0f, 6.0f}); 54 stats = new SensorStats(); 56 verification.verify(stats); 57 verifyStats(stats, true, new float[]{2.0f, 3.0f, 6.0f}); 61 stats = new SensorStats(); 64 verification.verify(stats); 69 verifyStats(stats, false, new float[]{2.0f, 3.0f, 6.0f}); 73 stats = new SensorStats() [all...] |
/external/chromium_org/chrome/browser/chromeos/memory/ |
oom_priority_manager_unittest.cc | 43 OomPriorityManager::TabStats stats; local 44 stats.is_pinned = true; 45 stats.renderer_handle = kPinned; 46 test_list.push_back(stats); 50 OomPriorityManager::TabStats stats; local 51 stats.is_app = true; 52 stats.renderer_handle = kApp; 53 test_list.push_back(stats); 57 OomPriorityManager::TabStats stats; local 58 stats.is_playing_audio = true 64 OomPriorityManager::TabStats stats; local 71 OomPriorityManager::TabStats stats; local 78 OomPriorityManager::TabStats stats; local 85 OomPriorityManager::TabStats stats; local 93 OomPriorityManager::TabStats stats; local 102 OomPriorityManager::TabStats stats; local 146 OomPriorityManager::TabStats stats; local [all...] |
/external/chromium_org/net/quic/congestion_control/ |
send_algorithm_interface.cc | 19 QuicConnectionStats* stats) { 24 kMaxTcpCongestionWindow, stats); 28 kMaxTcpCongestionWindow, stats);
|
/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...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
rtcp.cc | 57 void Rtcp::GetStatistics(bool no_reset, RtcpStatistics* stats) { 59 stats->extended_max_sequence_number = 66 stats->extended_max_sequence_number - base_seq_no_ + 1; 69 stats->cumulative_lost = 0; 71 stats->cumulative_lost = expected_packets - received_packets_; 72 if (stats->cumulative_lost > 0xFFFFFF) { 73 stats->cumulative_lost = 0xFFFFFF; 76 stats->cumulative_lost = 0; 88 stats->fraction_lost = 0; 90 stats->fraction_lost = std::min(0xFFU, (lost << 8) / expected_since_last) [all...] |
/external/chromium_org/third_party/webrtc/modules/video_processing/main/source/ |
brightness_detection.cc | 37 const VideoProcessingModule::FrameStats& stats) { 44 if (!VideoProcessingModule::ValidFrameStats(stats)) { 54 prop_low += stats.hist[i]; 56 prop_low /= stats.num_pixels; 62 prop_high += stats.hist[i]; 64 prop_high /= stats.num_pixels; 67 if (stats.mean < 90 || stats.mean > 170) { 71 for (int h = 0; h < height; h += (1 << stats.subSamplHeight)) { 73 for (int w = 0; w < width; w += (1 << stats.subSamplWidth)) [all...] |
video_processing_impl.cc | 21 void SetSubSampling(VideoProcessingModule::FrameStats* stats, 25 stats->subSamplWidth = 3; 26 stats->subSamplHeight = 3; 28 stats->subSamplWidth = 2; 29 stats->subSamplHeight = 2; 31 stats->subSamplWidth = 1; 32 stats->subSamplHeight = 1; 34 stats->subSamplWidth = 0; 35 stats->subSamplHeight = 0; 82 int32_t VideoProcessingModule::GetFrameStats(FrameStats* stats, [all...] |
/external/chromium_org/third_party/webrtc/video/ |
send_statistics_proxy.cc | 45 VideoSendStream::Stats SendStatisticsProxy::GetStats() const { 69 StreamStats* stats = GetStatsEntry(ssrc); local 70 if (stats == NULL) 73 stats->rtcp_stats = statistics; 80 StreamStats* stats = GetStatsEntry(ssrc); local 81 if (stats == NULL) 84 stats->rtp_stats = counters; 90 StreamStats* stats = GetStatsEntry(ssrc); local 91 if (stats == NULL) 94 stats->bitrate_bps = bitrate.bitrate_bps 101 StreamStats* stats = GetStatsEntry(ssrc); local 123 StreamStats* stats = GetStatsEntry(ssrc); local [all...] |
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/ |
UiAutomationTest.java | 64 // Clear stats to be with a clean slate. 75 // Get the frame stats. 76 WindowContentFrameStats stats = uiAutomation.getWindowContentFrameStats(windowId); local 78 // Check the frame stats... 81 assertNotNull(stats); 84 assertTrue(stats.getRefreshPeriodNano() > 0); 87 final int frameCount = stats.getFrameCount(); 91 assertWindowContentTimestampsInAscendingOrder(stats); 94 assertEquals(stats.getStartTimeNano(), stats.getFramePresentedTimeNano(0)) 126 WindowContentFrameStats stats = uiAutomation.getWindowContentFrameStats(windowId); local 178 WindowAnimationFrameStats stats = uiAutomation.getWindowAnimationFrameStats(); local 219 WindowAnimationFrameStats stats = uiAutomation.getWindowAnimationFrameStats(); local [all...] |