Home
last modified time | relevance | path

Searched refs:stats (Results 1 – 25 of 795) sorted by relevance

12345678910>>...32

/third_party/flutter/skia/third_party/externals/spirv-tools/test/stats/
Dstats_aggregate_test.cpp51 void CompileAndAggregateStats(const std::string& code, SpirvStats* stats, in CompileAndAggregateStats() argument
60 binary->wordCount, nullptr, stats)); in CompileAndAggregateStats()
79 SpirvStats stats; in TEST() local
81 CompileAndAggregateStats(code1, &stats); in TEST()
82 EXPECT_EQ(4u, stats.capability_hist.size()); in TEST()
83 EXPECT_EQ(0u, stats.capability_hist.count(SpvCapabilityShader)); in TEST()
84 EXPECT_EQ(1u, stats.capability_hist.at(SpvCapabilityAddresses)); in TEST()
85 EXPECT_EQ(1u, stats.capability_hist.at(SpvCapabilityKernel)); in TEST()
86 EXPECT_EQ(1u, stats.capability_hist.at(SpvCapabilityGenericPointer)); in TEST()
87 EXPECT_EQ(1u, stats.capability_hist.at(SpvCapabilityLinkage)); in TEST()
[all …]
Dstats_analyzer_test.cpp30 void FillDefaultStats(SpirvStats* stats) { in FillDefaultStats() argument
31 *stats = SpirvStats(); in FillDefaultStats()
32 stats->version_hist[0x00010000] = 40; in FillDefaultStats()
33 stats->version_hist[0x00010100] = 60; in FillDefaultStats()
34 stats->generator_hist[0x00000000] = 64; in FillDefaultStats()
35 stats->generator_hist[0x00010000] = 1; in FillDefaultStats()
36 stats->generator_hist[0x00020000] = 2; in FillDefaultStats()
37 stats->generator_hist[0x00030000] = 3; in FillDefaultStats()
38 stats->generator_hist[0x00040000] = 4; in FillDefaultStats()
39 stats->generator_hist[0x00050000] = 5; in FillDefaultStats()
[all …]
/third_party/grpc/tools/run_tests/performance/
Dmassage_qps_stats.py21 for stats in scenario_result["serverStats"] + scenario_result["clientStats"]:
22 if "coreStats" in stats:
25 core_stats = stats["coreStats"]
26 del stats["coreStats"]
27 stats[
30 stats[
33 stats["core_cqs_created"] = massage_qps_stats_helpers.counter(
35 stats[
38 stats[
41 stats[
[all …]
/third_party/gstreamer/gstplugins_good/gst/rtpmanager/
Drtpstats.c137 rtp_stats_init_defaults (RTPSessionStats * stats) in rtp_stats_init_defaults() argument
139 rtp_stats_set_bandwidths (stats, -1, -1, -1, -1); in rtp_stats_init_defaults()
140 stats->min_interval = RTP_STATS_MIN_INTERVAL; in rtp_stats_init_defaults()
141 stats->bye_timeout = RTP_STATS_BYE_TIMEOUT; in rtp_stats_init_defaults()
142 stats->nacks_dropped = 0; in rtp_stats_init_defaults()
143 stats->nacks_sent = 0; in rtp_stats_init_defaults()
144 stats->nacks_received = 0; in rtp_stats_init_defaults()
160 rtp_stats_set_bandwidths (RTPSessionStats * stats, guint rtp_bw, in rtp_stats_set_bandwidths() argument
190 stats->bandwidth = rtp_bw; in rtp_stats_set_bandwidths()
191 stats->rtcp_bandwidth = rtcp_bw; in rtp_stats_set_bandwidths()
[all …]
Drtpsource.c275 src->stats.cycles = -1; in rtp_source_reset()
276 src->stats.jitter = 0; in rtp_source_reset()
277 src->stats.transit = -1; in rtp_source_reset()
278 src->stats.curr_sr = 0; in rtp_source_reset()
279 src->stats.sr[0].is_valid = FALSE; in rtp_source_reset()
280 src->stats.curr_rr = 0; in rtp_source_reset()
281 src->stats.rr[0].is_valid = FALSE; in rtp_source_reset()
282 src->stats.prev_rtptime = GST_CLOCK_TIME_NONE; in rtp_source_reset()
283 src->stats.prev_rtcptime = GST_CLOCK_TIME_NONE; in rtp_source_reset()
284 src->stats.last_rtptime = GST_CLOCK_TIME_NONE; in rtp_source_reset()
[all …]
/third_party/grpc/src/cpp/ext/filters/census/
Dgrpc_plugin.h53 const ::opencensus::stats::ViewDescriptor& ClientSentMessagesPerRpcCumulative();
54 const ::opencensus::stats::ViewDescriptor& ClientSentBytesPerRpcCumulative();
55 const ::opencensus::stats::ViewDescriptor&
57 const ::opencensus::stats::ViewDescriptor&
59 const ::opencensus::stats::ViewDescriptor& ClientRoundtripLatencyCumulative();
60 const ::opencensus::stats::ViewDescriptor& ClientServerLatencyCumulative();
61 const ::opencensus::stats::ViewDescriptor& ClientCompletedRpcsCumulative();
63 const ::opencensus::stats::ViewDescriptor& ServerSentBytesPerRpcCumulative();
64 const ::opencensus::stats::ViewDescriptor&
66 const ::opencensus::stats::ViewDescriptor& ServerServerLatencyCumulative();
[all …]
Dmeasures.h29 ::opencensus::stats::MeasureInt64 RpcClientSentMessagesPerRpc();
30 ::opencensus::stats::MeasureDouble RpcClientSentBytesPerRpc();
31 ::opencensus::stats::MeasureInt64 RpcClientReceivedMessagesPerRpc();
32 ::opencensus::stats::MeasureDouble RpcClientReceivedBytesPerRpc();
33 ::opencensus::stats::MeasureDouble RpcClientRoundtripLatency();
34 ::opencensus::stats::MeasureDouble RpcClientServerLatency();
35 ::opencensus::stats::MeasureInt64 RpcClientCompletedRpcs();
37 ::opencensus::stats::MeasureInt64 RpcServerSentMessagesPerRpc();
38 ::opencensus::stats::MeasureDouble RpcServerSentBytesPerRpc();
39 ::opencensus::stats::MeasureInt64 RpcServerReceivedMessagesPerRpc();
[all …]
/third_party/grpc/src/core/lib/iomgr/
Dtime_averaged_stats.cc23 void grpc_time_averaged_stats_init(grpc_time_averaged_stats* stats, in grpc_time_averaged_stats_init() argument
26 stats->init_avg = init_avg; in grpc_time_averaged_stats_init()
27 stats->regress_weight = regress_weight; in grpc_time_averaged_stats_init()
28 stats->persistence_factor = persistence_factor; in grpc_time_averaged_stats_init()
29 stats->batch_total_value = 0; in grpc_time_averaged_stats_init()
30 stats->batch_num_samples = 0; in grpc_time_averaged_stats_init()
31 stats->aggregate_total_weight = 0; in grpc_time_averaged_stats_init()
32 stats->aggregate_weighted_avg = init_avg; in grpc_time_averaged_stats_init()
35 void grpc_time_averaged_stats_add_sample(grpc_time_averaged_stats* stats, in grpc_time_averaged_stats_add_sample() argument
37 stats->batch_total_value += value; in grpc_time_averaged_stats_add_sample()
[all …]
/third_party/gstreamer/gstreamer/tools/
Dgst-stats.c220 GstThreadStats *stats = g_hash_table_lookup (threads, id); in get_thread_stats() local
222 if (G_UNLIKELY (!stats)) { in get_thread_stats()
223 stats = g_slice_new0 (GstThreadStats); in get_thread_stats()
224 stats->tthread = GST_CLOCK_TIME_NONE; in get_thread_stats()
225 g_hash_table_insert (threads, id, stats); in get_thread_stats()
227 return stats; in get_thread_stats()
233 GstPadStats *stats; in new_pad_stats() local
249 stats = g_slice_new0 (GstPadStats); in new_pad_stats()
253 stats->name = name; in new_pad_stats()
254 stats->type_name = type; in new_pad_stats()
[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/flutter/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/gstreamer/gstreamer/tests/check/gst/
Dgststream.c137 struct NotifyStats stats = { 0, }; in GST_START_TEST() local
142 &stats.collection_notify); in GST_START_TEST()
144 (GCallback) stream_notify_cb, &stats.collection_notify_type); in GST_START_TEST()
146 (GCallback) stream_notify_cb, &stats.collection_notify_flags); in GST_START_TEST()
148 (GCallback) stream_notify_cb, &stats.collection_notify_caps); in GST_START_TEST()
150 (GCallback) stream_notify_cb, &stats.collection_notify_tags); in GST_START_TEST()
156 &stats.stream_notify); in GST_START_TEST()
158 &stats.stream_notify_type); in GST_START_TEST()
160 &stats.stream_notify_flags); in GST_START_TEST()
162 &stats.stream_notify_caps); in GST_START_TEST()
[all …]
/third_party/grpc/src/core/ext/filters/load_reporting/
Dregistered_opencensus_objects.h38 inline ::opencensus::stats::MeasureInt64 MeasureStartCount() { in MeasureStartCount()
39 static const ::opencensus::stats::MeasureInt64 measure = in MeasureStartCount()
40 ::opencensus::stats::MeasureInt64::Register( in MeasureStartCount()
45 inline ::opencensus::stats::MeasureInt64 MeasureEndCount() { in MeasureEndCount()
46 static const ::opencensus::stats::MeasureInt64 measure = in MeasureEndCount()
47 ::opencensus::stats::MeasureInt64::Register( in MeasureEndCount()
52 inline ::opencensus::stats::MeasureInt64 MeasureEndBytesSent() { in MeasureEndBytesSent()
53 static const ::opencensus::stats::MeasureInt64 measure = in MeasureEndBytesSent()
54 ::opencensus::stats::MeasureInt64::Register( in MeasureEndBytesSent()
59 inline ::opencensus::stats::MeasureInt64 MeasureEndBytesReceived() { in MeasureEndBytesReceived()
[all …]
/third_party/node/deps/npm/lib/doctor/
Dverify-cached-files.js9 cacache.verify(cache).then((stats) => {
10 log.info('verifyCachedFiles', `Verification complete. Stats: ${JSON.stringify(stats, 2)}`)
11 if (stats.reclaimedCount || stats.badContentCount || stats.missingContent) {
12stats.badContentCount && log.warn('verifyCachedFiles', `Corrupted content removed: ${stats.badCont…
13stats.reclaimedCount && log.warn('verifyCachedFiles', `Content garbage-collected: ${stats.reclaime…
14stats.missingContent && log.warn('verifyCachedFiles', `Missing content: ${stats.missingContent}`)
17 return stats
/third_party/node/deps/npm/node_modules/cacache/lib/
Dverify.js40 ], (stats, step, i) => {
45 stats[k] = s[k]
48 if (!stats.runTime) { stats.runTime = {} }
49 stats.runTime[label] = end - start
50 return stats
52 }, {}).tap(stats => {
53 stats.runTime.total = stats.endTime - stats.startTime
54 opts.log.silly('verify', 'verification finished for', cache, 'in', `${stats.runTime.total}ms`)
104 }).tap((stats) => BB.map(files, (f) => {
112 stats.reclaimedCount++
[all …]
/third_party/musl/porting/linux/user/src/malloc/
Dstats.c62 malloc_stats_t *stats in print_thread_stats_table() argument
70 stats->total_allocated_memory, in print_thread_stats_table()
71 stats->total_mmapped_memory, in print_thread_stats_table()
72 stats->mmapped_regions in print_thread_stats_table()
81 …rint_thread_specific_amounts_xml(write_cb_fun *write_cb, void *write_cb_arg, malloc_stats_t *stats) in print_thread_specific_amounts_xml() argument
83 print_amount_xml(write_cb, write_cb_arg, "total_allocated_memory", stats->total_allocated_memory); in print_thread_specific_amounts_xml()
84 print_amount_xml(write_cb, write_cb_arg, "total_mmapped_memory", stats->total_mmapped_memory); in print_thread_specific_amounts_xml()
85 print_amount_xml(write_cb, write_cb_arg, "mmapped_regions", stats->mmapped_regions); in print_thread_specific_amounts_xml()
92 malloc_stats_t *stats in print_thread_stats_xml() argument
96 print_thread_specific_amounts_xml(write_cb, write_cb_arg, stats); in print_thread_stats_xml()
[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.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/test/parallel/
Dtest-fs-promises.js109 let stats = await handle.stat();
110 verifyStatObject(stats);
111 assert.strictEqual(stats.size, 35);
115 stats = await handle.stat();
116 verifyStatObject(stats);
117 assert.strictEqual(stats.size, 1);
119 stats = await stat(dest);
120 verifyStatObject(stats);
122 stats = await handle.stat();
123 verifyStatObject(stats);
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICURWLock.java42 private Stats stats = null; field in ICURWLock
105 Stats result = stats; in resetStats()
106 stats = new Stats(); in resetStats()
114 Stats result = stats; in clearStats()
115 stats = null; in clearStats()
123 return stats == null ? null : new Stats(stats); in getStats()
137 if (stats != null) { // stats is null by default in acquireRead()
139 stats._rc++; in acquireRead()
141 stats._mrc++; in acquireRead()
144 stats._wrc++; in acquireRead()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DICURWLock.java44 private Stats stats = null; field in ICURWLock
108 Stats result = stats; in resetStats()
109 stats = new Stats(); in resetStats()
117 Stats result = stats; in clearStats()
118 stats = null; in clearStats()
126 return stats == null ? null : new Stats(stats); in getStats()
140 if (stats != null) { // stats is null by default in acquireRead()
142 stats._rc++; in acquireRead()
144 stats._mrc++; in acquireRead()
147 stats._wrc++; in acquireRead()
[all …]
/third_party/python/Lib/test/
Dtest_pstats.py31 self.stats = pstats.Stats(stats_file)
35 stats = pstats.Stats(stream=stream)
36 stats.add(self.stats, self.stats)
44 self.stats.sort_stats(arg_int)
45 self.assertEqual(self.stats.sort_type,
46 self.stats.sort_arg_dict_default[arg_str][-1])
52 self.stats.sort_stats(sort_name)
53 self.assertEqual(self.stats.sort_type,
54 self.stats.sort_arg_dict_default[sort_name][-1])
60 self.stats.sort_stats(sort_name)
[all …]
/third_party/gn/src/gn/
Dcommand_path.cc132 Stats* stats) { in InsertTargetsIntoFoundPaths() argument
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()
163 stats->public_paths++; in InsertTargetsIntoFoundPaths()
165 stats->other_paths++; in InsertTargetsIntoFoundPaths()
174 Stats* stats) { in BreadthFirstSearch() argument
192 if (stats->total_paths() == 0 || print_what == PrintWhat::ALL) in BreadthFirstSearch()
198 InsertTargetsIntoFoundPaths(current_path, DepType::NONE, stats); in BreadthFirstSearch()
207 stats->found_paths.find(current_target); in BreadthFirstSearch()
208 if (found_current_target != stats->found_paths.end()) { in BreadthFirstSearch()
[all …]
/third_party/boost/tools/build/src/engine/
Dhash.cpp317 struct hashstats stats[ 1 ]; in hashstat() local
318 hashstats_init( stats ); in hashstat()
319 hashstats_add( stats, hp ); in hashstat()
320 hashstats_print( stats, hp->name ); in hashstat()
324 void hashstats_init( struct hashstats * stats ) in hashstats_init() argument
326 stats->count = 0; in hashstats_init()
327 stats->num_items = 0; in hashstats_init()
328 stats->tab_size = 0; in hashstats_init()
329 stats->item_size = 0; in hashstats_init()
330 stats->sets = 0; in hashstats_init()
[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 …]

12345678910>>...32