From: Vladimir Kondratiev Date: Mon, 16 Jun 2014 16:37:05 +0000 (+0300) Subject: wil6210: Tx performance monitoring X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~210^2~46^2~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c0acf868d2e470c9d6a40091acf8d6444c01b57;p=pandora-kernel.git wil6210: Tx performance monitoring For performance monitoring, trace time intervals when Tx vring is idle/not idle. Use CPU cycle counter for this, because jiffies is too rough, and other precise time measurement methods involve overhead while get_cycles() should be fast. This used to provide some estimation for percentage when Tx vring was idle, i.e. when hardware is under-utilized. Estimation is not precise because of many reasons - CPU frequency scaling, grt_cycles() may be per core etc. But still, it is good estimation Signed-off-by: Vladimir Kondratiev Signed-off-by: John W. Linville --- Reading git-diff-tree failed