Commits

Hans-Nikolai Viessmann committed 74e7bfd

Fixed a silly problem

In the output, I forgot to set the actual upper value, thus all the
data is *almost* meaningless...

  • Participants
  • Parent commits e88adfa

Comments (0)

Files changed (4)

-NUMT=4
+NUMT=1
 HASKBIN=TotientRange.hs.out
-SACBIN=TotientRange.sac.mt.out
+SACBIN=TotientRange.sac.out
 
 all: $(HASKBIN) $(SACBIN)
 

cw2/TotientRange.hs

             result = sumTotient lower upper
           end <- result `deepseq` getCurrentTime
 
-          printf "%.6f %u %u\n" (realToFrac (diffUTCTime end start) :: Double) result numCapabilities
+          printf "%.6f %d %d %u\n" (realToFrac (diffUTCTime end start) :: Double) upper result numCapabilities

cw2/TotientRange.sac

         end(interval);
 
         time = benchRes(interval);
-        printf("%f %.f %s\n", time, result, threads);
+        printf("%f %d %.f %s\n", time, upper, result, threads);
     }
     return(status);
 }

cw2/TotientRange_thr

Binary file removed.