Re: [perfmon2] Multiplexing counters

2012-04-28 Thread Leonardo Piga
I figure out the problem what the problem is. I am not sure if I can consider it a bug on the syst.c or I was just making wrong assumption about its output. Anyway, I wrote a document explaining the problem and possibles solutions. If it is actually a bug I can send my patch that samples the act

Re: [perfmon2] Multiplexing counters

2012-04-28 Thread stephane eranian
Hi, On Sat, Apr 28, 2012 at 11:00 AM, Leonardo Piga wrote: > I figure out the problem what the problem is. > > I am not sure if I can consider it a bug on the syst.c or I was just > making wrong assumption about its output. > > Anyway, I wrote a document explaining the problem and possibles sol

Re: [perfmon2] Multiplexing counters

2012-04-28 Thread Leonardo Piga
Hi, tr(i) is the value that I would get on the value counter for "run" if the counters were restarted after printing the previous sample (i-1). The same for v(i) the value that I would get on the "raw" counter if the counters were restarted after printing the sample(i-1). The same applies for te