Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to read CPU cache hit/miss rate in Android?

Is it possible to read CPU cache hit/miss rate in Android?

like image 480
Mohammad Moghimi Avatar asked Mar 11 '11 17:03

Mohammad Moghimi


1 Answers

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

like image 139
J. Taylor Avatar answered Sep 24 '22 18:09

J. Taylor