diff options
author | Huang Shijie <[email protected]> | 2012-09-13 14:58:00 +0800 |
---|---|---|
committer | David Woodhouse <[email protected]> | 2012-09-29 15:56:45 +0100 |
commit | 9c95f11b9e743aa6134134a6dcf866a9d5661972 (patch) | |
tree | 2dcaf4c49693f03d6855136c77b8234072cb024c /tools/perf/util/trace-event-scripting.c | |
parent | 995fbbf563fcec058a1135bdd112ac969c817e65 (diff) |
mtd: gpmi: initialize the timing registers only one time
The current code initializes the timing registers at very time
we call the gpmi_begin(). This really wastes the cpu cycles.
Add a new flag to let the gpmi driver initializes the timing registers
only one time.
Signed-off-by: Huang Shijie <[email protected]>
Signed-off-by: Artem Bityutskiy <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions