the dex bytecode is interpreted by the Dalvik VM. Sometimes, this DEX code is just in time compiled to machine code instructions. To know what these are, you will have to hook the JIT infrastructure by modifying dalvik. With the introduction of ART, dex is compiled ahead of time into machine instructions. There is no off the shelf mechanism to obtain power consumption. you may have to use other tools.
This got nothing to do with the kernel. Dalvik modifications belong in the android-platform group. On Wednesday, March 26, 2014 11:29:23 AM UTC-4, Sagar Gandhi wrote: > > how does the .dex file instructions get executed on a processor & how can > i access the instructions that executed on ARM processor. i heard that the > instruction in android executed in blocks & after that how can i calculate > the power per instruction that get executed on ARM. > -- -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel --- You received this message because you are subscribed to the Google Groups "Android Linux Kernel Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-kernel+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.