/freebsd/sys/contrib/alpine-hal/ |
H A D | al_hal_nb_regs.h | 1 /*- 10 found at http://www.gnu.org/licenses/gpl-2.0.html 101 /* [0x6c] Read-only that reflects CPU Cluster Local GIC base high address */ 103 /* [0x70] Read-only that reflects CPU Cluster Local GIC base low address */ 105 /* [0x74] Read-only that reflects the device's IOGIC base high address. */ 107 /* [0x78] Read-only that reflects IOGIC base low address */ 310 /* [0x20] Specifies the state of the CPU with reference to power modes. */ 463 /* Defines the internal CPU GIC operating frequency ratio with the main CPU clock. 472 /* Disables the GIC CPU interface logic and routes the legacy nIRQ, nFIQ, nVIRQ, and nVFIQ 474 0 Enable the GIC CPU interface logic. [all …]
|
H A D | al_hal_plat_services.h | 1 /*- 10 found at http://www.gnu.org/licenses/gpl-2.0.html 42 * - Registers read/write 43 * - Assertions 44 * - Memory barriers 45 * - Endianness conversions 95 /* *INDENT-OFF* */ 99 /* *INDENT-ON* */ 156 * Read MMIO 8 bits register 164 * Read MMIO 16 bits register [all …]
|
/freebsd/share/man/man9/ |
H A D | smr.9 | 1 .\" SPDX-License-Identifier: BSD-2-Clause 34 .Nd safe memory reclamation for lock-free data structures 74 memory-safe lock-free data structures. 75 In typical usage, read accesses to an SMR-protected data structure, such as a 77 .Dq read section 85 In contrast with reader-writer locks such as 91 Readers can always enter a read section immediately 96 so mutations do not introduce read latency. 101 operate only on per-CPU data and thus avoid some of the performance problems 102 inherent in the implementation of traditional reader-writer mutexes. [all …]
|
H A D | counter.9 | 1 .\"- 31 .Nd "SMP-friendly kernel counter implementation" 76 can be used in any non-interrupt context. 84 is considered suitable for accounting in the performance-critical 86 .Bl -tag -width indent 88 Allocate a new 64-bit unsigned counter. 137 The function is a multiprocessor-friendly version of 142 Returns non-negative value if the rate is not yet reached during the current 171 A read of the oid returns value obtained through 183 A read of the oid returns value obtained through [all …]
|
/freebsd/share/man/man4/ |
H A D | hwpmc.4 | 1 .\" Copyright (c) 2003-2008 Joseph Koshy 39 .Bd -ragged -offset indent 44 .Bd -ragged -offset indent 49 .Bd -literal -offset indent 54 .Bd -ragged -offset indent 62 .Bd -ragged -offset indent 75 The driver supports multi-processor systems. 89 .Bl -tag -width ".Em Process-scope" 90 .It Em "Process-scope" 92 to a process it is attached to is scheduled on a CPU. [all …]
|
H A D | smp.4 | 29 .Nd description of the FreeBSD Symmetric Multi-Processor kernel 35 kernel implements symmetric multi-processor support. 43 the read-only sysctl variable 46 The number of online threads per CPU core is available in the read-only sysctl 49 The number of physical CPU cores detected by the system is available in the 50 read-only sysctl variable 54 allows specific CPUs on a multi-processor system to be disabled. 57 tunable, where X is the APIC ID of a CPU. 58 Setting this tunable to 1 will result in the corresponding CPU being 69 scheduler implements CPU topology detection and adjusts the scheduling [all …]
|
H A D | cpuctl.4 | 1 .\" Copyright (c) 2006-2008 Stanislav Sedov <stas@FreeBSD.org> 35 .Bd -ragged -offset indent 42 .Bd -literal -offset indent 48 presents interface to the system CPU. 50 CPUID information, read/write machine specific registers (MSR) and perform 53 For each CPU present in the system, the special device 66 .Bl -tag -width CPUCTL_CPUID_COUNT 69 Read/write CPU machine specific register. 75 .Bd -literal 77 int msr; /* MSR to read */ [all …]
|
/freebsd/contrib/bearssl/src/x509/ |
H A D | x509_decoder.t0 | 27 …r_x509_decoder_context *)(void *)((unsigned char *)t0ctx - offsetof(br_x509_decoder_context, cpu))) 38 ctx->err = 0; 39 ctx->hbuf = NULL; 40 ctx->hlen = 0; 42 ctx->append_dn = append_dn; 43 ctx->append_dn_ctx = append_dn_ctx; 44 ctx->cpu.dp = &ctx->dp_stack[0]; 45 ctx->cpu.rp = &ctx->rp_stack[0]; 46 br_x509_decoder_init_main(&ctx->cpu); 47 br_x509_decoder_run(&ctx->cpu); [all …]
|
H A D | skey_decoder.t0 | 27 …r_skey_decoder_context *)(void *)((unsigned char *)t0ctx - offsetof(br_skey_decoder_context, cpu))) 35 ctx->cpu.dp = &ctx->dp_stack[0]; 36 ctx->cpu.rp = &ctx->rp_stack[0]; 37 br_skey_decoder_init_main(&ctx->cpu); 38 br_skey_decoder_run(&ctx->cpu); 46 ctx->hbuf = data; 47 ctx->hlen = len; 48 br_skey_decoder_run(&ctx->cpu); 56 cc: read8-low ( -- x ) { 57 if (CTX->hlen == 0) { [all …]
|
/freebsd/usr.sbin/iostat/ |
H A D | iostat.8 | 83 statistics on terminal, device and cpu operations. 95 .Bl -tag -width flag 97 Display CPU statistics. 118 is also specified to enable the display of CPU or TTY statistics. 133 In the old-style blocks transferred display 155 Display old-style 175 .Bl -tag -width indent -compact 177 .Bl -tag -width 9n -compact 187 Write Once Read Multiple devices 207 .Bl -tag -width 9n -compact [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/tremontx/ |
H A D | uncore-other.json | 11 …"BriefDescription": "LLC misses - Uncacheable reads (from cpu) . Derived from unc_cha_tor_inserts.… 23 "BriefDescription": "LLC misses - Uncacheable reads (from cpu) ", 135 "BriefDescription": "read requests from home agent", 313 …"PublicDescription": "Counts when a normal (Non-Isochronous) read is issued to any of the memory c… 318 "BriefDescription": "CHA to iMC Full Line Writes Issued : Full Line Non-ISOCH", 324 …"PublicDescription": "Counts when a normal (Non-Isochronous) full line write is issued from the CH… 329 "BriefDescription": "Cache and Snoop Filter Lookups; Data Read Request", 335 …- this includes code, data, prefetches and hints coming from L2. This has numerous filters availa… 352 "BriefDescription": "Snoop filter capacity evictions for E-state entries.", 363 "BriefDescription": "Snoop filter capacity evictions for M-state entries.", [all …]
|
/freebsd/usr.sbin/sa/ |
H A D | sa.8 | 64 The summary files are normally read before 68 If file names are supplied, they are read instead of 70 After each file is read, if the summary 78 .Bl -tag -width k*sec 83 .It Dv cpu 87 CPU-time averaged core usage, in 1k units 89 CPU storage integral, in 1k-core seconds 103 .Bl -tag -width Ds 130 Do not read in the summary files. 134 If printing command statistics, sort by the cpu-time average memory [all …]
|
/freebsd/lib/libkvm/ |
H A D | kvm_pcpu.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 24 * 3. Neither the name of the author nor the names of any co-contributors 69 * Kernel per-CPU data state. We cache this stuff on the first 72 * XXXRW: Possibly, this (and kvmpcpu_nl) should be per-kvm_t, in case the 91 return (-1); in _kvm_pcpu_init() 93 _kvm_err(kd, kd->program, "unable to find cpuid_to_pcpu"); in _kvm_pcpu_init() 94 return (-1); in _kvm_pcpu_init() 97 _kvm_err(kd, kd->program, "unable to find mp_maxcpus"); in _kvm_pcpu_init() 98 return (-1); in _kvm_pcpu_init() [all …]
|
/freebsd/sys/kern/ |
H A D | subr_smr.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 46 * Fraser, K. 2004. Practical Lock-Freedom. PhD Thesis, University 49 * Wang, Stamler, Parmer. 2016 Parallel Sections: Scaling System-Level 50 * Data-Structures 55 * use-after-free errors with lockless datastructures or as 61 * observed. A shared read sequence number records the lowest 65 * readers by storing an invalid sequence number in the per-cpu 66 * state when the read section exits. Like Parsec we establish 69 * The write and read sequence numbers can be thought of as a two [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/firmware/ |
H A D | nvidia,tegra186-bpmp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/firmware/nvidia,tegra186-bpm [all...] |
/freebsd/lib/libpmc/pmu-events/arch/x86/icelakex/ |
H A D | uncore-other.json | 23 …"BriefDescription": "Local read requests that miss the SF/LLC and are sent to the CHA's home agent… 33 "BriefDescription": "Remote read requests sent to the CHA's home agent", 81 "BriefDescription": "CHA to iMC Full Line Writes Issued : Full Line Non-ISOCH", 101 …"BriefDescription": "Local read requests that miss the SF/LLC and remote read requests sent to the… 121 "BriefDescription": "Snoop filter capacity evictions for E-state entries", 131 "BriefDescription": "Snoop filter capacity evictions for M-state entries", 141 "BriefDescription": "Snoop filter capacity evictions for S-state entries", 588 … "BriefDescription": "TOR Occupancy : DRds issued by iA Cores that Missed the LLC - HOMed locally", 598 …"BriefDescription": "TOR Occupancy : DRds issued by iA Cores that Missed the LLC - HOMed remotely", 608 … "BriefDescription": "TOR Inserts : DRds issued by iA Cores that Missed the LLC - HOMed locally", [all …]
|
/freebsd/lib/libpmc/ |
H A D | pmc.3 | 1 .\" Copyright (c) 2003-2008 Joseph Koshy. All rights reserved. 40 The library is implemented using the lower-level facilities offered by 50 .Bl -bullet 53 These PMCs measure events in a whole-system manner, i.e., independent 57 Non-privileged process are allowed to allocate system scope PMCs if the 61 is non-zero. 65 attached to are executing on a CPU. 72 .Bl -bullet 76 The application needs to explicitly read these counters 79 Sampling PMCs cause the CPU to be periodically interrupted [all …]
|
/freebsd/contrib/bearssl/src/codec/ |
H A D | pemdec.t0 | 27 …(br_pem_decoder_context *)(void *)((unsigned char *)t0ctx - offsetof(br_pem_decoder_context, cpu))) 34 ctx->cpu.dp = &ctx->dp_stack[0]; 35 ctx->cpu.rp = &ctx->rp_stack[0]; 36 br_pem_decoder_init_main(&ctx->cpu); 37 br_pem_decoder_run(&ctx->cpu); 45 if (ctx->event) { 48 ctx->hbuf = data; 49 ctx->hlen = len; 50 br_pem_decoder_run(&ctx->cpu); 51 return len - ctx->hlen; [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/knightslanding/ |
H A D | uncore-memory.json | 3 "BriefDescription": "ddr bandwidth read (CPU traffic only) (MB/sec). ", 8 "ScaleUnit": "6.4e-05MiB", 13 "BriefDescription": "ddr bandwidth write (CPU traffic only) (MB/sec). ", 18 "ScaleUnit": "6.4e-05MiB", 23 "BriefDescription": "mcdram bandwidth read (CPU traffic only) (MB/sec). ", 28 "ScaleUnit": "6.4e-05MiB", 33 "BriefDescription": "mcdram bandwidth write (CPU traffic only) (MB/sec). ", 38 "ScaleUnit": "6.4e-05MiB",
|
/freebsd/sys/dev/hwpmc/ |
H A D | hwpmc_powerpc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 42 #include <machine/cpu.h> 61 void (*powerpc_set_pmc)(int cpu, int ri, int config); 106 powerpc_describe(int cpu, int ri, struct pmc_info *pi, struct pmc **ppmc) in powerpc_describe() argument 110 KASSERT(cpu >= 0 && cpu < pmc_cpu_max(), in powerpc_describe() 111 ("[powerpc,%d], illegal CPU %d", __LINE__, cpu)); in powerpc_describe() 113 phw = &powerpc_pcpu[cpu]->pc_ppcpmcs[ri]; in powerpc_describe() 115 snprintf(pi->pm_name, sizeof(pi->pm_name), "POWERPC-%d", ri); in powerpc_describe() 116 pi->pm_class = powerpc_pcpu[cpu]->pc_class; in powerpc_describe() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/XRay/ |
H A D | RecordInitializer.cpp | 1 //===- FDRRecordProducer.cpp - XRay FDR Mode Record Producer --------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 23 "Cannot read buffer extent at offset %" PRId64 ".", in visit() 26 OffsetPtr += MetadataRecord::kMetadataBodySize - (OffsetPtr - PreReadOffset); in visit() 42 "Cannot read wall clock 'seconds' field at offset %" PRId64 ".", in visit() 50 "Cannot read wall clock 'nanos' field at offset %" PRId64 ".", in visit() 54 assert(OffsetPtr - BeginOffset <= MetadataRecord::kMetadataBodySize); in visit() 55 OffsetPtr += MetadataRecord::kMetadataBodySize - (OffsetPtr - BeginOffset); in visit() 64 "Invalid offset for a new cpu id record (%" PRId64 ").", OffsetPtr); in visit() [all …]
|
/freebsd/usr.bin/top/ |
H A D | top.1 | 6 .Nd display and update information about the top cpu processes 26 Raw cpu percentage is used to rank the processes. 51 .Bl -tag -width indent 59 Non-printable characters in the command line are 60 encoded in C-style backslash sequences or 71 Toggle CPU display mode. 72 By default top displays the weighted CPU percentage in the WCPU column 75 displays as CPU). 79 .Dq raw cpu 81 .Dq weighted cpu [all …]
|
/freebsd/share/man/man7/ |
H A D | mitigations.7 | 1 .\"- 2 .\" SPDX-License-Identifer: BSD-2-Clause 42 Some of these mitigations have run-time controls to enable them on a global 43 or per-process basis, some are optionally enabled or disabled at compile time, 48 .Bl -bullet -compact 58 Relocation Read [all...] |
/freebsd/usr.sbin/cpucontrol/ |
H A D | cpucontrol.8 | 85 utility can be used to read and write arbitrary machine-specific 89 It can also be used to apply CPU firmware updates. 92 .Bl -tag -width indent 97 line, default directories are appended after the user-supplied paths. 137 Apply CPU firmware updates. 141 and apply all firmware updates available for this CPU. 143 Re-evaluate the kernel flags indicating the present CPU features. 149 .Bf -symbolic 162 .Ex -std 166 .Dq Li "cpucontrol -m 0x10 /dev/cpuctl0" [all …]
|
/freebsd/share/man/man4/man4.i386/ |
H A D | perfmon.4 | 33 .Nd CPU performance-monitoring interface 35 .Cd cpu I586_CPU 36 .Cd cpu I686_CPU 41 driver provides access to the internal performance-monitoring 50 (in CPU cycles), as well as a cycle counter which counts clock cycles. 53 driver provides a device-style interface to these capabilities. 55 All access to the performance-monitoring counters is performed through 72 numbers used are the correct ones for the CPU type being measured. 77 .Bl -tag -width PMIOTSTAMP 83 .Bl -tag -width "u_char pmc_eventx" [all …]
|