Add class init stats to alloc counters (API change).
Add calls to retrieve class initialization stats via the allocation
count mechanism.
Also: deprecate a method that is never used, and a redundantly declared
default filename that begins with "/sdcard".
For bug 2461549.
diff --git a/vm/Profile.h b/vm/Profile.h
index 7cac150..a294f83 100644
--- a/vm/Profile.h
+++ b/vm/Profile.h
@@ -80,6 +80,9 @@
int gcCount; // #of times an allocation triggered a GC
+ int classInitCount; // #of initialized classes
+ u8 classInitTime; // cumulative time spent in class init (nsec)
+
#if PROFILE_EXTERNAL_ALLOCATIONS
int externalAllocCount; // #of calls to dvmTrackExternalAllocation()
int externalAllocSize; // #of bytes passed to ...ExternalAllocation()