Home
last modified time | relevance | path

Searched refs:counters (Results 1 – 25 of 121) sorted by relevance

12345

/freebsd-12.1/usr.sbin/pmcstudy/
H A Dpmcstudy.c167 struct counters { struct
453 struct counters *at; in find_counter()
550 struct counters *iss; in br_mispredictib()
641 struct counters *mem; in splitloadib()
675 struct counters *mem; in splitload()
700 struct counters *mem; in splitload_sb()
773 struct counters *mem; in contested()
797 struct counters *mem; in contested_has()
1473 struct counters *ld; in aliasing()
1497 struct counters *ld; in aliasing_broad()
[all …]
/freebsd-12.1/contrib/gcc/
H A Dlibgcov.c645 counters[0] = value; in __gcov_merge_single()
646 counters[1] = counter - counters[1]; in __gcov_merge_single()
686 counters[2] = counter - counters[2]; in __gcov_merge_delta()
709 counters[steps]++; in __gcov_interval_profiler()
711 counters[delta]++; in __gcov_interval_profiler()
723 counters[0]++; in __gcov_pow2_profiler()
725 counters[1]++; in __gcov_pow2_profiler()
744 counters[1]++; in __gcov_one_value_profiler()
747 counters[1] = 1; in __gcov_one_value_profiler()
751 counters[1]--; in __gcov_one_value_profiler()
[all …]
H A Dvalue-prof.c154 free (th->hvalue.counters); in tree_value_profile_transformations()
297 val = histogram->hvalue.counters[0]; in tree_divmod_fixed_value_transform()
298 count = histogram->hvalue.counters[1]; in tree_divmod_fixed_value_transform()
299 all = histogram->hvalue.counters[2]; in tree_divmod_fixed_value_transform()
464 wrong_values = histogram->hvalue.counters[0]; in tree_mod_pow2_value_transform()
465 count = histogram->hvalue.counters[1]; in tree_mod_pow2_value_transform()
650 all += histogram->hvalue.counters[i]; in tree_mod_subtract_transform()
652 wrong_values += histogram->hvalue.counters[i]; in tree_mod_subtract_transform()
665 count += histogram->hvalue.counters[i]; in tree_mod_subtract_transform()
685 histogram->hvalue.counters[0], in tree_mod_subtract_transform()
[all …]
H A Dvalue-prof.h47 gcov_type *counters; /* Pointer to first counter. */ member
/freebsd-12.1/contrib/ntp/lib/isc/
H A Dstats.c71 isc_stat_t *counters; member
103 if (stats->counters == NULL) { in create_stats()
121 memset(stats->counters, 0, sizeof(isc_stat_t) * ncounters); in create_stats()
177 isc_mem_put(stats->mctx, stats->counters, in isc_stats_detach()
221 isc_atomic_xaddq((isc_int64_t *)&stats->counters[counter], 1); in incrementcounter()
224 stats->counters[counter]++; in incrementcounter()
243 isc_atomic_xadd((isc_int32_t *)&stats->counters[counter].hi, in decrementcounter()
250 stats->counters[counter]--; in decrementcounter()
273 (isc_uint64_t)(stats->counters[i].hi) << 32 | in copy_counters()
274 stats->counters[i].lo; in copy_counters()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/Target/
H A DTargetPfmCounters.td10 // This file defines the target-independent interfaces for performance counters.
12 // Definition of a hardware counters from libpfm identifiers.
16 // measured value is the sum of events on these counters.
20 // Issue counters can be tied to a ProcResource
42 // A binding of a set of counters to a CPU.
43 class PfmCountersBinding<string cpu_name, ProcPfmCounters counters> {
45 ProcPfmCounters Counters = counters;
49 class PfmCountersDefaultBinding<ProcPfmCounters counters>
50 : PfmCountersBinding<"", counters> {}
/freebsd-12.1/contrib/wpa/src/radius/
H A Dradius_server.c1449 data->counters.access_rejects++; in radius_server_reject()
1450 client->counters.access_rejects++; in radius_server_reject()
1923 data->counters.unknown_types++; in radius_server_receive_auth()
1928 data->counters.access_requests++; in radius_server_receive_auth()
2040 data->counters.acct_requests++; in radius_server_receive_acct()
2041 client->counters.acct_requests++; in radius_server_receive_acct()
2068 data->counters.acct_responses++; in radius_server_receive_acct()
2625 data->counters.unknown_types, in radius_server_get_mib()
2626 data->counters.acct_requests, in radius_server_get_mib()
2683 cli->counters.unknown_types, in radius_server_get_mib()
[all …]
/freebsd-12.1/crypto/openssl/crypto/aes/asm/
H A Daesni-mb-x86_64.pl237 movdqa $counters,$mask
510 movdqa $counters,$mask
801 vmovdqu 32(%rsp),$counters
853 vpcmpgtd $zero,$counters,$zero
857 vmovdqu 48(%rsp),$counters
869 vpcmpgtd $zero,$counters,$zero
872 vpaddd $zero,$counters,$counters # decrement counters
1104 vmovdqu 32(%rsp),$counters
1156 vpcmpgtd $zero,$counters,$zero
1160 vmovdqu 48(%rsp),$counters
[all …]
/freebsd-12.1/tools/test/hwpmc/
H A Dpmctest.py81 counters = p.communicate()[0]
83 if len(counters) <= 0:
87 for counter in counters.split():
/freebsd-12.1/sys/dev/ocs_fc/
H A Docs_xport.c43 …nk_stats_cb(int32_t status, uint32_t num_counters, ocs_hw_link_stat_counts_t *counters, void *arg);
44 …st_stats_cb(int32_t status, uint32_t num_counters, ocs_hw_host_stat_counts_t *counters, void *arg);
1047 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
1051 …result->stats.link_stats.link_failure_error_count = counters[OCS_HW_LINK_STAT_LINK_FAILURE_COUNT].… in ocs_xport_link_stats_cb()
1052 …result->stats.link_stats.loss_of_sync_error_count = counters[OCS_HW_LINK_STAT_LOSS_OF_SYNC_COUNT].… in ocs_xport_link_stats_cb()
1055 result->stats.link_stats.crc_error_count = counters[OCS_HW_LINK_STAT_CRC_COUNT].counter; in ocs_xport_link_stats_cb()
1062 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
1066 … result->stats.host_stats.transmit_kbyte_count = counters[OCS_HW_HOST_STAT_TX_KBYTE_COUNT].counter; in ocs_xport_host_stats_cb()
1067 … result->stats.host_stats.receive_kbyte_count = counters[OCS_HW_HOST_STAT_RX_KBYTE_COUNT].counter; in ocs_xport_host_stats_cb()
1068 … result->stats.host_stats.transmit_frame_count = counters[OCS_HW_HOST_STAT_TX_FRAME_COUNT].counter; in ocs_xport_host_stats_cb()
[all …]
/freebsd-12.1/sys/dev/mlx5/mlx5_fpga/
H A Dipsec.h48 int mlx5_fpga_ipsec_counters_read(struct mlx5_core_dev *mdev, u64 *counters,
79 u64 *counters) in mlx5_fpga_ipsec_counters_read() argument
/freebsd-12.1/contrib/compiler-rt/lib/profile/
H A DGCDAProfiling.c411 uint64_t **counters) { in llvm_gcda_increment_indirect_counter() argument
418 counter = counters[pred]; in llvm_gcda_increment_indirect_counter()
460 void llvm_gcda_emit_arcs(uint32_t num_counters, uint64_t *counters) { in llvm_gcda_emit_arcs() argument
498 counters[i] += (old_ctrs ? old_ctrs[i] : 0); in llvm_gcda_emit_arcs()
499 write_64bit_value(counters[i]); in llvm_gcda_emit_arcs()
507 fprintf(stderr, "llvmgcda: %llu\n", (unsigned long long)counters[i]); in llvm_gcda_emit_arcs()
/freebsd-12.1/usr.bin/netstat/
H A Dmain.c764 u_long *counters; in kread_counters() local
776 if ((counters = malloc(n * sizeof(u_long))) == NULL) in kread_counters()
778 if (kread(addr, counters, n * sizeof(u_long)) < 0) { in kread_counters()
779 free(counters); in kread_counters()
785 c[i] = kvm_counter_u64_fetch(kvmd, counters[i]); in kread_counters()
787 free(counters); in kread_counters()
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_primary64.h488 PackedCounterArray<MemoryMapperT> counters(allocated_pages_count, in ReleaseFreeMemoryToOS()
491 if (!counters.IsAllocated()) in ReleaseFreeMemoryToOS()
503 counters.Inc(free_array[i] >> page_size_scaled_log); in ReleaseFreeMemoryToOS()
507 counters.IncRange( in ReleaseFreeMemoryToOS()
518 for (uptr i = 0; i < counters.GetCount(); i++) in ReleaseFreeMemoryToOS()
519 range_tracker.NextPage(counters.Get(i) == full_pages_chunk_count_max); in ReleaseFreeMemoryToOS()
533 for (uptr i = 0; i < counters.GetCount(); i++) { in ReleaseFreeMemoryToOS()
547 range_tracker.NextPage(counters.Get(i) == chunks_per_page); in ReleaseFreeMemoryToOS()
/freebsd-12.1/usr.sbin/pmc/
H A Dcmd_pmc_stat.c158 char *counters, *counter; in pmc_stat_setup_stat() local
171 counters = NULL; in pmc_stat_setup_stat()
177 counters = strdup(arg); in pmc_stat_setup_stat()
179 while ((counter = strsep(&counters, ",")) != NULL && in pmc_stat_setup_stat()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86PfmCounters.td10 // This describes the available hardware counters for various subtargets.
17 // No default counters on X86.
150 // Set basic counters for AMD cpus that we know libpfm4 supports.
/freebsd-12.1/sys/dev/pms/RefTisa/sallsdk/spc/
H A Dsautil.c787 bit32 counters, in saGetLLCounters() argument
796 if (counters & (1 << i)) in saGetLLCounters()
819 bit32 counters in saResetLLCounters() argument
827 if (counters & (1 << i)) in saResetLLCounters()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DClangASTImporter.cpp29 ClangASTMetrics::Counters &counters) { in DumpCounters() argument
31 counters.m_visible_query_count); in DumpCounters()
33 counters.m_lexical_query_count); in DumpCounters()
35 counters.m_lldb_import_count); in DumpCounters()
37 counters.m_clang_import_count); in DumpCounters()
39 counters.m_decls_completed_count); in DumpCounters()
41 counters.m_record_layout_count); in DumpCounters()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCPfmCounters.td10 // This describes the available hardware counters for PPC.
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64PfmCounters.td10 // This describes the available hardware counters for AArch64.
/freebsd-12.1/sys/dev/drm/
H A Ddrm_ioctl.c218 for (i = 0; i < dev->counters; i++) { in drm_getstats()
227 stats->count = dev->counters; in drm_getstats()
/freebsd-12.1/sys/dev/xilinx/
H A Dif_xaevar.h77 uint64_t counters[XAE_MAX_COUNTERS]; member
/freebsd-12.1/contrib/bsnmp/snmp_mibII/
H A DBEGEMOT-MIB2-MIB.txt79 "The current polling rate for the HC 64-bit counters."
87 "The polling rate to be enforced for the HC 64-bit counters.
/freebsd-12.1/sys/dev/drm2/
H A Ddrm_ioctl.c248 for (i = 0; i < dev->counters; i++) { in drm_getstats()
257 stats->count = dev->counters; in drm_getstats()
/freebsd-12.1/sys/dev/mlx5/mlx5_accel/
H A Dipsec.h118 int mlx5_accel_ipsec_counters_read(struct mlx5_core_dev *mdev, u64 *counters,

12345