List of usage examples for android.os Debug startAllocCounting
@Deprecated public static void startAllocCounting()
From source file:com.android.profilerapp.memory.MemoryFragment.java
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); mProfilerHandler = new Handler(); // Deprecated - currently used for detecting when GC happens Debug.startAllocCounting(); }