diff options
author | Tony Lin <tony.lin@freescale.com> | 2011-01-11 18:01:03 +0800 |
---|---|---|
committer | Alan Tull <alan.tull@freescale.com> | 2011-02-03 16:43:57 -0600 |
commit | c8d1b563e333b50938c3a904f45cfc1100e69a37 (patch) | |
tree | e0049198e6f1849e8c218b693db1a48d0e5fccd1 /crypto/deflate.c | |
parent | c8d17a24a501c578d24fd3fcdf071f0fa4b6aee9 (diff) |
ENGR00137979-3 add performance monitor driver
add performance monitor driver.
sample:
cd /sys/devices/platform/mxs-perfmon.0/
'echo 1 > MIDn-xxx' to enable monitor this channel
n: channel number; xxx: name of channel (PXP, LCD...)
you can enable the multiple channels you want to
monitor respectively using this command.
use following command to check the channel is enabled
'cat MIDn-xxx'
1: enable; 0: disable
'echo read > Monitor' to monitor all read activities
'echo start > Monitor' to start monitoring
'echo fetch > Monitor' to get a snapshot of monitor statistics.
'cat xxx_Count' to show the statistics.
xxx: name of statistics, (Data, Transfer, Latency...)
'echo clear > Monitor' to clear snapshot of monitor statistics.
'echo stop > Monitor' to stop monitoring
Signed-off-by: Tony Lin <tony.lin@freescale.com>
Diffstat (limited to 'crypto/deflate.c')
0 files changed, 0 insertions, 0 deletions