Home
last modified time | relevance | path

Searched full:stats (Results 1 – 25 of 1218) sorted by relevance

12345678910>>...49

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DICURWLock.java44 private Stats stats = null; field in ICURWLock
50 public final static class Stats { class in ICURWLock
76 private Stats() { in Stats() method in ICURWLock.Stats
79 private Stats(int rc, int mrc, int wrc, int wc, int wwc) { in Stats() method in ICURWLock.Stats
87 private Stats(Stats rhs) { in Stats() method in ICURWLock.Stats
92 * Return a string listing all the stats.
105 * Reset the stats. Returns existing stats, if any.
107 public synchronized Stats resetStats() { in resetStats()
108 Stats result = stats; in resetStats()
109 stats = new Stats(); in resetStats()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICURWLock.java42 private Stats stats = null; field in ICURWLock
47 public final static class Stats { class in ICURWLock
73 private Stats() { in Stats() method in ICURWLock.Stats
76 private Stats(int rc, int mrc, int wrc, int wc, int wwc) { in Stats() method in ICURWLock.Stats
84 private Stats(Stats rhs) { in Stats() method in ICURWLock.Stats
89 * Return a string listing all the stats.
102 * Reset the stats. Returns existing stats, if any.
104 public synchronized Stats resetStats() { in resetStats()
105 Stats result = stats; in resetStats()
106 stats = new Stats(); in resetStats()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DStatistic.cpp1 //===-- Statistic.cpp - Easy way to expose stats information --------------===//
11 // 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 "stats",
46 static cl::opt<bool> StatsAsJSON("stats-json",
60 std::vector<TrackingStatistic *> Stats; member in __anonb1a5cf3e0111::StatisticInfo
74 void addStatistic(TrackingStatistic *S) { Stats.push_back(S); } in addStatistic()
76 const_iterator begin() const { return Stats.begin(); } in begin()
77 const_iterator end() const { return Stats.end(); } in end()
92 // If stats are enabled, inform StatInfo that this statistic should be in RegisterStatistic()
[all …]
/third_party/libsnd/tests/
Dbenchmark.tpl74 static void calc_raw_performance (PERF_STATS *stats) ;
87 { PERF_STATS stats ;
103 calc_raw_performance (&stats) ;
109 calc_short_performance (format_major | SF_FORMAT_PCM_16, stats.read_rate, stats.write_rate) ;
110 calc_int_performance (format_major | SF_FORMAT_PCM_24, stats.read_rate, stats.write_rate) ;
111 calc_int_performance (format_major | SF_FORMAT_PCM_32, stats.read_rate, stats.write_rate) ;
112 calc_float_performance (format_major | SF_FORMAT_PCM_16, stats.read_rate, stats.write_rate) ;
113 calc_float_performance (format_major | SF_FORMAT_PCM_24, stats.read_rate, stats.write_rate) ;
114 calc_float_performance (format_major | SF_FORMAT_PCM_32, stats.read_rate, stats.write_rate) ;
115 calc_float_performance (format_major | SF_FORMAT_FLOAT , stats.read_rate, stats.write_rate) ;
[all …]
/third_party/skia/third_party/externals/libwebp/src/dsp/
Dssim.c31 const VP8DistoStats* const stats, uint32_t N /*num samples*/) { in SSIMCalculation() argument
36 const uint64_t xmxm = (uint64_t)stats->xm * stats->xm; in SSIMCalculation()
37 const uint64_t ymym = (uint64_t)stats->ym * stats->ym; in SSIMCalculation()
39 const int64_t xmym = (int64_t)stats->xm * stats->ym; in SSIMCalculation()
40 const int64_t sxy = (int64_t)stats->xym * N - xmym; // can be negative in SSIMCalculation()
41 const uint64_t sxx = (uint64_t)stats->xxm * N - xmxm; in SSIMCalculation()
42 const uint64_t syy = (uint64_t)stats->yym * N - ymym; in SSIMCalculation()
55 double VP8SSIMFromStats(const VP8DistoStats* const stats) { in VP8SSIMFromStats() argument
56 return SSIMCalculation(stats, kWeightSum); in VP8SSIMFromStats()
59 double VP8SSIMFromStatsClipped(const VP8DistoStats* const stats) { in VP8SSIMFromStatsClipped() argument
[all …]
/third_party/node/src/quic/
Ddefs.h69 // Utilities used to update the stats for Endpoint, Session, and Stream
70 // objects. The stats themselves are maintained in an AliasedStruct within
73 template <typename Stats, uint64_t Stats::*member>
74 void IncrementStat(Stats* stats, uint64_t amt = 1) {
75 stats->*member += amt;
78 template <typename Stats, uint64_t Stats::*member>
79 void RecordTimestampStat(Stats* stats) { in RecordTimestampStat() argument
80 stats->*member = uv_hrtime(); in RecordTimestampStat()
83 template <typename Stats, uint64_t Stats::*member>
84 void SetStat(Stats* stats, uint64_t val) { in SetStat() argument
[all …]
/third_party/python/Lib/test/
Dtest_pstats.py32 self.stats = pstats.Stats(stats_file)
36 stats = pstats.Stats(stream=stream)
37 stats.add(self.stats, self.stats)
45 self.stats.sort_stats(arg_int)
46 self.assertEqual(self.stats.sort_type,
47 self.stats.sort_arg_dict_default[arg_str][-1])
53 self.stats.sort_stats(sort_name)
54 self.assertEqual(self.stats.sort_type,
55 self.stats.sort_arg_dict_default[sort_name][-1])
61 self.stats.sort_stats(sort_name)
[all …]
/third_party/typescript/tests/baselines/reference/
DtruthinessCallExpressionCoercion.types181 function A(stats: StatsBase<any>) {
182 >A : (stats: StatsBase<any>) => void
183 >stats : StatsBase<any>
185 if (stats.isDirectory) { // err
186 >stats.isDirectory : () => boolean
187 >stats : StatsBase<any>
190 console.log(`[Directory] ${stats.ctime}`)
191 >console.log(`[Directory] ${stats.ctime}`) : void
195 >`[Directory] ${stats.ctime}` : string
196 >stats.ctime : number
[all …]
DtruthinessCallExpressionCoercion.symbols155 function A(stats: StatsBase<any>) {
157 >stats : Symbol(stats, Decl(truthinessCallExpressionCoercion.ts, 74, 11))
160 if (stats.isDirectory) { // err
161 >stats.isDirectory : Symbol(StatsBase.isDirectory, Decl(truthinessCallExpressionCoercion.ts, 89, 24…
162 >stats : Symbol(stats, Decl(truthinessCallExpressionCoercion.ts, 74, 11))
165 console.log(`[Directory] ${stats.ctime}`)
169 >stats.ctime : Symbol(StatsBase.ctime, Decl(truthinessCallExpressionCoercion.ts, 90, 27))
170 >stats : Symbol(stats, Decl(truthinessCallExpressionCoercion.ts, 74, 11))
182 if (a.stats.isDirectory) { // err
183 >a.stats.isDirectory : Symbol(StatsBase.isDirectory, Decl(truthinessCallExpressionCoercion.ts, 89, …
[all …]
DtruthinessCallExpressionCoercion.js76 function A(stats: StatsBase<any>) {
77 if (stats.isDirectory) { // err
78 console.log(`[Directory] ${stats.ctime}`)
83 if (a.stats.isDirectory) { // err
84 b.stats.isDirectory();
86 if (a.stats.isDirectory) { // ok
87 a.stats.isDirectory();
97 stats: StatsBase<any>;
160 function A(stats) {
161 if (stats.isDirectory) { // err
[all …]
/third_party/node/deps/npm/node_modules/cacache/lib/
Dverify.js44 const stats = {}
51 stats[k] = s[k]
55 if (!stats.runTime) {
56 stats.runTime = {}
58 stats.runTime[label] = end - start
60 stats.runTime.total = stats.endTime - stats.startTime
66 `${stats.runTime.total}ms`
68 return stats
118 const stats = { variable
135 stats.reclaimedCount++
[all …]
/third_party/node/lib/internal/fs/
Dutils.js63 const kStats = Symbol('stats');
201 constructor(name, stats, path, filepath) { argument
203 this[kStats] = stats;
267 lazyLoadFs().lstat(filepath, (err, stats) => {
272 names[idx] = new DirentFromStats(name, stats, path, filepath);
303 lazyLoadFs().lstat(filepath, (err, stats) => {
308 callback(null, new DirentFromStats(name, stats, path, filepath));
315 const stats = lazyLoadFs().lstatSync(filepath);
317 return new DirentFromStats(name, stats, path, callback === true ? filepath : path);
411 // Constructor for file stats.
[all …]
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/tools/
Dworkbench.py12 Regularly updates a stats.json and failures.json during executions. E.g.
14 cat workdir/output/stats.json | python -m json.tool
61 with open(os.path.join(test_dir, 'stats.json')) as f:
62 stats = json.load(f)
65 return (stats, failures)
68 class Stats(object): class
78 def add(self, stats, failures): argument
79 # Aggregate common stats.
80 self.total += stats['total']
81 self.crash += stats['crash']
[all …]
/third_party/gn/src/gn/
Dcommand_path.cc46 struct Stats { struct
47 Stats() : public_paths(0), other_paths(0) {} in Stats() function
132 Stats* stats) { in InsertTargetsIntoFoundPaths() argument
147 // double-counted in the stats. in InsertTargetsIntoFoundPaths()
154 if (stats->found_paths.find(pair.first) == stats->found_paths.end()) { in InsertTargetsIntoFoundPaths()
155 stats->found_paths.insert(std::make_pair(pair.first, type)); in InsertTargetsIntoFoundPaths()
161 // Only count this path in the stats if any part of it was actually new. in InsertTargetsIntoFoundPaths()
163 stats->public_paths++; in InsertTargetsIntoFoundPaths()
165 stats->other_paths++; in InsertTargetsIntoFoundPaths()
174 Stats* stats) { in BreadthFirstSearch() argument
[all …]
/third_party/node/test/parallel/
Dtest-fs-promises.js130 // file stats
133 let stats = await handle.stat();
134 verifyStatObject(stats);
135 assert.strictEqual(stats.size, 35);
139 stats = await handle.stat();
140 verifyStatObject(stats);
141 assert.strictEqual(stats.size, 1);
143 stats = await stat(dest);
144 verifyStatObject(stats);
146 stats = await handle.stat();
[all …]
/third_party/node/deps/v8/src/diagnostics/
Dcompilation-statistics.cc17 const BasicStats& stats) { in RecordPhaseStats() argument
26 it->second.Accumulate(stats); in RecordPhaseStats()
30 const BasicStats& stats) { in RecordPhaseKindStats() argument
41 it->second.Accumulate(stats); in RecordPhaseKindStats()
44 void CompilationStatistics::RecordTotalStats(const BasicStats& stats) { in RecordTotalStats() argument
46 total_stats_.Accumulate(stats); in RecordTotalStats()
49 void CompilationStatistics::BasicStats::Accumulate(const BasicStats& stats) { in Accumulate() argument
50 delta_ += stats.delta_; in Accumulate()
51 total_allocated_bytes_ += stats.total_allocated_bytes_; in Accumulate()
52 if (stats.absolute_max_allocated_bytes_ > absolute_max_allocated_bytes_) { in Accumulate()
[all …]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_query.c179 struct pipe_query_data_so_statistics *stats = in llvmpipe_get_query_result() local
181 stats->num_primitives_written = pq->num_primitives_written[0]; in llvmpipe_get_query_result()
182 stats->primitives_storage_needed = pq->num_primitives_generated[0]; in llvmpipe_get_query_result()
186 struct pipe_query_data_pipeline_statistics *stats = in llvmpipe_get_query_result() local
190 pq->stats.ps_invocations += pq->end[i]; in llvmpipe_get_query_result()
192 pq->stats.ps_invocations *= LP_RASTER_BLOCK_SIZE * LP_RASTER_BLOCK_SIZE; in llvmpipe_get_query_result()
193 *stats = pq->stats; in llvmpipe_get_query_result()
298 value = pq->stats.ia_vertices; in llvmpipe_get_query_result_resource()
301 value = pq->stats.ia_primitives; in llvmpipe_get_query_result_resource()
304 value = pq->stats.vs_invocations; in llvmpipe_get_query_result_resource()
[all …]
/third_party/node/deps/v8/src/heap/cppgc/
Dheap-statistics-collector.cc17 #include "src/heap/cppgc/stats-collector.h"
36 HeapStatistics::SpaceStatistics* InitializeSpace(HeapStatistics* stats, in InitializeSpace() argument
38 stats->space_stats.emplace_back(); in InitializeSpace()
39 HeapStatistics::SpaceStatistics* space_stats = &stats->space_stats.back(); in InitializeSpace()
45 HeapStatistics::SpaceStatistics* stats) { in InitializePage() argument
46 stats->page_stats.emplace_back(); in InitializePage()
47 HeapStatistics::PageStatistics* page_stats = &stats->page_stats.back(); in InitializePage()
62 void FinalizeSpace(HeapStatistics* stats, in FinalizeSpace() argument
67 DCHECK_NOT_NULL(stats); in FinalizeSpace()
68 stats->committed_size_bytes += (*space_stats)->committed_size_bytes; in FinalizeSpace()
[all …]
/third_party/mesa3d/src/freedreno/ir3/
Ddisasm-a3xx.c102 struct shader_stats *stats; member
113 unsigned n = (ctx->stats->halfreg + 1) / 2; in print_stats()
115 ctx->stats->halfreg = 0; in print_stats()
116 ctx->stats->fullreg = MAX2(ctx->stats->fullreg, n); in print_stats()
124 levels[ctx->level], instructions, ctx->stats->nops, in print_stats()
125 instructions - ctx->stats->nops, ctx->stats->mov_count, in print_stats()
126 ctx->stats->cov_count); in print_stats()
130 levels[ctx->level], ctx->stats->last_baryf, in print_stats()
131 DIV_ROUND_UP(ctx->stats->halfreg, 4), in print_stats()
132 DIV_ROUND_UP(ctx->stats->fullreg, 4), in print_stats()
[all …]
/third_party/skia/experimental/lowp-basic/
Dlerp-study.cpp15 struct Stats { struct
85 static Stats check_lerp(Lerp lerp) { in check_lerp()
86 Stats stats; in check_lerp() local
93 stats.log(golden, candidate); in check_lerp()
95 return stats; in check_lerp()
99 Stats stats; in main() local
102 stats = check_lerp(full_res_lerp); in main()
103 stats.print(); in main()
106 stats = check_lerp(saturating_lerp<7>); in main()
107 stats.print(); in main()
[all …]
/third_party/ffmpeg/libavfilter/
Daf_aspectralstats.c55 ChannelSpectralStats *stats; member
97 s->stats = av_calloc(s->nb_channels, sizeof(*s->stats)); in config_output()
98 if (!s->stats) in config_output()
167 ChannelSpectralStats *stats = &s->stats[ch]; in set_metadata() local
169 set_meta(metadata, ch + 1, "mean", "%g", stats->mean); in set_metadata()
170 set_meta(metadata, ch + 1, "variance", "%g", stats->variance); in set_metadata()
171 set_meta(metadata, ch + 1, "centroid", "%g", stats->centroid); in set_metadata()
172 set_meta(metadata, ch + 1, "spread", "%g", stats->spread); in set_metadata()
173 set_meta(metadata, ch + 1, "skewness", "%g", stats->skewness); in set_metadata()
174 set_meta(metadata, ch + 1, "kurtosis", "%g", stats->kurtosis); in set_metadata()
[all …]
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_query.c46 struct pipe_query_data_pipeline_statistics stats; member
134 memcpy(&sq->stats, &softpipe->pipeline_statistics, in softpipe_begin_query()
135 sizeof(sq->stats)); in softpipe_begin_query()
202 sq->stats.ia_vertices = in softpipe_end_query()
203 softpipe->pipeline_statistics.ia_vertices - sq->stats.ia_vertices; in softpipe_end_query()
204 sq->stats.ia_primitives = in softpipe_end_query()
205 softpipe->pipeline_statistics.ia_primitives - sq->stats.ia_primitives; in softpipe_end_query()
206 sq->stats.vs_invocations = in softpipe_end_query()
207 softpipe->pipeline_statistics.vs_invocations - sq->stats.vs_invocations; in softpipe_end_query()
208 sq->stats.gs_invocations = in softpipe_end_query()
[all …]
/third_party/skia/src/gpu/
DGrThreadSafePipelineBuilder.cpp14 using Stats = GrThreadSafePipelineBuilder::Stats; typedef
17 const char* kCacheResultStrings[Stats::kNumProgramCacheResults] = { in cache_result_to_str()
22 static_assert(0 == (int) Stats::ProgramCacheResult::kHit); in cache_result_to_str()
23 static_assert(1 == (int) Stats::ProgramCacheResult::kMiss); in cache_result_to_str()
24 static_assert(2 == (int) Stats::ProgramCacheResult::kPartial); in cache_result_to_str()
25 static_assert(Stats::kNumProgramCacheResults == 3); in cache_result_to_str()
29 void GrThreadSafePipelineBuilder::Stats::dump(SkString* out) { in dump()
34 for (int i = 0; i < Stats::kNumProgramCacheResults-1; ++i) { in dump()
41 for (int i = 0; i < Stats::kNumProgramCacheResults-1; ++i) { in dump()
53 void GrThreadSafePipelineBuilder::Stats::dumpKeyValuePairs(SkTArray<SkString>* keys, in dumpKeyValuePairs()
/third_party/python/Tools/scripts/
Dsummarize_stats.py1 """Print a summary of specialization stats for all files in the
2 default stats folders.
41 with Section(name, 3, f"specialization stats for {name} family"):
87 stats = collections.Counter()
94 stats[key] += value
95 return stats
97 def extract_opcode_stats(stats): argument
99 for key, value in stats.items():
237 with Section("Specialization stats", summary="specialization stats by family"):
251 def emit_call_stats(stats): argument
[all …]
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_query_sw.c55 return ctx->stats.prims_generated; in read_counter()
57 return ctx->stats.prims_emitted; in read_counter()
59 return ctx->stats.draw_calls; in read_counter()
61 return ctx->stats.batch_total; in read_counter()
63 return ctx->stats.batch_sysmem; in read_counter()
65 return ctx->stats.batch_gmem; in read_counter()
67 return ctx->stats.batch_nondraw; in read_counter()
69 return ctx->stats.batch_restore; in read_counter()
71 return ctx->stats.staging_uploads; in read_counter()
73 return ctx->stats.shadow_uploads; in read_counter()
[all …]

12345678910>>...49