/**@class android.os.Debug.InstructionCount @extends java.lang.Object API for gathering and querying instruction counts. Example usage: <pre> Debug.InstructionCount icount = new Debug.InstructionCount(); icount.resetAndStart(); [... do lots of stuff ...] if (icount.collect()) { System.out.println("Total instructions executed: " + icount.globalTotal()); System.out.println("Method invocations: " + icount.globalMethodInvocations()); } </pre> @deprecated Instruction counting is no longer supported. */ var InstructionCount = { /**Reset counters and ensure counts are running. Counts may have already been running. @return {Boolean} true if counting was started */ resetAndStart : function( ) {}, /**Collect instruction counts. May or may not stop the counting process. */ collect : function( ) {}, /**Return the total number of instructions executed globally (i.e. in all threads). */ globalTotal : function( ) {}, /**Return the total number of method-invocation instructions executed globally. */ globalMethodInvocations : function( ) {}, };