Harald Servat <harald.ser...@bsc.es> writes:
>
>   $ perf mem -t store record -c 10000 ./a.out
>   ...
>   [perf record: Woken up 4 times to write data]
>   [perf record: Captured and wrote 0.921 MB perf.data (~40247 samples)]
>
>   Notice that the number of samples raised by 20x, which to me seems
> very odd because the number of stores was half, so I expected 0.5x
> here. Or am I supposing this the wrong way?

Likely you're throttling. 10k is a far too low period for such 
measurements

(The cpu can do multiple stores per cycle and it runs at multiple
Ghz. Each PMI takes many thousands of cycles. You can do the math.)

-Andi

-- 
a...@linux.intel.com -- Speaking for myself only
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to