mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=566
This commit is contained in:
parent
a20cb99361
commit
6cea8eb6a3
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue