* Global variables for Recovery stats
**************************************/
int numRecovery=0;
-unsigned int deadMachine[8]={0,0,0,0,0,0,0,0};
-unsigned double elapsedTime[8] ={0,0,0,0,0,0,0,0};
+unsigned int deadMachine[8] ={ 0,0,0,0,0,0,0,0};
+double elapsedTime[8] = {0,0,0,0,0,0,0,0};
#endif
#endif
extern int numRecovery;
extern unsigned int deadMachine[8];
extern unsigned int sizeOfRedupedData[8];
- extern double elapsedtime[8];
+ extern double elapsedTime[8];
#endif
#else
void CALL11(___System______exit____I,int ___status___, int ___status___) {
#ifdef RECOVERYSTATS
- for(int i=0; i < numRecovery; i++) {
- printf("Dead Machine = %s\n",midtoIPString(deadThread[i]));
- printf("sizeOfRedupedData = %u\n",sizeOfRedupedData[i]);
+ int i=0;
+ for(i=0; i < numRecovery; i++) {
+ printf("Dead Machine = %s\n",midtoIPString(deadMachine[i]));
printf("Elapsed Time = %.2f\n",elapsedTime[i]);
}
#endif