It is traditional to store counts in variables with more than one
bit of storage.
Also, fixed some of the decorations.
Bug
2863796.
Change-Id: I167d6803e955159e35e75d1e2924754145ea1361
* Dalvik instruction counts (256 entries).
*/
int* executedInstrCounts;
- bool instructionCountEnableCount;
+ int instructionCountEnableCount;
/*
* Signal catcher thread (for SIGQUIT).
/*
* Start instruction counting.
*/
-void dvmStartInstructionCounting()
+void dvmStartInstructionCounting(void)
{
#if defined(WITH_INLINE_PROFILING)
LOGW("Instruction counting not supported with inline profiling");
}
/*
- * Start instruction counting.
+ * Stop instruction counting.
*/
-void dvmStopInstructionCounting()
+void dvmStopInstructionCounting(void)
{
if (gDvm.instructionCountEnableCount == 0) {
LOGE("ERROR: instruction counting not enabled\n");