Using Qualcomm DMA-BUF can achieve zero-copy memory conversion between CPU/GPU, and in general case, DMA-BUF is faster than traditional memory allocation, which saves time and…
Leave a CommentTag: Android
A good software needs to save memory usage. To do this, we first need to find out where the most memory is being used.This post…
Leave a CommentVScode is a cross-platform code editor launched by Microsoft with powerful functions and rich plug-ins. Using VSCode can greatly improve our development efficiency.This article introduces…
Leave a CommentGeneral commands Connect operation adb kill-server #Close the adb serviceadb start-server #Start adb serviceadb tcpip 5555 #Bind port of 5555 to wait client’s connectionadb connect…
Leave a CommentBasic command Qualcomm Following command is used to query GPU busy ratio on Qualcomm SOC. MTK Following command is used to query GPU idle ratio…
Leave a CommentUsing following codes to find out current focus APP: Then outputs: Now, We can see that com.hihonor.deskclock is the current focus APP in this case.
Leave a CommentFinding active APPs Killing single APP Killing all active APPs
Leave a CommentUsing following command to get GPU information for Andorid. Then, outputs: This method has been tested on Qualcomm & MTK SOC.
Leave a CommentWhen testing APP performance, we need to simulate the user’s operating environment which usually open multiple APPs at the same time. Using following code to…
Leave a CommentUsing following codes to detect the current active APPs The We get following outputs : Listed above are the active APPs.
Leave a Comment