Commits

Eric Chen  committed b3e4f7b

nothing, just delete useless printf()

  • Participants
  • Parent commits b58060f
  • Branches dev

Comments (0)

Files changed (1)

File src/NCKUAlg/ProgHW5/disjointSetForest_timing.c

 	char aLine[maxCharLength],*numberStr;
 	int number1,number2,timesCmdUExec=0,timesCmdMExec=0,timesCmdFExec=0;
 	cl1=clock();
-	printf("clk1:%d\n",cl1);
 	while (fgets(aLine, sizeof aLine, inputFile) != NULL) //read a line
 	{
 //		printf("Command: %s",aLine);//useless when timing program
 //		printf("\n");//useless when timing program
 //		fprintf(outputFile, "\n");//useless when timing program
 		cl2=clock();
-		printf("clk2:%d\n",cl2);
 		if((cl2-cl1)>UINT_MAX/2){
 			totalTimeSpent+=(cl2-cl1)/(double)CLOCKS_PER_SEC;
 			cl1=cl2;