Is it possible to read CPU cache hit/miss rate in Android?
Is it possible to read CPU开发者_开发问答 cache hit/miss rate in Android?
According to the developer docs, you can use android.os.Debug.startNativeTracing() to get information about cache misses, if you are running the kernel in qemu.
This page is not very organized, but there is an excellent section on using startNativeTracing() that you should take a look at if you're having trouble figuring it out: http://www.seangri-la.com/cgi-bin/moin.cgi/Android_Development
精彩评论