Joke Collection Website - Public benefit messages - The difference between ddms and android test tool apt.

The difference between ddms and android test tool apt.

APT is an eclipse plug-in, which can monitor the CPU and memory data curves of multiple applications on Android phones in real time and save the data. In addition, it also supports automatic memory snapshot, PMAP file analysis and so on. It is convenient for developers to self-test or testers to complete performance tests and quickly find product problems.

Function:

Support multi-process CPU testing, provide top and dumpsys cpuinfo.

Support multi-process memory test, support 9 memory types. During the test, the memory type curve to be displayed can be dynamically adjusted.

Support automatic memory snapshot.

Support PMAP memory analysis and comparison.

DDMS is an Android debugging tool, which provides screen shots, thread and heap information, logcat, process, broadcast status information, simulated incoming calls and short messages, virtual geographic coordinates and so on.

Every Android application runs in a Dalvik virtual machine instance, and each virtual machine instance is an independent process space. The threading mechanism, memory allocation and management, mutual exclusion and so on of the virtual machine are all realized by the underlying operating system. All Android application threads correspond to a Linux thread, so the virtual machine can rely more on the thread scheduling and management mechanism of the operating system. DDMS acts as an intermediary between IDE and devices or simulators.

After DDMS is started, equipment monitoring service will be established between DDMS and ADB to monitor equipment. When a device is disconnected or connected, the service will notify DDMS.

After the devices are linked, a virtual machine monitoring service will be established between DDSM and ADB to monitor the virtual machines on the devices.

Establish a link with the virtual machine debugger on the device through ADB Deamon, so that DDMS can start a dialogue with the virtual machine.