Home
last modified time | relevance | path

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

12345678910>>...13

/openbsd/usr.sbin/bgpctl/
H A Doutput_ometric.c276 if (stats->pt_cnt[i] == 0) in ometric_rib_mem()
278 pts += stats->pt_size[i]; in ometric_rib_mem()
280 stats->pt_size[i], UINT64_MAX); in ometric_rib_mem()
288 stats->path_refs); in ometric_rib_mem()
290 stats->aspath_size, UINT64_MAX); in ometric_rib_mem()
294 stats->comm_size * sizeof(struct community), stats->comm_refs); in ometric_rib_mem()
296 stats->attr_cnt * sizeof(struct attr), stats->attr_refs); in ometric_rib_mem()
298 stats->attr_data, UINT64_MAX); in ometric_rib_mem()
304 stats->aspath_size + stats->attr_cnt * sizeof(struct attr) + in ometric_rib_mem()
305 stats->attr_data, UINT64_MAX); in ometric_rib_mem()
[all …]
H A Doutput.c209 p->stats.msg_sent_open, p->stats.msg_rcvd_open); in show_neighbor_msgstats()
213 p->stats.msg_sent_update, p->stats.msg_rcvd_update); in show_neighbor_msgstats()
229 p->stats.prefix_out_cnt, p->stats.prefix_cnt); in show_neighbor_msgstats()
237 p->stats.prefix_sent_eor, p->stats.prefix_rcvd_eor); in show_neighbor_msgstats()
441 p->stats.msg_sent_open, p->stats.msg_rcvd_open, in show_neighbor()
1058 stats->rib_cnt, fmt_mem(stats->rib_cnt * in show_rib_mem()
1061 stats->prefix_cnt, fmt_mem(stats->prefix_cnt * in show_rib_mem()
1064 stats->path_cnt, fmt_mem(stats->path_cnt * in show_rib_mem()
1077 stats->attr_cnt, fmt_mem(stats->attr_cnt * in show_rib_mem()
1082 stats->attr_dcnt, fmt_mem(stats->attr_data)); in show_rib_mem()
[all …]
H A Doutput_json.c158 p->stats.msg_sent_open + p->stats.msg_sent_notification + in json_neighbor_stats()
159 p->stats.msg_sent_update + p->stats.msg_sent_keepalive + in json_neighbor_stats()
170 p->stats.msg_rcvd_open + p->stats.msg_rcvd_notification + in json_neighbor_stats()
171 p->stats.msg_rcvd_update + p->stats.msg_rcvd_keepalive + in json_neighbor_stats()
890 pts += stats->pt_size[i]; in json_rib_mem()
900 stats->path_refs); in json_rib_mem()
906 stats->comm_size * sizeof(struct community), stats->comm_refs); in json_rib_mem()
908 stats->attr_cnt * sizeof(struct attr), stats->attr_refs); in json_rib_mem()
915 stats->aspath_size + stats->attr_cnt * sizeof(struct attr) + in json_rib_mem()
924 json_rib_mem_element("prefix_set", stats->pset_cnt, stats->pset_size, in json_rib_mem()
[all …]
/openbsd/gnu/llvm/compiler-rt/lib/asan/
H A Dasan_stats.cpp82 stats->Clear(); in GetAccumulatedStats()
104 stats->Clear(); in FlushToDeadThreadStats()
108 AsanStats stats; in FillMallocStatistics() local
109 GetAccumulatedStats(&stats); in FillMallocStatistics()
122 AsanStats stats; in PrintAccumulatedStats() local
126 stats.Print(); in PrintAccumulatedStats()
139 AsanStats stats; in __sanitizer_get_current_allocated_bytes() local
142 uptr freed = stats.freed; in __sanitizer_get_current_allocated_bytes()
149 AsanStats stats; in __sanitizer_get_heap_size() local
151 return stats.mmaped - stats.munmaped; in __sanitizer_get_heap_size()
[all …]
/openbsd/gnu/llvm/compiler-rt/lib/memprof/
H A Dmemprof_stats.cpp82 stats->Clear(); in GetAccumulatedStats()
104 stats->Clear(); in FlushToDeadThreadStats()
113 MemprofStats stats; in PrintAccumulatedStats() local
114 GetAccumulatedStats(&stats); in PrintAccumulatedStats()
117 stats.Print(); in PrintAccumulatedStats()
130 MemprofStats stats; in __sanitizer_get_current_allocated_bytes() local
133 uptr freed = stats.freed; in __sanitizer_get_current_allocated_bytes()
140 MemprofStats stats; in __sanitizer_get_heap_size() local
142 return stats.mmaped - stats.munmaped; in __sanitizer_get_heap_size()
146 MemprofStats stats; in __sanitizer_get_free_bytes() local
[all …]
/openbsd/sys/dev/pci/drm/i915/gt/
H A Dintel_engine_stats.h18 struct intel_engine_execlists_stats *stats = &engine->stats.execlists; in intel_engine_context_in() local
21 if (stats->active) { in intel_engine_context_in()
22 stats->active++; in intel_engine_context_in()
30 stats->start = ktime_get(); in intel_engine_context_in()
31 stats->active++; in intel_engine_context_in()
36 GEM_BUG_ON(!stats->active); in intel_engine_context_in()
41 struct intel_engine_execlists_stats *stats = &engine->stats.execlists; in intel_engine_context_out() local
45 if (stats->active > 1) { in intel_engine_context_out()
46 stats->active--; in intel_engine_context_out()
53 stats->active--; in intel_engine_context_out()
[all …]
H A Dintel_gt_pm.c49 write_seqcount_begin(&gt->stats.lock); in runtime_begin()
53 gt->stats.start = ktime_get(); in runtime_begin()
54 gt->stats.active = true; in runtime_begin()
56 write_seqcount_end(&gt->stats.lock); in runtime_begin()
67 write_seqcount_begin(&gt->stats.lock); in runtime_end()
71 gt->stats.active = false; in runtime_end()
72 gt->stats.total = in runtime_end()
73 ktime_add(gt->stats.total, in runtime_end()
76 write_seqcount_end(&gt->stats.lock); in runtime_end()
404 ktime_t total = gt->stats.total; in __intel_gt_get_awake_time()
[all …]
H A Dintel_lrc.h118 struct intel_context_stats *stats = &ce->stats; in lrc_runtime_start() local
123 if (stats->active) in lrc_runtime_start()
126 WRITE_ONCE(stats->active, intel_context_clock()); in lrc_runtime_start()
131 struct intel_context_stats *stats = &ce->stats; in lrc_runtime_stop() local
133 if (!stats->active) in lrc_runtime_stop()
137 WRITE_ONCE(stats->active, 0); in lrc_runtime_stop()
/openbsd/usr.sbin/unbound/daemon/
H A Dstats.c92 memset(stats, 0, sizeof(*stats)); in server_stats_init()
128 (stats->num_queries_missed_cache+stats->num_queries_prefetch)? in server_stats_log()
529 stats->qtcp++; in server_stats_insquery()
531 stats->qtls++; in server_stats_insquery()
541 stats->qipv6++; in server_stats_insquery()
543 stats->qbit_QR++; in server_stats_insquery()
545 stats->qbit_AA++; in server_stats_insquery()
547 stats->qbit_TC++; in server_stats_insquery()
549 stats->qbit_RD++; in server_stats_insquery()
553 stats->qbit_Z++; in server_stats_insquery()
[all …]
H A Dstats.h61 void server_stats_init(struct ub_server_stats* stats, struct config_file* cfg);
64 void server_stats_querymiss(struct ub_server_stats* stats, struct worker* worker);
67 void server_stats_prefetch(struct ub_server_stats* stats, struct worker* worker);
70 void server_stats_log(struct ub_server_stats* stats, struct worker* worker,
118 void server_stats_insquery(struct ub_server_stats* stats, struct comm_point* c,
127 void server_stats_insrcode(struct ub_server_stats* stats, struct sldns_buffer* buf);
134 void server_stats_downstream_cookie(struct ub_server_stats* stats,
/openbsd/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_fdinfo.c64 struct amdgpu_mem_stats stats; in amdgpu_show_fdinfo() local
70 memset(&stats, 0, sizeof(stats)); in amdgpu_show_fdinfo()
80 amdgpu_vm_get_memory(vm, &stats); in amdgpu_show_fdinfo()
87 * For text output format description please see drm-usage-stats.rst! in amdgpu_show_fdinfo()
95 drm_printf(p, "drm-memory-vram:\t%llu KiB\n", stats.vram/1024UL); in amdgpu_show_fdinfo()
96 drm_printf(p, "drm-memory-gtt: \t%llu KiB\n", stats.gtt/1024UL); in amdgpu_show_fdinfo()
97 drm_printf(p, "drm-memory-cpu: \t%llu KiB\n", stats.cpu/1024UL); in amdgpu_show_fdinfo()
99 stats.visible_vram/1024UL); in amdgpu_show_fdinfo()
101 stats in amdgpu_show_fdinfo()
[all...]
/openbsd/usr.bin/systat/
H A Dmalloc.c50 struct kmemstats stats; member
162 if (t1->stats.ks_calls < t2->stats.ks_calls) in sort_treq_callback()
164 if (t1->stats.ks_calls > t2->stats.ks_calls) in sort_treq_callback()
177 if (t1->stats.ks_inuse < t2->stats.ks_inuse) in sort_inuse_callback()
179 if (t1->stats.ks_inuse > t2->stats.ks_inuse) in sort_inuse_callback()
192 if (t1->stats.ks_memuse < t2->stats.ks_memuse) in sort_memuse_callback()
194 if (t1->stats.ks_memuse > t2->stats.ks_memuse) in sort_memuse_callback()
306 if (ti->stats.ks_calls == 0) in read_types()
391 print_fld_size(FLD_TYPE_INUSE, t->stats.ks_inuse); in showtype()
392 print_fld_size(FLD_TYPE_MEMUSE, t->stats.ks_memuse); in showtype()
[all …]
/openbsd/sbin/pfctl/
H A Dpfctl_queue.c204 struct hfsc_class_stats *stats = in pfctl_print_queue_nodestat() local
211 (unsigned long long)stats->xmit_cnt.packets, in pfctl_print_queue_nodestat()
212 (unsigned long long)stats->xmit_cnt.bytes, in pfctl_print_queue_nodestat()
213 (unsigned long long)stats->drop_cnt.packets, in pfctl_print_queue_nodestat()
214 (unsigned long long)stats->drop_cnt.bytes); in pfctl_print_queue_nodestat()
227 " flows: %3d ]\n", stats->qlength, stats->qlimit, in pfctl_print_queue_nodestat()
231 stats->qlimit); in pfctl_print_queue_nodestat()
244 struct hfsc_class_stats *stats = in update_avg() local
248 if (stats->xmit_cnt.bytes >= s->prev_bytes) in update_avg()
258 s->prev_bytes = stats->xmit_cnt.bytes; in update_avg()
[all …]
/openbsd/usr.sbin/smtpd/
H A Dstat_ramstat.c35 RB_HEAD(stats_tree, ramstat_entry) stats;
52 RB_INIT(&stats); in ramstat_init()
73 np = RB_FIND(stats_tree, &stats, &lk); in ramstat_increment()
77 RB_INSERT(stats_tree, &stats, np); in ramstat_increment()
91 np = RB_FIND(stats_tree, &stats, &lk); in ramstat_decrement()
95 RB_INSERT(stats_tree, &stats, np); in ramstat_decrement()
109 np = RB_FIND(stats_tree, &stats, &lk); in ramstat_set()
113 RB_INSERT(stats_tree, &stats, np); in ramstat_set()
125 if (RB_EMPTY(&stats)) in ramstat_iter()
129 np = RB_MIN(stats_tree, &stats); in ramstat_iter()
[all …]
/openbsd/sys/net/
H A Dppp-deflate.c63 struct compstat stats; member
174 bzero(&state->stats, sizeof(state->stats)); in z_comp_alloc()
331 state->stats.comp_packets++; in z_compress()
336 state->stats.inc_packets++; in z_compress()
340 state->stats.unc_packets++; in z_compress()
351 *stats = state->stats; in z_comp_stats()
352 stats->ratio = stats->unc_bytes; in z_comp_stats()
353 out = stats->comp_bytes + stats->inc_bytes; in z_comp_stats()
355 stats->ratio <<= 8; in z_comp_stats()
359 stats->ratio /= out; in z_comp_stats()
[all …]
/openbsd/usr.sbin/snmpd/
H A Dapplication_internal.c459 struct snmp_stats *stats = &snmpd_env->sc_stats; in appl_internal_snmp() local
464 stats->snmp_enableauthentraps ? 1 : 2); in appl_internal_snmp()
466 value = ober_add_integer(NULL, stats->snmp_inpkts); in appl_internal_snmp()
468 value = ober_add_integer(NULL, stats->snmp_outpkts); in appl_internal_snmp()
478 value = ober_add_integer(NULL, stats->snmp_intoobigs); in appl_internal_snmp()
486 value = ober_add_integer(NULL, stats->snmp_ingenerrs); in appl_internal_snmp()
494 value = ober_add_integer(NULL, stats->snmp_ingetnexts); in appl_internal_snmp()
500 value = ober_add_integer(NULL, stats->snmp_intraps); in appl_internal_snmp()
502 value = ober_add_integer(NULL, stats->snmp_outtoobigs); in appl_internal_snmp()
518 value = ober_add_integer(NULL, stats->snmp_outtraps); in appl_internal_snmp()
[all …]
H A Dsnmpe.c351 stats->snmp_ingetnexts++; in snmpe_parse()
413 stats->snmp_intraps++; in snmpe_parse()
431 stats->snmp_silentdrops++; in snmpe_parse()
561 stats->snmp_inpkts++; in snmpe_tryparse()
632 stats->snmp_outpkts++; in snmpe_writecb()
685 stats->snmp_inpkts++; in snmpe_recvmsg()
766 stats->snmp_intoobigs++; in snmpe_response()
772 stats->snmp_inbadvalues++; in snmpe_response()
775 stats->snmp_inreadonlys++; in snmpe_response()
779 stats->snmp_ingenerrs++; in snmpe_response()
[all …]
/openbsd/sbin/unwind/libunbound/daemon/
H A Dstats.h61 void server_stats_init(struct ub_server_stats* stats, struct config_file* cfg);
64 void server_stats_querymiss(struct ub_server_stats* stats, struct worker* worker);
67 void server_stats_prefetch(struct ub_server_stats* stats, struct worker* worker);
70 void server_stats_log(struct ub_server_stats* stats, struct worker* worker,
118 void server_stats_insquery(struct ub_server_stats* stats, struct comm_point* c,
127 void server_stats_insrcode(struct ub_server_stats* stats, struct sldns_buffer* buf);
134 void server_stats_downstream_cookie(struct ub_server_stats* stats,
/openbsd/gnu/llvm/compiler-rt/lib/stats/
H A DCMakeLists.txt2 stats.h)
6 add_custom_target(stats) target
7 set_target_properties(stats PROPERTIES FOLDER "Compiler-RT Misc")
23 add_compiler_rt_runtime(clang_rt.stats
27 SOURCES stats.cpp
35 PARENT_TARGET stats)
45 PARENT_TARGET stats)
/openbsd/sys/dev/pci/
H A Dif_ixgb.c2011 sc->stats.crcerrs + in ixgb_update_stats_counters()
2012 sc->stats.rnbc + in ixgb_update_stats_counters()
2013 sc->stats.mpc + in ixgb_update_stats_counters()
2014 sc->stats.rlec; in ixgb_update_stats_counters()
2065 (long long)sc->stats.dc); in ixgb_print_hw_stats()
2067 (long long)sc->stats.mpc); in ixgb_print_hw_stats()
2069 (long long)sc->stats.rnbc); in ixgb_print_hw_stats()
2071 (long long)sc->stats.rlec); in ixgb_print_hw_stats()
2087 (long long)sc->stats.gprcl); in ixgb_print_hw_stats()
2089 (long long)sc->stats.gptcl); in ixgb_print_hw_stats()
[all …]
/openbsd/usr.sbin/bgpd/
H A Dcontrol.c553 if (imsg_get_data(imsg, &stats, sizeof(stats)) == -1) { in control_imsg_relay()
557 p->stats.prefix_cnt = stats.prefix_cnt; in control_imsg_relay()
558 p->stats.prefix_out_cnt = stats.prefix_out_cnt; in control_imsg_relay()
559 p->stats.prefix_rcvd_update = stats.prefix_rcvd_update; in control_imsg_relay()
560 p->stats.prefix_rcvd_withdraw = stats.prefix_rcvd_withdraw; in control_imsg_relay()
561 p->stats.prefix_rcvd_eor = stats.prefix_rcvd_eor; in control_imsg_relay()
562 p->stats.prefix_sent_update = stats.prefix_sent_update; in control_imsg_relay()
563 p->stats.prefix_sent_withdraw = stats.prefix_sent_withdraw; in control_imsg_relay()
564 p->stats.prefix_sent_eor = stats.prefix_sent_eor; in control_imsg_relay()
565 p->stats.pending_update = stats.pending_update; in control_imsg_relay()
[all …]
/openbsd/usr.sbin/rpki-client/
H A Dmain.c85 struct stats stats; variable
871 stats.skiplistentries++; in load_skiplist()
1452 timespecadd(&stats.user_time, &ts, &stats.user_time); in main()
1454 timespecadd(&stats.system_time, &ts, &stats.system_time); in main()
1485 stats.repo_tal_stats.spls, stats.repo_tal_stats.spls_fail, in main()
1489 stats.repo_tal_stats.certs, stats.repo_tal_stats.certs_fail); in main()
1491 stats.tals, talsz - stats.tals); in main()
1493 stats.repo_tal_stats.mfts, stats.repo_tal_stats.mfts_fail); in main()
1502 stats.repo_stats.del_files, stats.repo_stats.del_dirs, in main()
1503 stats.repo_stats.extra_files, stats.repo_stats.del_extra_files); in main()
[all …]
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_secondary.h116 CHECK_LT(size_log, ARRAY_SIZE(stats.by_size_log)); in Allocate()
124 stats.n_allocs++; in Allocate()
125 stats.currently_allocated += map_size; in Allocate()
126 stats.max_allocated = Max(stats.max_allocated, stats.currently_allocated); in Allocate()
127 stats.by_size_log[size_log]++; in Allocate()
144 stats.n_frees++; in Deallocate()
145 stats.currently_allocated -= h->map_size; in Deallocate()
258 stats.n_allocs, stats.n_allocs - stats.n_frees, in PrintStats()
259 stats.currently_allocated >> 10, stats.max_allocated >> 20); in PrintStats()
261 uptr c = stats.by_size_log[i]; in PrintStats()
[all …]
/openbsd/gnu/llvm/lldb/source/Utility/
H A DTimer.cpp145 Stats stats{i->m_name, nanos, nanos_total, count}; in DumpCategoryTimes() local
146 sorted.push_back(stats); in DumpCategoryTimes()
155 for (const auto &stats : sorted) in DumpCategoryTimes() local
158 stats.nanos / 1000000000., stats.nanos_total / 1000000000., in DumpCategoryTimes()
159 (stats.nanos_total - stats.nanos) / 1000000000., stats.count, in DumpCategoryTimes()
160 stats.name); in DumpCategoryTimes()
/openbsd/usr.sbin/iscsid/
H A Dvscsi.c39 struct vscsi_stats stats; member
82 v.stats.cnt_i2t++; in vscsi_dispatch()
154 v.stats.cnt_read++; in vscsi_data()
155 v.stats.bytes_rd += len; in vscsi_data()
157 v.stats.cnt_write++; in vscsi_data()
158 v.stats.bytes_wr += len; in vscsi_data()
173 v.stats.cnt_t2i++; in vscsi_status()
175 v.stats.cnt_t2i_status[status]++; in vscsi_status()
196 v.stats.cnt_probe++; in vscsi_event()
198 v.stats.cnt_detach++; in vscsi_event()
[all …]

12345678910>>...13