diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2014-11-16 09:20:01 +0000 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2014-11-16 09:29:27 +0000 |
| commit | 30e1749d004f78ff631baab3db93d61396cc9355 (patch) | |
| tree | 2d79272b4283f480179c97b8911149d4b16f51e7 /Source/Core/VideoCommon/CommandProcessor.cpp | |
| parent | b24197f913301dcef1655961da67cc94f278f696 (diff) | |
Implements block time profiling on ARMv7.
This was interesting implementing.
Our generic QueryPerformanceCounter function on ARMv7 was so slow that profiling a block was impossible.
I waited about five minutes and I couldn't even get a single frame to output.
This instead uses ARMv7's PMU to get cycle counts, which are a relatively minor performance drop in my testing.
One disadvantage of this method is that the kernel can lock us out of using these co-processor registers, but it seems to work on my Jetson board.
Another disadvantage is that we aren't having block times in "real" time but cycles instead, not too big of a deal.
This also removes instruction run counts from profiling because that's just annoying and we don't expose an interface for even getting those results
from our UI.
Diffstat (limited to 'Source/Core/VideoCommon/CommandProcessor.cpp')
0 files changed, 0 insertions, 0 deletions
