performancecounter Questions

3

When I want to generate performance reports using perf-stat and perf-report from the Linux tool suite perf, I run: $ perf record -o my.perf.data myCmd $ perf report -i my.perf.data And: $ perf ...
Seasick asked 25/4, 2012 at 17:53

3

Solved

I'm attempting to read some performance counters from my ASP.NET application. When I do, I get the error "Access to the registry key 'Global' is denied." I have tried following the instructions he...
Blarney asked 25/6, 2013 at 15:39

2

Solved

I'm currently doing this: PerformanceCounter cpuUsage = new PerformanceCounter("Processor", "% Processor Time", "_Total"); cpuUsage.NextValue(); System.Threading.Thread.Sleep(1000); RV = cpuUsage....
Disgraceful asked 30/4, 2014 at 14:55

18

Solved

Using C#, I want to get the total amount of RAM that my computer has. With the PerformanceCounter I can get the amount of Available ram, by setting: counter.CategoryName = "Memory"; counter.Counte...
Avunculate asked 19/9, 2008 at 20:0

18

Solved

Using C#, I want to get the total amount of RAM that my computer has. With the PerformanceCounter I can get the amount of Available ram, by setting: counter.CategoryName = "Memory"; counter.Counte...
Kalimantan asked 19/9, 2008 at 20:0

3

Solved

I have a WCF service that updates the value of two performance counters. The first is defined as NumberOfItems64, and the second as RateOfCountsPerSecond64. When I update their values (I do this se...
Chemist asked 8/8, 2012 at 13:45

5

Solved

Under Windows, performance counters have different names, depending on the operating system language. For example, on an English Windows version, there is the performance counter \Processor(_Total)...
Demarco asked 7/4, 2011 at 13:28

2

Solved

I've got an application that uses performance counters, that has worked for months. Now, on my dev machine and another developers machine, it has started hanging when I call PerformanceCounterCateg...
Waylin asked 17/11, 2010 at 21:31

1

I am trying to determine which hardware counters available on the ARM Cortex A15 processor are the correct ones to use for determining system-wide L2 cache misses. My application here is a kernel...
Vernice asked 23/5, 2018 at 15:10

3

Solved

I'm trying to use a Performance Counter do determine how many bytes my application has sent or received. I followed the suggested solution found here: Calculating Bandwidth, but the instance of my ...
Cheeseburger asked 28/12, 2011 at 9:33

3

Solved

How can I get the CPU and Memory usage of a particular process using the .NET PerformanceCounter class? And also what is the difference between Processor\% Processor Time and Process\% Processor ...
Rm asked 13/1, 2011 at 12:24

4

Solved

I am recording a performance counters frm linux using the command perf record. I want to use the result perf.data as an input to other programming apps. Do you know how shall I read and parse the ...
Pentosan asked 12/8, 2012 at 11:34

0

I have seen some strange behavior for VBA Timer function which suggests it can have sudden changes in output of up to 250 milliseconds, and I would like to understand this since I use it often in m...
Millwater asked 13/8, 2021 at 5:25

2

Solved

I used the following command to extract backtraces leading to user level L3-misses in a simple evince benchmark: sudo perf record -d --call-graph dwarf -c 10000 -e mem_load_uops_retired.l3_miss:up...
Associate asked 2/3, 2020 at 15:1

3

Solved

I am trying to learn how to monitor the network bandwidth usage of a specific application. I am looking at IPv4InterfaceStatistics, but that seems to monitor an NIC card's performance. I'd like to ...
Paving asked 10/12, 2014 at 8:56

5

Solved

I am trying to get the % of total CPU usage to a label1.Caption I've searched and found these: didn't work - http://www.vbforums.com/showthread.php?345723-DELPHI-Get-CPU-Usage not what I need ...
Kalmar asked 6/11, 2015 at 16:16

3

How can I get a process send/receive bytes? the preferred way is doing it with C#. I've searched this a lot and I didn't find any simple solution for this. Some solutions suggested to install the ...
Royroyal asked 10/6, 2013 at 14:25

2

Is there a perf stat equivalent on Mac OS? I would like to do the same thing for a CLI command and googling is not yielding anything.
Caston asked 6/4, 2020 at 21:15

3

Solved

The task is not to gather Performance counters data in my .NET app, but open already prepared binary log files (*.blg)? I know that MS SQL Profiler (.NET app) can parse binary logs.
Type asked 9/12, 2010 at 9:8

2

I am trying to understand how does a branch prediction unit work in a CPU. I have used papi and also linux's perf-events but both of them do not give accurate results (for my case). This is my co...
Mickeymicki asked 17/2, 2020 at 14:51

2

I'm running some experiments around getting highly consistent runtimes for a piece of code. The code I'm currently timing is a pretty arbitrary CPU-bound workload: int cpu_workload_external_O3(){ ...
Prankster asked 16/12, 2019 at 0:26

3

Solved

How can I use System.Diagnostics.PerformanceCounter to track the memory and CPU usage for a process?
Pegmatite asked 5/8, 2010 at 4:43

1

Solved

This is next step of my previous question. I'm creating a C# WinForm Application which will display Network Activity (Bytes Received / Bytes Sent) for a given Process (For Example: Process nam...
Footpound asked 17/9, 2019 at 16:47

1

Solved

I'm creating a C# WinForm Application which will display Network Activity (Bytes Received / Bytes Sent) for a given Process (For Example: Process name 's chrome.exe) and Speed in Megabyte/s generat...
Headwork asked 17/9, 2019 at 11:2

3

By default, GetTickCount and timeGetTime has the same resolution -- 15.625ms, but after I call timeBeginPeriod(1), GetTickCount still updates every 15.625 ms, while timeGetTime does update every 1m...
Hester asked 13/3, 2013 at 11:7

© 2022 - 2025 — McMap. All rights reserved.