- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
CPU hardware counter registers provides information about CPU events such as cache miss, hit and etc. This can be done through injecting a simulated code. Assume that, this code is processed by process (A) to collect required information. Is it possible that another process (B) monitor process (A) instead itself? Even if this can be done through kernel will be fine.
- Tags:
- Virtualization
Link kopiert
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
I found this article that may be related to the information that you are looking for: Capturing Performance Counter Data for a Process by Process Id. - Thai
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Thank you Thai, That is really interesting for Microsoft framework. But, I am working in Linux platform in C language. There are libraries like PAPI which can access PHC counters, but not sure if it is able to do that.
Many thanks Thai
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Your welcome. I found some other information that may give you some hints on this research:
- Intel® Performance Counter Monitor - A better way to measure CPU utilization article;
- Intel Performance Processor Counter Monitor on github.
- For questions and comments about Intel PCM and its use-cases, we recommend the Software Tuning, Performance Optimization & Platform Monitoring forum.
-Thai
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Thai,
Thank you for giving me the hints. I've tried pmc and msr (RDMSR and WRMSR instructions).

- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Drucker-Anzeigeseite