*** empty log message ***

svn path=/trunk/boinc/; revision=566
This commit is contained in:
Hiram Clawson 2002-11-04 04:13:21 +00:00
parent a20cb99361
commit 6cea8eb6a3
1 changed files with 2 additions and 2 deletions

View File

@ -80,8 +80,8 @@ int check_cache_size(int mem_size) {
fprintf(stderr, "error: check_cache_size: negative mem_size\n"); fprintf(stderr, "error: check_cache_size: negative mem_size\n");
return ERR_NEG; return ERR_NEG;
} }
logStride = (int)(log(STRIDE_MAX/STRIDE_MIN)/log(2.0))+1; logStride = (int)(log((double)(STRIDE_MAX/STRIDE_MIN))/log(2.0))+1;
logCache = (int)(log(CACHE_MAX/CACHE_MIN)/log(2.0))+1; logCache = (int)(log((double)(CACHE_MAX/CACHE_MIN))/log(2.0))+1;
printf("Test will take about %.2f seconds.\n", SECS_PER_RUN*logStride*logCache); printf("Test will take about %.2f seconds.\n", SECS_PER_RUN*logStride*logCache);
results = (double **)malloc(sizeof(double *)*logStride); results = (double **)malloc(sizeof(double *)*logStride);