Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
27 views

I am working on a Raspberry Pi 5 (aarch64). uname -a: Linux rpi5 6.8.0-1036-raspi #40-Ubuntu SMP PREEMPT_DYNAMIC Mon Aug 18 09:50:42 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux I load a kernel module I ...
Gal Kaptsenel's user avatar
1 vote
0 answers
41 views

I use Linux (ubuntu) and C (gcc). I try to get the last level cache references and misses by using rdpmc. For me it's important that it's efficient and due to that I cannot use syscalls. It's okay to ...
Kevin Meier's user avatar
  • 2,634
1 vote
1 answer
227 views

I was looking for an answer but found nothing definitive. How do I interpret the first line in perf report output. It goes like this: Samples: 173M of event 'cache-misses', Event count (approx.): ...
GregTheMadMonk's user avatar
3 votes
0 answers
329 views

I played with various Intel performance counters by directly accessing the Model Specific Registers (MSRs) on a Xeon Skylake chip, and I found some readings about the cache-miss caused stalls like ...
Coulson Liang's user avatar
-2 votes
1 answer
829 views

I have written this simple while I was working with multi-processing. from multiprocessing import Process, cpu_count import time def counter(num): count = 0 while count < num: ...
Yeasin Al Yeasa's user avatar
1 vote
0 answers
58 views

I am trying to pull the Process metrics using Win32_PerfRawData_PerfProc_Process as documented at https://learn.microsoft.com/en-us/previous-versions/aa394323(v=vs.85) From the document, VirtualBytes ...
V SAI MAHIDHAR's user avatar
1 vote
0 answers
98 views

I need to find the Memory Level Paralelism (MLP) or the number of memory request that are concurrently held by Miss Status Handling registers (MSHRs) / Fill buffers at each cache level during a ...
user25076706's user avatar
0 votes
2 answers
851 views

I've encountered an issue with the PDH counter after updating my system from Windows 10 to Windows 11. I have a C++ program that monitors CPU usage and it was working perfectly on the previous version ...
sfaad's user avatar
  • 3
0 votes
0 answers
216 views

I am trying to diagnose low cycles-per-instruction in a small program. Using perf stat -e cycles,stalled-cycles-backend ./myprogram, I see that around 90% backend cycles are idle. Performance counter ...
loonatick's user avatar
  • 1,197
1 vote
0 answers
105 views

I am using the perf tool on Linux with an Intel Xeon E5-1650 v4 processor (Broadwell architecture). For several cache load/miss indicators, perf stat indicates that these are <not supported>: $ ...
TemplateRex's user avatar
  • 70.9k
1 vote
0 answers
323 views

I want to measure specific parts of my code to understand how well they perform. I already found the following: How to get the CPU cycle count in x86_64 from C++? ...which allows me to easily ...
user19179144's user avatar
1 vote
0 answers
213 views

I am trying to install the PAPI library in order to measure the cache misses of other programs. However, apparently there aren't any events available as can be seen in the output of papi_avail : $ ./...
BR8's user avatar
  • 11
2 votes
0 answers
76 views

On Intel the fixed-function performance counters can be read by setting bit 30 of ecx as well the index of the counter to read (0-4) in the bottom bits of that same register. Is something similar ...
BeeOnRope's user avatar
  • 66.3k
3 votes
1 answer
614 views

I wrote a Rust program using windows-sys crate and collecting the performance counter values for query that is being supplied. I use the sample program provided by Microsoft team (here). The program ...
Tushar Saurabh's user avatar
0 votes
1 answer
147 views

I am writing a program to collect Performance Counter. The program is written in Rust and uses the windows crate. Below is the relevant portion of the code. let mut query = 0; PdhOpenQueryW(None, 0, &...
Tushar Saurabh's user avatar
1 vote
1 answer
604 views

We are monitoring a couple of PerformanceCounters every 5 minutes in a Windows-service. Sometimes our code throws: "Error Message: The Counter layout for the Category specified is invalid, a ...
roberth's user avatar
  • 962
5 votes
1 answer
234 views

Windows provides a number of documented APIs relating to the "auxiliary counter" aka "auxiliary performance counter". In user-mode, QueryAuxiliaryCounterFrequency, ...
Simon Kissane's user avatar
1 vote
1 answer
255 views

Been trying to get this work but I just couldn't get the exact solution PerformanceCounter disk = new PerformanceCounter("LogicalDisk", "% Disk Time", @"F:"); //disk....
Dark Knight's user avatar
4 votes
0 answers
416 views

Context I'm writing some high-performance code for ARM64 using NEON SIMD instructions, which I am trying to further optimize. I only use integer operations, no floating-point. This code is fully CPU- ...
swineone's user avatar
  • 3,000
1 vote
1 answer
384 views

We have a WPF app (x64) running on .NET4.8 and we used to print GC/memory related stats onto log periodically using System.Diagnostics.PerformanceCounter. (Using category: ".NET CLR Memory") ...
Nick W's user avatar
  • 55
0 votes
1 answer
177 views

I try to set up a very simple application. The application should display the current CPU Usage. My view: <Grid> <Label Content="{Binding CpuUsage}" /> </Grid&...
Enki's user avatar
  • 59
0 votes
0 answers
159 views

I am trying to understand meaning of various Intel performance monitoring counters and also want to measure load stalls using Intel performance monitoring counters available for RESOURCE_STALLS. The ...
TS_6607's user avatar
  • 31
0 votes
1 answer
143 views

Where can I look for the performance metrics generated by Amazon SageMaker Debugger/Profiler?
juvchan's user avatar
  • 6,263
1 vote
1 answer
288 views

I have the following scenario, I want to get the utilization (Disk Time) per disk in percent. Unfortunately it always returns the value 0 when I switch through the instances, why? Here is my code: ...
HermanChris22's user avatar
0 votes
1 answer
274 views

On Performance Monitor, I was watching a Report of a test I had run, using a Custom Data Collector set. I use Highligh to see the counter I want, but I accidentally clicked on the button next to it, ...
João Rodrigues's user avatar

1
2 3 4 5
22