Home
last modified time | relevance | path

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

12345678910>>...13

/openbsd-src/usr.sbin/bgpctl/
H A Doutput_ometric.c196 ometric_set_int(peer_last_change, get_monotime(p->stats.last_updown), in ometric_neighbor_stats()
201 get_monotime(p->stats.last_read), ol); in ometric_neighbor_stats()
203 get_monotime(p->stats.last_write), ol); in ometric_neighbor_stats()
206 ometric_set_int(peer_prefixes_transmit, p->stats.prefix_out_cnt, ol); in ometric_neighbor_stats()
207 ometric_set_int(peer_prefixes_receive, p->stats.prefix_cnt, ol); in ometric_neighbor_stats()
210 p->stats.msg_sent_open, OKV("messages"), OKV("open"), ol); in ometric_neighbor_stats()
212 p->stats.msg_sent_notification, OKV("messages"), in ometric_neighbor_stats()
215 p->stats.msg_sent_update, OKV("messages"), OKV("update"), ol); in ometric_neighbor_stats()
217 p->stats.msg_sent_keepalive, OKV("messages"), OKV("keepalive"), ol); in ometric_neighbor_stats()
219 p->stats.msg_sent_rrefresh, OKV("messages"), OKV("route_refresh"), in ometric_neighbor_stats()
[all …]
H A Doutput.c116 p->stats.msg_rcvd_open + p->stats.msg_rcvd_notification + in show_summary()
117 p->stats.msg_rcvd_update + p->stats.msg_rcvd_keepalive + in show_summary()
118 p->stats.msg_rcvd_rrefresh, in show_summary()
119 p->stats.msg_sent_open + p->stats.msg_sent_notification + in show_summary()
120 p->stats.msg_sent_update + p->stats.msg_sent_keepalive + in show_summary()
121 p->stats in show_summary()
1043 show_rib_mem(struct rde_memstats * stats) show_rib_mem() argument
[all...]
H A Doutput_json.c141 json_do_object("stats", 0); in json_neighbor_stats()
142 json_do_string("last_read", fmt_monotime(p->stats.last_read)); in json_neighbor_stats()
143 json_do_int("last_read_sec", get_monotime(p->stats.last_read)); in json_neighbor_stats()
144 json_do_string("last_write", fmt_monotime(p->stats.last_write)); in json_neighbor_stats()
145 json_do_int("last_write_sec", get_monotime(p->stats.last_write)); in json_neighbor_stats()
148 json_do_uint("sent", p->stats.prefix_out_cnt); in json_neighbor_stats()
149 json_do_uint("received", p->stats.prefix_cnt); in json_neighbor_stats()
155 json_do_uint("open", p->stats.msg_sent_open); in json_neighbor_stats()
156 json_do_uint("notifications", p->stats.msg_sent_notification); in json_neighbor_stats()
157 json_do_uint("updates", p->stats in json_neighbor_stats()
881 json_rib_mem(struct rde_memstats * stats) json_rib_mem() argument
[all...]
/openbsd-src/gnu/llvm/compiler-rt/lib/asan/
H A Dasan_stats.cpp57 void AsanStats::MergeFrom(const AsanStats *stats) { in MergeFrom() argument
59 const uptr *src_ptr = reinterpret_cast<const uptr*>(stats); in MergeFrom()
78 accumulated_stats->MergeFrom(&t->stats()); in MergeThreadStats()
81 static void GetAccumulatedStats(AsanStats *stats) { in GetAccumulatedStats() argument
82 stats->Clear(); in GetAccumulatedStats()
86 .RunCallbackForEachThreadLocked(MergeThreadStats, stats); in GetAccumulatedStats()
88 stats->MergeFrom(&unknown_thread_stats); in GetAccumulatedStats()
91 stats->MergeFrom(&dead_threads_stats); in GetAccumulatedStats()
96 if (max_malloced_memory < stats->malloced) { in GetAccumulatedStats()
97 max_malloced_memory = stats->malloced; in GetAccumulatedStats()
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/memprof/
H A Dmemprof_stats.cpp57 void MemprofStats::MergeFrom(const MemprofStats *stats) { in MergeFrom() argument
59 const uptr *src_ptr = reinterpret_cast<const uptr *>(stats); in MergeFrom()
78 accumulated_stats->MergeFrom(&t->stats()); in MergeThreadStats()
81 static void GetAccumulatedStats(MemprofStats *stats) { in GetAccumulatedStats() argument
82 stats->Clear(); in GetAccumulatedStats()
86 stats); in GetAccumulatedStats()
88 stats->MergeFrom(&unknown_thread_stats); in GetAccumulatedStats()
91 stats->MergeFrom(&dead_threads_stats); in GetAccumulatedStats()
96 if (max_malloced_memory < stats->malloced) { in GetAccumulatedStats()
97 max_malloced_memory = stats->malloced; in GetAccumulatedStats()
[all …]
/openbsd-src/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()
28 write_seqcount_begin(&stats->lock); in intel_engine_context_in()
30 stats->start = ktime_get(); in intel_engine_context_in()
31 stats->active++; in intel_engine_context_in()
33 write_seqcount_end(&stats->lock); 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
44 GEM_BUG_ON(!stats->active); in intel_engine_context_out()
[all …]
H A Dintel_gt_pm.c49 write_seqcount_begin(&gt->stats.lock); in runtime_begin()
51 write_seqcount_begin((seqcount_t *)&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()
58 write_seqcount_end((seqcount_t *)&gt->stats.lock); in runtime_begin()
67 write_seqcount_begin(&gt->stats.lock); in runtime_end()
69 write_seqcount_begin((seqcount_t *)&gt->stats.lock); in runtime_end()
71 gt->stats.active = false; in runtime_end()
72 gt->stats in runtime_end()
[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-src/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()
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.evicted_vram/1024UL); in amdgpu_show_fdinfo()
103 stats.evicted_visible_vram/1024UL); in amdgpu_show_fdinfo()
105 stats.requested_vram/1024UL); in amdgpu_show_fdinfo()
[all …]
/openbsd-src/usr.sbin/unbound/daemon/
H A Dstats.c2 * daemon/stats.c - collect runtime performance indicators.
48 #include "daemon/stats.h"
90 void server_stats_init(struct ub_server_stats* stats, struct config_file* cfg) in server_stats_init() argument
92 memset(stats, 0, sizeof(*stats)); in server_stats_init()
93 stats->extended = cfg->stat_extended; in server_stats_init()
96 void server_stats_querymiss(struct ub_server_stats* stats, struct worker* worker) in server_stats_querymiss() argument
98 stats->num_queries_missed_cache++; in server_stats_querymiss()
99 stats->sum_query_list_size += worker->env.mesh->all.count; in server_stats_querymiss()
100 if((long long)worker->env.mesh->all.count > stats in server_stats_querymiss()
104 server_stats_prefetch(struct ub_server_stats * stats,struct worker * worker) server_stats_prefetch() argument
113 server_stats_log(struct ub_server_stats * stats,struct worker * worker,int threadnum) server_stats_log() argument
516 server_stats_insquery(struct ub_server_stats * stats,struct comm_point * c,uint16_t qtype,uint16_t qclass,struct edns_data * edns,struct comm_reply * repinfo) server_stats_insquery() argument
565 server_stats_insrcode(struct ub_server_stats * stats,sldns_buffer * buf) server_stats_insrcode() argument
575 server_stats_downstream_cookie(struct ub_server_stats * stats,struct edns_data * edns) server_stats_downstream_cookie() argument
[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-src/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()
303 if (sysctl(mib, 4, &ti->stats, &siz, NULL, 0) == -1) in read_types()
306 if (ti->stats.ks_calls == 0) in read_types()
313 ti->buckets[k] = (ti->stats.ks_size & j) ? '|' : '.'; in read_types()
[all …]
/openbsd-src/sbin/pfctl/
H A Dpfctl_queue.c202 struct hfsc_class_stats *stats = in pfctl_print_queue_nodestat() local
209 (unsigned long long)stats->xmit_cnt.packets, in pfctl_print_queue_nodestat()
210 (unsigned long long)stats->xmit_cnt.bytes, in pfctl_print_queue_nodestat()
211 (unsigned long long)stats->drop_cnt.packets, in pfctl_print_queue_nodestat()
212 (unsigned long long)stats->drop_cnt.bytes); in pfctl_print_queue_nodestat()
225 " flows: %3d ]\n", stats->qlength, stats->qlimit, in pfctl_print_queue_nodestat()
228 printf(" [ qlength: %3d/%3d ]\n", stats->qlength, in pfctl_print_queue_nodestat()
229 stats->qlimit); in pfctl_print_queue_nodestat()
242 struct hfsc_class_stats *stats = in update_avg() local
246 if (stats->xmit_cnt.bytes >= s->prev_bytes) in update_avg()
[all …]
/openbsd-src/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-src/sys/net/
H A Dppp-deflate.c63 struct compstat stats; member
85 static void z_comp_stats(void *state, struct compstat *stats);
174 bzero(&state->stats, sizeof(state->stats)); in z_comp_alloc()
330 state->stats.comp_bytes += olen; in z_compress()
331 state->stats.comp_packets++; in z_compress()
335 state->stats.inc_bytes += orig_len; in z_compress()
336 state->stats.inc_packets++; in z_compress()
339 state->stats.unc_bytes += orig_len; in z_compress()
340 state->stats.unc_packets++; in z_compress()
346 z_comp_stats(void *arg, struct compstat *stats) in z_comp_stats() argument
[all …]
/openbsd-src/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()
470 value = ober_add_integer(NULL, stats->snmp_inbadversions); in appl_internal_snmp()
472 value = ober_add_integer(NULL, stats->snmp_inbadcommunitynames); in appl_internal_snmp()
474 value = ober_add_integer(NULL, stats->snmp_inbadcommunityuses); in appl_internal_snmp()
476 value = ober_add_integer(NULL, stats->snmp_inasnparseerrs); in appl_internal_snmp()
478 value = ober_add_integer(NULL, stats->snmp_intoobigs); in appl_internal_snmp()
480 value = ober_add_integer(NULL, stats->snmp_innosuchnames); in appl_internal_snmp()
[all …]
H A Dsnmpe.c239 struct snmp_stats *stats = &env->sc_stats; in snmpe_parse() local
279 stats->snmp_inbadcommunitynames++; in snmpe_parse()
302 stats->snmp_usmbadseclevel++; in snmpe_parse()
322 stats->snmp_inbadversions++; in snmpe_parse()
337 stats->snmp_inbadversions++; in snmpe_parse()
345 stats->snmp_ingetrequests++; in snmpe_parse()
350 stats->snmp_ingetnexts++; in snmpe_parse()
358 stats->snmp_inbadcommunitynames++; in snmpe_parse()
365 stats->snmp_insetrequests++; in snmpe_parse()
373 stats->snmp_inbadcommunitynames++; in snmpe_parse()
[all …]
/openbsd-src/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-src/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-src/sys/dev/pci/
H A Dif_ixgb.c1941 sc->stats.crcerrs += IXGB_READ_REG(&sc->hw, CRCERRS); in ixgb_update_stats_counters()
1942 sc->stats.gprcl += IXGB_READ_REG(&sc->hw, GPRCL); in ixgb_update_stats_counters()
1943 sc->stats.gprch += IXGB_READ_REG(&sc->hw, GPRCH); in ixgb_update_stats_counters()
1944 sc->stats.gorcl += IXGB_READ_REG(&sc->hw, GORCL); in ixgb_update_stats_counters()
1945 sc->stats.gorch += IXGB_READ_REG(&sc->hw, GORCH); in ixgb_update_stats_counters()
1946 sc->stats.bprcl += IXGB_READ_REG(&sc->hw, BPRCL); in ixgb_update_stats_counters()
1947 sc->stats.bprch += IXGB_READ_REG(&sc->hw, BPRCH); in ixgb_update_stats_counters()
1948 sc->stats.mprcl += IXGB_READ_REG(&sc->hw, MPRCL); in ixgb_update_stats_counters()
1949 sc->stats.mprch += IXGB_READ_REG(&sc->hw, MPRCH); in ixgb_update_stats_counters()
1950 sc->stats.roc += IXGB_READ_REG(&sc->hw, ROC); in ixgb_update_stats_counters()
[all …]
/openbsd-src/usr.sbin/bgpd/
H A Dcontrol.c550 /* special handling for peers since only the stats are sent from RDE */ in control_imsg_relay()
552 struct rde_peer_stats stats; in control_imsg_relay()
560 if (imsg_get_data(imsg, &stats, sizeof(stats)) == -1) { in control_imsg_relay()
567 peer.stats.prefix_cnt = stats.prefix_cnt; in control_imsg_relay()
568 peer.stats.prefix_out_cnt = stats.prefix_out_cnt; in control_imsg_relay()
569 peer.stats.prefix_rcvd_update = stats in control_imsg_relay()
546 struct rde_peer_stats stats; control_imsg_relay() local
[all...]
/openbsd-src/usr.sbin/rpki-client/
H A Dmain.c84 struct stats stats;
563 entity_process(struct ibuf *b, struct stats *st, struct vrp_tree *tree,
881 stats.skiplistentries++; in load_skiplist()
1405 entity_process(b, &stats, &vrps, &brks, &vaps, in main()
1475 timespecsub(&now_time, &start_time, &stats.elapsed_time); in main()
1477 TIMEVAL_TO_TIMESPEC(&ru.ru_utime, &stats.user_time); in main()
1478 TIMEVAL_TO_TIMESPEC(&ru.ru_stime, &stats.system_time); in main()
1484 timespecadd(&stats.user_time, &ts, &stats in main()
85 struct stats stats; global() variable
[all...]
/openbsd-src/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()
260 for (uptr i = 0; i < ARRAY_SIZE(stats.by_size_log); i++) { in PrintStats()
[all …]
/openbsd-src/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-src/usr.sbin/iscsid/
H A Dvscsi.c39 struct vscsi_stats stats; member
82 v.stats.cnt_i2t++; in vscsi_dispatch()
83 if (i2t.direction < (int)nitems(v.stats.cnt_i2t_dir)) in vscsi_dispatch()
84 v.stats.cnt_i2t_dir[i2t.direction]++; 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()
174 if (status < (int)nitems(v.stats.cnt_t2i_status)) in vscsi_status()
[all …]

12345678910>>...13