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

1 2 3 4 5 6 7 8 91011>>

  /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);
31 stats->file = fopen(fpf, "rb");
33 if (stats->file == NULL) fatal("First-pass stats file does not exist!");
35 if (fseek(stats->file, 0, SEEK_END)
    [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/valgrind/none/tests/solaris/
resolv.stdout.exp 1 PRE stats->nscount = 0
2 POST stats->nscount = 1
resolv.c 11 struct __res_state stats; local
12 bzero(&stats, sizeof(stats));
14 printf("PRE stats->nscount = %d\n", stats.nscount );
16 res_ninit(&stats);
17 printf("POST stats->nscount = %d\n", ( int ) stats.nscount > 0 );
  /external/webrtc/webrtc/modules/audio_coding/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...]
  /tools/tradefederation/core/tests/src/com/android/tradefed/device/
TopHelperTest.java 56 List<TopStats> stats = mTop.getTopStats(); local
58 assertEquals(1, stats.size());
60 assertEquals(17.0, stats.get(0).mTotalPercent, 0.0001);
61 assertEquals(7.0, stats.get(0).mUserPercent, 0.0001);
62 assertEquals(5.0, stats.get(0).mSystemPercent, 0.0001);
63 assertEquals(3.0, stats.get(0).mIowPercent, 0.0001);
64 assertEquals(2.0, stats.get(0).mIrqPercent, 0.0001);
80 List<TopStats> stats = mTop.getTopStats(); local
82 assertEquals(0, stats.size());
84 assertNull(TopHelper.getTotalAverage(stats));
    [all...]
CpuStatsCollectorTest.java 163 CpuStats stats = cpuStats.get("Total").get(0); local
166 assertEquals(2, stats.mTimeStats.get(TimeCategory.USER).intValue());
167 assertEquals(3, stats.mTimeStats.get(TimeCategory.NICE).intValue());
168 assertEquals(5, stats.mTimeStats.get(TimeCategory.SYS).intValue());
169 assertEquals(7, stats.mTimeStats.get(TimeCategory.IDLE).intValue());
170 assertEquals(11, stats.mTimeStats.get(TimeCategory.IOW).intValue());
171 assertEquals(13, stats.mTimeStats.get(TimeCategory.IRQ).intValue());
172 assertEquals(17, stats.mTimeStats.get(TimeCategory.SIRQ).intValue());
175 assertEquals(100.0 * 2 / 58, stats.getPercentage(TimeCategory.USER), 0.01);
176 assertEquals(100.0 * 3 / 58, stats.getPercentage(TimeCategory.NICE), 0.01)
240 CpuStats stats = cpuStats.get("Total").get(0); local
273 Map<String, List<CpuStats>> stats = mCollector.getCpuStats(); local
316 Map<String, List<CpuStats>> stats = mCollector.getCpuStats(); local
    [all...]
  /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 106 CacheStats stats = cache.stats(); local
107 assertEquals(0, stats.missCount());
108 assertEquals(0, stats.loadSuccessCount());
109 assertEquals(0, stats.loadExceptionCount());
110 assertEquals(0, stats.hitCount());
114 stats = cache.stats();
115 assertEquals(1, stats.missCount());
116 assertEquals(1, stats.loadSuccessCount())
179 CacheStats stats = cache.stats(); local
230 CacheStats stats = cache.stats(); local
290 CacheStats stats = cache.stats(); local
332 CacheStats stats = cache.stats(); local
378 CacheStats stats = cache.stats(); local
598 CacheStats stats = cache.stats(); local
669 CacheStats stats = cache.stats(); local
714 CacheStats stats = cache.stats(); local
764 CacheStats stats = cache.stats(); local
807 CacheStats stats = cache.stats(); local
839 CacheStats stats = cache.stats(); local
860 CacheStats stats = cache.stats(); local
946 CacheStats stats = cache.stats(); local
992 CacheStats stats = cache.stats(); local
1043 CacheStats stats = cache.stats(); local
1088 CacheStats stats = cache.stats(); local
1111 CacheStats stats = cache.stats(); local
1179 CacheStats stats = cache.stats(); local
1268 CacheStats stats = cache.stats(); local
1314 CacheStats stats = cache.stats(); local
1365 CacheStats stats = cache.stats(); local
1410 CacheStats stats = cache.stats(); local
1435 CacheStats stats = cache.stats(); local
1459 CacheStats stats = cache.stats(); local
1540 CacheStats stats = cache.stats(); local
1586 CacheStats stats = cache.stats(); local
1637 CacheStats stats = cache.stats(); local
1682 CacheStats stats = cache.stats(); local
    [all...]
  /external/trappy/trappy/stats/
__init__.py 17 from trappy.stats import Aggregator
18 from trappy.stats import Correlator
19 from trappy.stats import Trigger
20 from trappy.stats import Topology
21 from trappy.stats import Indexer
22 from trappy.stats import StatConf
  /tools/loganalysis/tests/src/com/android/loganalysis/parser/
BatteryStatsDetailedInfoParserTest.java 79 BatteryStatsDetailedInfoItem stats = new BatteryStatsDetailedInfoParser().parse(inputBlock); local
81 assertEquals(8465622, stats.getTimeOnBattery());
82 assertEquals(910619, stats.getScreenOnTime());
83 assertNotNull(stats.getWakelockItem());
84 assertNotNull(stats.getInterruptItem());
85 assertNotNull(stats.getProcessUsageItem());
120 BatteryStatsDetailedInfoItem stats = new BatteryStatsDetailedInfoParser().parse(inputBlock); local
122 assertEquals(8465622, stats.getTimeOnBattery());
123 assertEquals(910619, stats.getScreenOnTime());
125 assertNull(stats.getWakelockItem())
    [all...]
  /external/caliper/caliper/src/main/java/com/google/caliper/worker/
AllocationRecorder.java 39 AllocationStats stats = stopRecording(1); local
40 if (stats.getAllocationCount() != 1 || stats.getAllocationSize() < 1) {
44 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",
55 Printf("Stats: malloc large: %zu\n", malloc_large);
58 void AsanStats::MergeFrom(const AsanStats *stats) {
60 const uptr *src_ptr = reinterpret_cast<const uptr*>(stats);
79 accumulated_stats->MergeFrom(&t->stats());
82 static void GetAccumulatedStats(AsanStats *stats) {
109 AsanStats stats; local
123 AsanStats stats; local
140 AsanStats stats; local
150 AsanStats stats; local
156 AsanStats stats; local
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
ICURWLock.java 44 private Stats stats = null; field in class:ICURWLock
49 public final static class Stats {
75 private Stats() {
78 private Stats(int rc, int mrc, int wrc, int wc, int wwc) {
86 private Stats(Stats rhs) {
91 * Return a string listing all the stats.
104 * Reset the stats. Returns existing stats, if any
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
ICURWLock.java 42 private Stats stats = null; field in class:ICURWLock
47 public final static class Stats {
73 private Stats() {
76 private Stats(int rc, int mrc, int wrc, int wc, int wwc) {
84 private Stats(Stats rhs) {
89 * Return a string listing all the stats.
102 * Reset the stats. Returns existing stats, if any
    [all...]
  /cts/tests/sensor/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...]
MeanVerificationTest.java 49 SensorStats stats = new SensorStats(); local
52 verification.verify(stats);
53 verifyStats(stats, true, MEANS);
58 stats = new SensorStats();
60 verification.verify(stats);
61 verifyStats(stats, true, MEANS);
64 stats = new SensorStats();
67 verification.verify(stats);
72 verifyStats(stats, false, MEANS);
75 stats = new SensorStats()
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowSyncResult.java 19 Field f = SyncResult.class.getDeclaredField("stats");
31 return result.syncAlreadyInProgress || result.stats.numIoExceptions > 0;
36 return result.stats.numParseExceptions > 0
37 || result.stats.numConflictDetectedExceptions > 0
38 || result.stats.numAuthExceptions > 0
51 return ((result.stats.numDeletes > 0) && !result.tooManyDeletions)
52 || result.stats.numInserts > 0
53 || result.stats.numUpdates > 0;
69 result.stats.clear();
76 private SyncStats stats; field in class:ShadowSyncResult.ShadowSyncStats
    [all...]
  /external/webrtc/webrtc/modules/rtp_rtcp/source/
rtcp_utility_unittest.cc 31 RTCPUtility::NackStats stats; local
32 EXPECT_EQ(0U, stats.unique_requests());
33 EXPECT_EQ(0U, stats.requests());
34 stats.ReportRequest(10);
35 EXPECT_EQ(1U, stats.unique_requests());
36 EXPECT_EQ(1U, stats.requests());
38 stats.ReportRequest(10);
39 EXPECT_EQ(1U, stats.unique_requests());
40 stats.ReportRequest(11);
41 EXPECT_EQ(2U, stats.unique_requests())
54 RTCPUtility::NackStats stats; local
    [all...]
  /frameworks/base/core/jni/
android_net_TrafficStats.cpp 35 static const char* QTAGUID_UID_STATS = "/proc/net/xt_qtaguid/stats";
49 struct Stats {
58 static uint64_t getStatsType(struct Stats* stats, StatsType type) {
61 return stats->rxBytes;
63 return stats->rxPackets;
65 return stats->txBytes;
67 return stats->txPackets;
69 return stats->tcpRxPackets;
71 return stats->tcpTxPackets
154 struct Stats stats; local
169 struct Stats stats; local
179 struct Stats stats; local
    [all...]
  /art/compiler/optimizing/
select_generator.h 50 HSelectGenerator(HGraph* graph, OptimizingCompilerStats* stats)
51 : HOptimization(graph, kSelectGeneratorPassName, stats) {}
  /packages/apps/Camera2/src/com/android/camera/stats/profiler/
Profiler.java 17 package com.android.camera.stats.profiler;
Writer.java 17 package com.android.camera.stats.profiler;
  /frameworks/base/core/java/android/app/usage/
ConfigurationStats.java 64 public ConfigurationStats(ConfigurationStats stats) {
65 mConfiguration = stats.mConfiguration;
66 mBeginTimeStamp = stats.mBeginTimeStamp;
67 mEndTimeStamp = stats.mEndTimeStamp;
68 mLastTimeActive = stats.mLastTimeActive;
69 mTotalTimeActive = stats.mTotalTimeActive;
70 mActivationCount = stats.mActivationCount;
144 ConfigurationStats stats = new ConfigurationStats();
146 stats.mConfiguration = Configuration.CREATOR.createFromParcel(source);
148 stats.mBeginTimeStamp = source.readLong()
    [all...]

Completed in 1463 milliseconds

1 2 3 4 5 6 7 8 91011>>