/freebsd/contrib/ofed/infiniband-diags/man/ |
H A D | perfquery.8 | 33 .SH QUERY INFINIBAND PORT COUNTERS ON A SINGLE PORT 40 error counters), PortExtendedCounters, PortXmitDataSL, PortRcvDataSL, 43 aggregated counters for all ports of node. Finally it can, reset after read, 44 or just reset the counters. 58 show extended port counters rather than (basic) port counters. 59 Note that extended port counters attribute is optional. 77 show extended speeds port counters. This is an optional counter. 80 show Rcv Counters per Op code. This is an optional counter. 83 show flow control counters. This is an optional counter. 95 show ticks waiting to transmit counters per VL. This is an optional counter. [all …]
|
H A D | ibqueryerrors.8 | 5 IBQUERYERRORS \- query and report IB port counters 38 The default behavior is to report the port error counters which exceed a 51 Suppress some of the common "side effect" counters. These counters usually do 60 Include the optional transmit and receive data counters. 74 \fB\-\-clear\-errors \-k\fP Clear error counters after read. 76 \fB\-\-clear\-counts \-K\fP Clear data counters after read. 78 \fBCAUTION\fP clearing data or error counters will occur regardless of if they 79 are printed or not. See \fB\-\-counters\fP and \fB\-\-data\fP for details on 80 controling which counters are printed. 84 \fB\-\-counters\fP print data counters only [all …]
|
/freebsd/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_HANDLER() local 71 counters = ib_dev->create_counters(ib_dev, attrs); in UVERBS_HANDLER() 72 if (IS_ERR(counters)) { in UVERBS_HANDLER() 73 ret = PTR_ERR(counters); in UVERBS_HANDLER() 77 counters->device = ib_dev; in UVERBS_HANDLER() 78 counters->uobject = uobj; in UVERBS_HANDLER() 79 uobj->object = counters; in UVERBS_HANDLER() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerDataFlowTrace.h | 56 const auto &Counters = It->second; in GetCounter() local 57 if (BasicBlockId < Counters.size()) in GetCounter() 58 return Counters[BasicBlockId]; in GetCounter() 65 const auto &Counters = It->second; in GetNumberOfBlocks() local 66 return static_cast<uint32_t>(Counters.size()); in GetNumberOfBlocks() 72 const auto &Counters = It->second; in GetNumberOfCoveredBlocks() local 74 for (auto Cnt: Counters) in GetNumberOfCoveredBlocks() 86 uint32_t NumberOfCoveredBlocks(const CoverageVector &Counters) const { in NumberOfCoveredBlocks() argument 88 for (auto Cnt : Counters) in NumberOfCoveredBlocks() 94 uint32_t NumberOfUncoveredBlocks(const CoverageVector &Counters) const { in NumberOfUncoveredBlocks() argument [all …]
|
H A D | FuzzerExtraCountersWindows.cpp | 1 //===- FuzzerExtraCountersWindows.cpp - Extra coverage counters for Win32 -===// 8 // Extra coverage counters defined by user code for Windows. 29 // be placed in the section just before the user supplied counters (if present). 37 // Example of what the user-supplied counters should look like. First, the 56 // symbol to be placed in the section just after the user supplied counters (if
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/ |
H A D | TargetPfmCounters.td | 1 //===- TargetPfmCounters.td - Target Pfm Counters -*- tablegen ----------*-===// 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; [all …]
|
/freebsd/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 …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | DebugCounter.h | 9 /// This file provides an implementation of debug counters. Debug 10 /// counters are a tool that let you narrow down a miscompilation to a specific 80 // line option parsing. The main reason to register counters is to produce a 97 return instance().Counters[ID].IsSet; in isCounterSet() 105 // Return the state of a counter. This only works for set counters. 108 auto Result = Us.Counters.find(ID); in getCounterState() 109 assert(Result != Us.Counters.end() && "Asking about a non-set counter"); in getCounterState() 116 auto &Counter = Us.Counters[ID]; in setCounterState() 131 // Return the number of registered counters. 136 return std::make_pair(RegisteredCounters[ID], Counters.lookup(ID).Desc); in getCounterInfo() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
H A D | PGOCtxProfReader.h | 28 /// generally expect a fraction of counters and of callsites to be populated. 29 /// We continue to model counters as vectors, but callsites are modeled as a map 42 SmallVector<uint64_t, 16> Counters; variable 46 SmallVectorImpl<uint64_t> &&Counters) in PGOContextualProfile() argument 47 : GUID(G), Counters(std::move(Counters)) {} in PGOContextualProfile() 51 SmallVectorImpl<uint64_t> &&Counters); 60 const SmallVectorImpl<uint64_t> &counters() const { return Counters; } in counters() function
|
H A D | CtxInstrContextNode.h | 41 /// [[declared fields][counters vector][vector of ptrs to subcontexts]] 43 /// See also documentation on the counters and subContexts members below. 85 // The counters vector starts right after the static header. 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() 98 // The subcontexts vector starts right after the end of the counters vector. 100 return reinterpret_cast<ContextNode **>(&(counters()[NrCounters])); in subContexts() 112 uint64_t entrycount() const { return counters()[0]; } in entrycount()
|
/freebsd/contrib/ofed/infiniband-diags/src/ |
H A D | perfquery.c | 118 /* Notes: IB semantics is to cap counters if count has exceeded limits. 119 * Therefore we must check for overflows and cap the counters if necessary. 253 printf("# Port counters: %s port %d (CapMask: 0x%02X)\n%s", in output_aggregate_perfcounters() 386 printf("# Port extended counters: %s port %d (CapMask: 0x%02X CapMask2: 0x%07X)\n%s", in output_aggregate_perfcounters_ext() 443 printf("# Port extended counters: %s port %d " in dump_perfcounters() 448 printf("# Port counters: %s port %d " in dump_perfcounters() 491 printf("# %s counters: %s port %d\n%s", name, in common_func() 819 {"extended", 'x', 0, NULL, "show extended port counters"}, in main() 820 {"xmtsl", 'X', 0, NULL, "show Xmt SL port counters"}, in main() 821 {"rcvsl", 'S', 0, NULL, "show Rcv SL port counters"}, in main() [all …]
|
/freebsd/tests/sys/netpfil/pf/ |
H A D | rules_counter.sh | 32 atf_set descr 'Test clearing rules counters on get rules' 50 # Ensure the rule matched packets, so we can verify non-zero counters 53 # Expect non-zero counters 64 # Expect zero counters 96 # Expect zero counters 101 # Ensure the rule matched packets, so we can verify non-zero counters 104 # Expect non-zero counters 109 # As we set the (same) rules again we'd expect the counters to return 118 # Increment rule counters 122 # counters [all …]
|
H A D | table.sh | 35 atf_set descr 'Verify per-address counters for v4' 51 "table <foo> counters { 192.0.2.1 }" \ 75 atf_set descr 'Verify per-address counters for v6' 91 "table <foo6> counters { 2001:db8:42::1 }" \ 115 atf_set descr 'Test that counters for tables in match rules work' 131 "table <foo> counters { 192.0.2.1 }" \ 186 "table <foo> counters { 192.0.2.1, 192.0.2.3 }" \ 242 atf_set descr 'Test zeroing an address with non-zero counters' 259 "table <foo> counters { 192.0.2.1, 192.0.2.3 }" \ 260 "table <bar> counters { }" \ [all …]
|
/freebsd/contrib/wpa/src/radius/ |
H A D | radius_server.c | 44 * struct radius_server_counters - RADIUS server statistics counters 112 struct radius_server_counters counters; member 174 * counters - Statistics counters for server operations 176 * These counters are the sum over all clients. 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() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/ctx_profile/ |
H A D | CtxInstrContextNode.h | 41 /// [[declared fields][counters vector][vector of ptrs to subcontexts]] 43 /// See also documentation on the counters and subContexts members below. 85 // The counters vector starts right after the static header. 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() 98 // The subcontexts vector starts right after the end of the counters vector. 100 return reinterpret_cast<ContextNode **>(&(counters()[NrCounters])); in subContexts() 112 uint64_t entrycount() const { return counters()[0]; } in entrycount()
|
/freebsd/share/man/man4/ |
H A D | timecounters.4 | 30 .Nd kernel time counters subsystem 33 time counters and event timers. 36 Time counters are responsible for tracking purposes, when the system is running. 41 Time counters are the lowest level of time tracking in the kernel. 55 The goal of the time counters subsystem is to provide a unified way to access 58 Each driver implementing time counters registers them with the subsystem. 59 It is possible to see the list of present time counters, via the
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | MisExpect.h | 28 /// checkBackendInstrumentation - compares PGO counters to the thresholds used 29 /// for llvm.expect and warns if the PGO counters are outside of the expected 40 /// checkFrontendInstrumentation - compares PGO counters to the thresholds used 41 /// for llvm.expect and warns if the PGO counters are outside of the expected 55 /// for llvm.expect and warns if the PGO counters are outside of the expected 64 /// checkExpectAnnotations - compares PGO counters to the thresholds used 65 /// for llvm.expect and warns if the PGO counters are outside of the expected
|
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
H A D | PGOCtxProfReader.cpp | 37 SmallVectorImpl<uint64_t> &&Counters) { in getOrEmplace() argument 39 {G, PGOContextualProfile(G, std::move(Counters))}); in getOrEmplace() 81 std::optional<SmallVector<uint64_t, 16>> Counters; in readContext() local 90 return Guid.has_value() && Counters.has_value() && in readContext() 107 case PGOCtxProfileRecords::Counters: in readContext() 108 Counters = std::move(RecordValues); in readContext() 109 if (Counters->empty()) in readContext() 110 return wrongValue("Empty counters. At least the entry counter (one " in readContext() 127 PGOContextualProfile Ret(*Guid, std::move(*Counters)); in readContext()
|
/freebsd/lib/libpmc/ |
H A D | pmc.3 | 29 .Nd library for accessing hardware performance monitoring counters 38 hardware performance counters to gather performance data about 45 Performance monitoring counters (PMCs) are represented by the library 76 The application needs to explicitly read these counters 220 Fixed function hardware counters presents in CPUs conforming to the 224 Programmable hardware counters present in CPUs conforming to the 228 Programmable hardware counters present in 257 The ability to cascade counters. 259 Separate counters tied to each NUMA domain. 274 The ability to read from performance counters. [all …]
|
/freebsd/share/man/man4/man4.i386/ |
H A D | perfmon.4 | 48 These processors implement two internal counters which can be 55 All access to the performance-monitoring counters is performed through 62 along with the definitions of the various counters for both 124 counters must be started and stopped in numerical order. 137 All counters are automatically reset by 157 processors to read the counters directly. 183 character device interface to counters
|
/freebsd/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_fs_counters.c | 38 /* Max number of counters to query in bulk read is 32K */ 113 /* skip counters that are in idr, but not yet in counters list */ in mlx5_fc_counters_lookup_next() 119 return counter ? &counter->list : &fc_stats->counters; in mlx5_fc_counters_lookup_next() 187 /* number of counters to query inc. the last counter */ in mlx5_fc_stats_query_counter_range() 199 list_for_each_entry_from(counter, &fc_stats->counters, list) { in mlx5_fc_stats_query_counter_range() 245 "Can't increase flow counters bulk query buffer size, insufficient memory, bulk_size(%d)\n", in mlx5_fc_stats_bulk_query_size_increase() 258 "Flow counters bulk query buffer size increased, bulk_size(%d)\n", in mlx5_fc_stats_bulk_query_size_increase() 269 /* Take dellist first to ensure that counters cannot be deleted before in mlx5_fc_stats_work() 277 if (addlist || !list_empty(&fc_stats->counters)) in mlx5_fc_stats_work() [all...] |
/freebsd/crypto/openssl/crypto/aes/asm/ |
H A D | aesni-mb-x86_64.pl | 104 ($counters,$mask,$zero)=map("%xmm$_",(10..12)); 163 # +32 counters 192 mov $one,`32+4*$i`(%rsp) # initialize counters 215 movdqa 32(%rsp),$counters # load counters 250 movdqa $counters,$mask 266 paddd $mask,$counters # decrement counters 267 movdqa $counters,32(%rsp) # update counters 445 # +32 counters 474 mov $one,`32+4*$i`(%rsp) # initialize counters 493 movdqa 32(%rsp),$counters # load counters [all …]
|
/freebsd/contrib/jemalloc/include/jemalloc/internal/ |
H A D | prof_structs.h | 10 /* Backtrace, stored as len program counters. */ 33 /* Profiling counters. */ 58 /* Profiling counters, protected by tdata->lock. */ 107 * - Initializing per thread counters associated with this gctx. 116 * Tree of profile counters, one for each thread that has allocated in 164 * backtraces for which it has non-zero allocation/deallocation counters
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | DebugCounter.cpp | 106 // counters. Rather than go that route, we have just overridden the in printOptionInfo() 138 cl::desc("Print out debug counter info after all counters accumulated")}; 197 CounterInfo &Counter = Counters[CounterID]; in push_back() 208 OS << "Counters and values:\n"; in print() 212 << Us.Counters[CounterID].Count << ","; in print() 213 printChunks(OS, Us.Counters[CounterID].Chunks); in print() 220 auto Result = Us.Counters.find(CounterName); in shouldExecuteImpl() 221 if (Result != Us.Counters.end()) { in shouldExecuteImpl()
|
/freebsd/tools/test/hwpmc/ |
H A D | pmctest.py | 59 # A list of strings that are not really counters, just 80 counters = p.communicate()[0] 82 if len(counters) <= 0: 83 print("no counters found") 86 for counter in counters.split():
|