/external/swiftshader/third_party/LLVM/lib/Support/ |
Statistic.cpp | 1 //===-- Statistic.cpp - Easy way to expose stats information --------------===// 12 // printed at the end of a run, when the -stats command line option is enabled 38 /// -stats - Command line option to cause transformations to emit stats about 42 Enabled("stats", cl::desc("Enable statistics output from program")); 50 std::vector<const Statistic*> Stats; 57 Stats.push_back(S); 68 // If stats are enabled, inform StatInfo that this statistic should be 109 StatisticInfo &Stats = *StatInfo; 113 for (size_t i = 0, e = Stats.Stats.size(); i != e; ++i) [all...] |
/build/kati/ |
stats.h | 24 class Stats { 26 explicit Stats(const char* name); 46 explicit ScopedStatsRecorder(Stats* st, const char* msg = 0); 50 Stats* st_; 57 static Stats stats(name); \ 58 ScopedStatsRecorder ssr(&stats) 61 static Stats stats(name); \ 62 ScopedStatsRecorder ssr(&stats, msg [all...] |
stats.cc | 17 #include "stats.h" 32 vector<Stats*>* g_stats; 37 Stats::Stats(const char* name) : name_(name), elapsed_(0), cnt_(0) { 40 g_stats = new vector<Stats*>; 44 void Stats::DumpTop() const { 59 string Stats::String() const { 64 void Stats::Start() { 71 double Stats::End(const char* msg) { 83 ScopedStatsRecorder::ScopedStatsRecorder(Stats* st, const char* msg [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...] |
/external/tensorflow/tensorflow/compiler/aot/ |
benchmark.h | 47 // Stats holds statistics collected during benchmarking. 48 struct Stats { 52 Stats() : total_us(0) { per_iter_us.reserve(5000); } 55 // DumpStatsToStdout printfs to stdout stats in a multi-line human-friendly 57 void DumpStatsToStdout(const Stats& stats); 62 // Benchmark runs a benchmark of the function `fn`, collecting stats in `stats`. 64 void Benchmark(const Options& options, const BenchmarkFn& fn, Stats* stats); [all...] |
benchmark_test.cc | 27 // benchmark with max_iters, and ensure we end up with that many iter stats. 33 Stats stats1; 38 Stats stats5;
|
/external/llvm/lib/Support/ |
Statistic.cpp | 1 //===-- Statistic.cpp - Easy way to expose stats information --------------===// 12 // printed at the end of a run, when the -stats command line option is enabled 37 /// -stats - Command line option to cause transformations to emit stats about 42 "stats", 46 static cl::opt<bool> StatsAsJSON("stats-json", 54 std::vector<const Statistic*> Stats; 65 Stats.push_back(S); 76 // If stats are enabled, inform StatInfo that this statistic should be 106 std::stable_sort(Stats.begin(), Stats.end() [all...] |
/external/webrtc/webrtc/modules/video_coding/codecs/test/ |
stats.h | 46 // Contains calculation methods for interesting metrics from these stats. 47 class Stats { 51 Stats(); 52 virtual ~Stats();
|
stats_unittest.cc | 11 #include "webrtc/modules/video_coding/codecs/test/stats.h" 25 void SetUp() { stats_ = new Stats(); } 29 Stats* stats_; 38 // Add single frame stats and verify 45 // Add multiple frame stats and verify
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowStatFs.java | 15 private static final Stats DEFAULT_STATS = new Stats(0, 0, 0); 16 private static Map<String, Stats> stats = new HashMap<String, Stats>(); field in class:ShadowStatFs 17 private Stats stat; 45 stat = stats.get(path); 56 stats.put(path, new Stats(blockCount, freeBlocks, availableBlocks)); 60 stats.clear() [all...] |
/frameworks/base/services/backup/java/com/android/server/backup/transport/ |
TransportStats.java | 31 private final Map<ComponentName, Stats> mTransportStats = new HashMap<>(); 35 Stats stats = mTransportStats.get(transportComponent); local 36 if (stats == null) { 37 stats = new Stats(); 38 mTransportStats.put(transportComponent, stats); 40 stats.register(timeMs); 44 /** Returns {@link Stats} for transport whose host service is {@code transportComponent}. */ 46 public Stats getStatsForTransport(ComponentName transportComponent) 48 Stats stats = mTransportStats.get(transportComponent); local 66 Stats stats = mTransportStats.get(transportComponent); local [all...] |
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowStatFs.java | 14 * Robolectic doesn't provide actual filesystem stats; rather, it provides the ability to specify stats values in advance. 21 private static final Stats DEFAULT_STATS = new Stats(0, 0, 0); 22 private static Map<String, Stats> stats = new HashMap<String, Stats>(); field in class:ShadowStatFs 23 private Stats stat; 71 stat = stats.get(path); 97 * Register stats for a path, which will be used when a matching {@link StatFs} instance is created [all...] |
/external/webrtc/webrtc/modules/audio_processing/aec/ |
aec_core.h | 42 typedef struct Stats { 52 } Stats; 94 Stats* erl, 95 Stats* erle, 96 Stats* a_nlp);
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/ |
TimedStatementResult.java | 19 import com.android.layoutlib.bridge.intensive.util.perf.LongStatsCollector.Stats; 32 private final Stats mTimeStats; 33 private final Stats mMemoryStats; 37 Stats timeStats, 38 Stats memoryStats) {
|
LongStatsCollector.java | 41 public Stats getStats() { 58 return new Stats(mAllValues.size(), mMin, mMax, median); 68 public static class Stats { 74 private Stats(int samples, long min, long max, double median) {
|
/frameworks/base/core/proto/android/os/ |
cpufreq.proto | 31 message Stats { 44 repeated Stats cpu_freqs = 2;
|
/external/webrtc/talk/media/webrtc/ |
fakewebrtccall.h | 61 void SetStats(const webrtc::AudioSendStream::Stats& stats); 76 webrtc::AudioSendStream::Stats GetStats() const override; 80 webrtc::AudioSendStream::Stats stats_; 89 void SetStats(const webrtc::AudioReceiveStream::Stats& stats); 108 webrtc::AudioReceiveStream::Stats GetStats() const override; 112 webrtc::AudioReceiveStream::Stats stats_; 134 void SetStats(const webrtc::VideoSendStream::Stats& stats); [all...] |
/cts/tests/tests/media/libmediandkjni/ |
native_media_utils.h | 168 struct Stats { 169 Stats() = default; 170 Stats(const Stats&) = delete; 194 * Helpers to validate output (Stats) based on expected settings (RunConfig) 198 static Status checkOverallBitrate(const Stats&, const RunConfig&); 199 static Status checkFramerate(const Stats&, const RunConfig&); 200 static Status checkIntraPeriod(const Stats&, const RunConfig&); 201 static Status checkDynamicKeyFrames(const Stats&, const RunConfig&); 202 static Status checkDynamicBitrate(const Stats&, const RunConfig&) [all...] |
/external/python/cpython3/Lib/test/ |
test_pstats.py | 29 self.stats = pstats.Stats(stats_file) 33 stats = pstats.Stats(stream=stream) 34 stats.add(self.stats, self.stats)
|
/external/webrtc/webrtc/ |
audio_send_stream.h | 33 struct Stats { 34 // TODO(solenberg): Harmonize naming and defaults with receive stream stats. 95 virtual Stats GetStats() const = 0;
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/ |
packet_receiver.h | 46 Stats<double> GetDelayStats() const; 55 Stats<double> delay_stats_;
|
/frameworks/base/services/robotests/src/com/android/server/backup/transport/ |
TransportStatsTest.java | 27 import com.android.server.backup.transport.TransportStats.Stats; 58 Stats stats = mTransportStats.getStatsForTransport(mTransportComponent1); local 59 assertThat(stats.average).isWithin(TOLERANCE).of(50); 60 assertThat(stats.max).isEqualTo(50L); 61 assertThat(stats.min).isEqualTo(50L); 62 assertThat(stats.n).isEqualTo(1); 71 Stats stats = mTransportStats.getStatsForTransport(mTransportComponent1); local 72 assertThat(stats.average).isWithin(TOLERANCE).of(75) 83 Stats stats = mTransportStats.getStatsForTransport(mTransportComponent1); local 98 Stats stats = Stats.merge(stats1, stats2); local [all...] |
/frameworks/base/cmds/incident_helper/tests/ |
CpuFreqParser_test.cpp | 60 CpuFreqProto::Stats::TimeInState* state; 62 CpuFreqProto::Stats* cpu0 = expected.add_cpu_freqs(); 74 CpuFreqProto::Stats* cpu1 = expected.add_cpu_freqs(); 86 CpuFreqProto::Stats* cpu2 = expected.add_cpu_freqs(); 101 CpuFreqProto::Stats* cpu3 = expected.add_cpu_freqs();
|
/external/swiftshader/third_party/LLVM/tools/llvm-bcanalyzer/ |
llvm-bcanalyzer.cpp | 547 // Emit per-block stats.
556 const PerBlockIDStats &Stats = I->second;
557 errs() << " Num Instances: " << Stats.NumInstances << "\n";
559 PrintSize(Stats.NumBits);
561 double pct = (Stats.NumBits * 100.0) / BufferSizeBits;
563 if (Stats.NumInstances > 1) {
565 PrintSize(Stats.NumBits/(double)Stats.NumInstances);
567 errs() << " Tot/Avg SubBlocks: " << Stats.NumSubBlocks << "/"
568 << Stats.NumSubBlocks/(double)Stats.NumInstances << "\n"; [all...] |