| /src/sys/ofed/drivers/infiniband/core/ ! |
| H A D | ib_uverbs_std_types_counters.c | 44 struct ib_counters *counters = uobject->object; in uverbs_free_counters() local 47 ret = ib_destroy_usecnt(&counters->usecnt, why, uobject); in uverbs_free_counters() 51 return counters->device->destroy_counters(counters); in uverbs_free_counters() 60 struct ib_counters *counters; in UVERBS_METHOD_COUNTERS_CREATE() local 71 counters = ib_dev->create_counters(ib_dev, attrs); in UVERBS_METHOD_COUNTERS_CREATE() 72 if (IS_ERR(counters)) { in UVERBS_METHOD_COUNTERS_CREATE() 73 ret = PTR_ERR(counters); in UVERBS_METHOD_COUNTERS_CREATE() 77 counters->device = ib_dev; in UVERBS_METHOD_COUNTERS_CREATE() 78 counters->uobject = uobj; in UVERBS_METHOD_COUNTERS_CREATE() 79 uobj->object = counters; in UVERBS_METHOD_COUNTERS_CREATE() [all …]
|
| /src/usr.sbin/pmcstudy/ ! |
| H A D | pmcstudy.c | 165 struct counters { struct 166 struct counters *next_cpu; argument 174 extern struct counters *glob_cpu[MAX_CPU]; argument 175 struct counters *glob_cpu[MAX_CPU]; 177 extern struct counters *cnts; 178 struct counters *cnts=NULL; 183 extern int (*expression)(struct counters *, int); 184 int (*expression)(struct counters *, int); 193 int (*func)(struct counters *, int); 448 static struct counters * [all …]
|
| /src/contrib/llvm-project/llvm/include/llvm/Target/ ! |
| H A D | TargetPfmCounters.td | 9 // This file defines the target-independent interfaces for performance counters. 13 // Definition of a hardware counters from libpfm identifiers. 17 // measured value is the sum of events on these counters. 21 // Issue counters can be tied to a ProcResource 32 // event that can be measured using performance counters that is interesting 68 // Processor can list mappings between validation events and real counters 73 // A binding of a set of counters to a CPU. 74 class PfmCountersBinding<string cpu_name, ProcPfmCounters counters> { 76 ProcPfmCounters Counters = counters; 80 class PfmCountersDefaultBinding<ProcPfmCounters counters> [all …]
|
| /src/contrib/wpa/src/radius/ ! |
| H A D | radius_server.c | 112 struct radius_server_counters counters; member 178 struct radius_server_counters counters; member 1297 data->counters.access_rejects++; in radius_server_reject() 1298 client->counters.access_rejects++; in radius_server_reject() 1409 data->counters.dup_access_requests++; in radius_server_request() 1410 client->counters.dup_access_requests++; in radius_server_request() 1440 data->counters.packets_dropped++; in radius_server_request() 1441 client->counters.packets_dropped++; in radius_server_request() 1480 data->counters.packets_dropped++; in radius_server_request() 1481 client->counters.packets_dropped++; in radius_server_request() [all …]
|
| /src/sys/contrib/dev/iwlwifi/mld/ ! |
| H A D | low_latency.c | 44 struct iwl_mld_low_latency_packets_counters *counters = in iwl_mld_calc_low_latency() local 47 spin_lock_bh(&counters->lock); in iwl_mld_calc_low_latency() 49 total_vo_vi_pkts += counters->vo_vi[mac_id]; in iwl_mld_calc_low_latency() 52 counters->vo_vi[mac_id] = 0; in iwl_mld_calc_low_latency() 54 spin_unlock_bh(&counters->lock); in iwl_mld_calc_low_latency() 267 struct iwl_mld_low_latency_packets_counters *counters; in iwl_mld_low_latency_update_counters() local 275 if (WARN_ON_ONCE(fw_id >= ARRAY_SIZE(counters->vo_vi) || in iwl_mld_low_latency_update_counters() 285 counters = &mld->low_latency.pkts_counters[queue]; in iwl_mld_low_latency_update_counters() 287 spin_lock_bh(&counters->lock); in iwl_mld_low_latency_update_counters() 288 counters->vo_vi[fw_id]++; in iwl_mld_low_latency_update_counters() [all …]
|
| /src/contrib/llvm-project/compiler-rt/lib/ctx_profile/ ! |
| H A D | CtxInstrContextNode.h | 86 uint64_t *counters() { in counters() function 94 const uint64_t *counters() const { in counters() function 95 return const_cast<ContextNode *>(this)->counters(); in counters() 100 return reinterpret_cast<ContextNode **>(&(counters()[NrCounters])); in subContexts() 112 uint64_t entrycount() const { return counters()[0]; } in entrycount()
|
| /src/contrib/llvm-project/llvm/include/llvm/ProfileData/ ! |
| H A D | CtxInstrContextNode.h | 86 uint64_t *counters() { in counters() function 94 const uint64_t *counters() const { in counters() function 95 return const_cast<ContextNode *>(this)->counters(); in counters() 100 return reinterpret_cast<ContextNode **>(&(counters()[NrCounters])); in subContexts() 112 uint64_t entrycount() const { return counters()[0]; } in entrycount()
|
| /src/tests/sys/netpfil/pf/ ! |
| H A D | fragmentation_pass.sh | 674 counters=$(jexec alcatraz pfctl -si -v | grep -A 4 '^Fragments') 676 echo $counters 678 echo $counters 680 echo $counters 682 echo $counters 687 counters=$(jexec alcatraz pfctl -si -v | grep -A 4 '^Fragments') 689 echo $counters 691 echo $counters 693 echo $counters 695 echo $counters [all …]
|
| /src/crypto/openssl/crypto/aes/asm/ ! |
| H A D | aesni-mb-x86_64.pl | 104 ($counters,$mask,$zero)=map("%xmm$_",(10..12)); 215 movdqa 32(%rsp),$counters # load counters 250 movdqa $counters,$mask 266 paddd $mask,$counters # decrement counters 267 movdqa $counters,32(%rsp) # update counters 493 movdqa 32(%rsp),$counters # load counters 528 movdqa $counters,$mask 544 paddd $mask,$counters # decrement counters 545 movdqa $counters,32(%rsp) # update counters 674 my ($counters,$zero)=("%xmm14","%xmm15"); [all …]
|
| /src/sys/gnu/gcov/ ! |
| H A D | gcov_fs.c | 60 void __gcov_merge_add(gcov_type *counters, unsigned int n_counters); 61 void __gcov_merge_single(gcov_type *counters, unsigned int n_counters); 62 void __gcov_merge_delta(gcov_type *counters, unsigned int n_counters); 63 void __gcov_merge_ior(gcov_type *counters, unsigned int n_counters); 64 void __gcov_merge_time_profile(gcov_type *counters, unsigned int n_counters); 65 void __gcov_merge_icall_topn(gcov_type *counters, unsigned int n_counters); 137 __gcov_merge_add(gcov_type *counters, unsigned int n_counters) in __gcov_merge_add() argument 143 __gcov_merge_single(gcov_type *counters, unsigned int n_counters) in __gcov_merge_single() argument 149 __gcov_merge_delta(gcov_type *counters, unsigned int n_counters) in __gcov_merge_delta() argument 155 __gcov_merge_ior(gcov_type *counters, unsigned int n_counters) in __gcov_merge_ior() argument [all …]
|
| /src/sys/dev/ocs_fc/ ! |
| H A D | ocs_xport.c | 41 …nk_stats_cb(int32_t status, uint32_t num_counters, ocs_hw_link_stat_counts_t *counters, void *arg); 42 …st_stats_cb(int32_t status, uint32_t num_counters, ocs_hw_host_stat_counts_t *counters, void *arg); 1075 ocs_xport_link_stats_cb(int32_t status, uint32_t num_counters, ocs_hw_link_stat_counts_t *counters,… in ocs_xport_link_stats_cb() argument 1079 …result->stats.link_stats.link_failure_error_count = counters[OCS_HW_LINK_STAT_LINK_FAILURE_COUNT].… in ocs_xport_link_stats_cb() 1080 …result->stats.link_stats.loss_of_sync_error_count = counters[OCS_HW_LINK_STAT_LOSS_OF_SYNC_COUNT].… in ocs_xport_link_stats_cb() 1081 …result->stats.link_stats.primitive_sequence_error_count = counters[OCS_HW_LINK_STAT_PRIMITIVE_SEQ_… in ocs_xport_link_stats_cb() 1082 …result->stats.link_stats.invalid_transmission_word_error_count = counters[OCS_HW_LINK_STAT_INVALID… in ocs_xport_link_stats_cb() 1083 result->stats.link_stats.crc_error_count = counters[OCS_HW_LINK_STAT_CRC_COUNT].counter; in ocs_xport_link_stats_cb() 1089 ocs_xport_host_stats_cb(int32_t status, uint32_t num_counters, ocs_hw_host_stat_counts_t *counters,… in ocs_xport_host_stats_cb() argument 1093 … result->stats.host_stats.transmit_kbyte_count = counters[OCS_HW_HOST_STAT_TX_KBYTE_COUNT].counter; in ocs_xport_host_stats_cb() [all …]
|
| /src/sys/dev/mlx5/mlx5_fpga/ ! |
| H A D | ipsec.h | 46 int mlx5_fpga_ipsec_counters_read(struct mlx5_core_dev *mdev, u64 *counters, 77 u64 *counters) in mlx5_fpga_ipsec_counters_read() argument
|
| /src/tools/test/hwpmc/ ! |
| H A D | pmctest.py | 52 counters = gather_counters() 54 if len(counters) <= 0: 74 for counter in counters:
|
| /src/release/packages/ucl/ ! |
| H A D | pmc-all.ucl | 1 comment = "Support for hardware performance counters" 5 interface that allows applications to use hardware performance counters
|
| /src/sys/dev/mlx5/mlx5_core/ ! |
| H A D | mlx5_fs_counters.c | 119 return counter ? &counter->list : &fc_stats->counters; in mlx5_fc_counters_lookup_next() 199 list_for_each_entry_from(counter, &fc_stats->counters, list) { in mlx5_fc_stats_query_counter_range() 277 if (addlist || !list_empty(&fc_stats->counters)) in mlx5_fc_stats_work() 298 list_empty(&fc_stats->counters)) in mlx5_fc_stats_work() 300 last = list_last_entry(&fc_stats->counters, struct mlx5_fc, list); in mlx5_fc_stats_work() 302 counter = list_first_entry(&fc_stats->counters, struct mlx5_fc, in mlx5_fc_stats_work() 424 INIT_LIST_HEAD(&fc_stats->counters); in mlx5_init_fc_stats() 468 list_for_each_entry_safe(counter, tmp, &fc_stats->counters, list) in mlx5_cleanup_fc_stats()
|
| /src/usr.bin/netstat/ ! |
| H A D | main.c | 826 u_long *counters; in kread_counters() local 838 if ((counters = malloc(n * sizeof(u_long))) == NULL) in kread_counters() 840 if (kread(addr, counters, n * sizeof(u_long)) < 0) { in kread_counters() 841 free(counters); in kread_counters() 847 c[i] = kvm_counter_u64_fetch(kvmd, counters[i]); in kread_counters() 849 free(counters); in kread_counters()
|
| /src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ ! |
| H A D | sanitizer_allocator_primary64.h | 556 PackedCounterArray counters(allocated_pages_count, in ReleaseFreeMemoryToOS() 558 if (!counters.IsAllocated()) in ReleaseFreeMemoryToOS() 570 counters.Inc(free_array[i] >> page_size_scaled_log); in ReleaseFreeMemoryToOS() 574 counters.IncRange( in ReleaseFreeMemoryToOS() 585 for (uptr i = 0; i < counters.GetCount(); i++) in ReleaseFreeMemoryToOS() 586 range_tracker.NextPage(counters.Get(i) == full_pages_chunk_count_max); in ReleaseFreeMemoryToOS() 600 for (uptr i = 0; i < counters.GetCount(); i++) { in ReleaseFreeMemoryToOS() 614 range_tracker.NextPage(counters.Get(i) == chunks_per_page); in ReleaseFreeMemoryToOS()
|
| /src/contrib/llvm-project/compiler-rt/lib/profile/ ! |
| H A D | GCDAProfiling.c | 395 void llvm_gcda_emit_arcs(uint32_t num_counters, uint64_t *counters) { in llvm_gcda_emit_arcs() argument 433 counters[i] += (old_ctrs ? old_ctrs[i] : 0); in llvm_gcda_emit_arcs() 434 write_64bit_value(counters[i]); in llvm_gcda_emit_arcs() 442 fprintf(stderr, "llvmgcda: %llu\n", (unsigned long long)counters[i]); in llvm_gcda_emit_arcs()
|
| /src/usr.sbin/pmc/ ! |
| H A D | cmd_pmc_stat.c | 164 char *counters, *counter; in pmc_stat_setup_stat() local 175 counters = NULL; in pmc_stat_setup_stat() 181 counters = strdup(arg); in pmc_stat_setup_stat() 183 while ((counter = strsep(&counters, ",")) != NULL && in pmc_stat_setup_stat()
|
| /src/sys/net/ ! |
| H A D | if_ovpn.c | 135 struct ovpn_peer_counters counters; member 163 counter_u64_t counters[OVPN_PEER_COUNTER_SIZE]; member 199 counter_u64_t counters[OVPN_COUNTER_SIZE]; member 248 ((sc)->counters[offsetof(struct ovpn_counters, name)/sizeof(uint64_t)]) 250 ((peer)->counters[offsetof(struct ovpn_peer_counters, name) / \ 508 n->counters.pkt_in = counter_u64_fetch(OVPN_PEER_COUNTER(peer, pkt_in)); in ovpn_notify_del_peer() 509 n->counters.pkt_out = counter_u64_fetch(OVPN_PEER_COUNTER(peer, pkt_out)); in ovpn_notify_del_peer() 510 n->counters.bytes_in = counter_u64_fetch(OVPN_PEER_COUNTER(peer, bytes_in)); in ovpn_notify_del_peer() 511 n->counters.bytes_out = counter_u64_fetch(OVPN_PEER_COUNTER(peer, bytes_out)); in ovpn_notify_del_peer() 676 COUNTER_ARRAY_ALLOC(peer->counters, OVPN_PEER_COUNTER_SIZE, M_WAITOK); in ovpn_new_peer() [all …]
|
| /src/sys/dev/pms/RefTisa/sallsdk/spc/ ! |
| H A D | sautil.c | 786 bit32 counters, in saGetLLCounters() argument 795 if (counters & (1 << i)) in saGetLLCounters() 818 bit32 counters in saResetLLCounters() argument 826 if (counters & (1 << i)) in saResetLLCounters()
|
| /src/contrib/llvm-project/llvm/lib/Target/PowerPC/ ! |
| H A D | PPCPfmCounters.td | 9 // This describes the available hardware counters for PPC.
|
| /src/sys/contrib/device-tree/Bindings/arc/ ! |
| H A D | archs-pct.txt | 5 are 100+ hardware conditions dynamically mapped to up to 32 counters.
|
| /src/contrib/llvm-project/llvm/lib/Target/Mips/ ! |
| H A D | MipsPfmCounters.td | 9 // This describes the available hardware counters for Mips.
|
| /src/contrib/llvm-project/llvm/lib/Target/AArch64/ ! |
| H A D | AArch64PfmCounters.td | 9 // This describes the available hardware counters for AArch64.
|