Home
last modified time | relevance | path

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

12345678910>>...24

/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/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/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/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/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 …]
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 …]
/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/node/lib/internal/fs/
Dutils.js199 constructor(name, stats, path) { argument
201 this[kStats] = stats;
265 lazyLoadFs().lstat(filepath, (err, stats) => {
270 names[idx] = new DirentFromStats(name, stats, path);
301 lazyLoadFs().lstat(filepath, (err, stats) => {
306 callback(null, new DirentFromStats(name, stats, filepath));
313 const stats = lazyLoadFs().lstatSync(filepath);
314 return new DirentFromStats(name, stats, path);
538 function getStatsFromBinding(stats, offset = 0) { argument
539 if (isBigInt64Array(stats)) {
[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/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/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/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/test/parallel/
Dtest-fs-promises.js133 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();
147 verifyStatObject(stats);
[all …]
/third_party/node/deps/v8/src/heap/cppgc/
Dheap-statistics-collector.cc36 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()
69 stats->resident_size_bytes += (*space_stats)->resident_size_bytes; in FinalizeSpace()
[all …]
/third_party/gstreamer/gstplugins_base/tests/check/elements/
Durisourcebin.c30 GstStructure *stats = NULL; in GST_START_TEST() local
37 g_object_get (urisrc, "statistics", &stats, NULL); in GST_START_TEST()
39 fail_unless (stats != NULL); in GST_START_TEST()
40 fail_unless (g_strcmp0 (gst_structure_get_name (stats), in GST_START_TEST()
42 fail_unless_equals_int (6, gst_structure_n_fields (stats)); in GST_START_TEST()
44 fail_unless_equals_int (TRUE, gst_structure_get_uint (stats, in GST_START_TEST()
47 fail_unless_equals_int (TRUE, gst_structure_get_uint (stats, in GST_START_TEST()
50 fail_unless_equals_int (TRUE, gst_structure_get_uint (stats, in GST_START_TEST()
54 fail_unless_equals_int (TRUE, gst_structure_get_uint64 (stats, in GST_START_TEST()
57 fail_unless_equals_int (TRUE, gst_structure_get_uint64 (stats, in GST_START_TEST()
[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/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/mesa3d/src/panfrost/bifrost/valhall/
Dva_perf.c30 va_count_instr_stats(bi_instr *I, struct va_stats *stats) in va_count_instr_stats() argument
38 stats->fma += words; in va_count_instr_stats()
42 stats->cvt += words; in va_count_instr_stats()
46 stats->sfu += words; in va_count_instr_stats()
51 stats->v += (I->vecsize + 1) * in va_count_instr_stats()
57 stats->ls++; in va_count_instr_stats()
61 stats->t++; in va_count_instr_stats()
67 stats->ls += (2 * 2); in va_count_instr_stats()
68 stats->t++; in va_count_instr_stats()
/third_party/gstreamer/gstreamer/plugins/tracers/
Dgststats.c87 GstElementStats *stats = g_slice_new0 (GstElementStats); in fill_element_stats() local
89 stats->index = self->num_elements++; in fill_element_stats()
90 stats->parent_ix = G_MAXUINT; in fill_element_stats()
91 return stats; in fill_element_stats()
95 log_new_element_stats (GstElementStats * stats, GstElement * element, in log_new_element_stats() argument
99 elapsed, stats->index, stats->parent_ix, GST_OBJECT_NAME (element), in log_new_element_stats()
112 GstElementStats *stats; in create_element_stats() local
114 stats = fill_element_stats (self, element); in create_element_stats()
115 g_object_set_qdata_full ((GObject *) element, data_quark, stats, in create_element_stats()
118 return stats; in create_element_stats()
[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>>...24