Hi,

I am reading the some counters' values in a single program with multiple 
threads. The counters are instruction retired and last level cache misses. 
There are three threads, two are programmed to be per-thread self-monitoring 
and one is programmed for system-wide monitoring. All the threads are pinned to 
the same core and reading the same counters' values. 

My question is: Should the sum of a counter's value for the two threads for the 
per-thread session be equal or less than that of the system-wide session? In 
short: what is the relation between the same counter's value for per-thread and 
systems-wide monitoring?

In my case, the system-wide values for both instruction retired and last-level 
cache misses on core 0 are much less than the counters values read by the 
threads in s per-thread session. For the system-side session, I have set only 
the pfp_flag for the pfmlib_input_param_t structure. Do I need to do anything 
else? Am I making any mistakes?

Thanks
Tanima.



      
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to