Home
last modified time | relevance | path

Searched refs:SIEVE_SIZE (Results 1 – 1 of 1) sorted by relevance

/external/icu/icu4c/source/test/perf/howExpensiveIs/
Dsieve.cpp23 #define SIEVE_SIZE U_LOTS_OF_TIMES /* standardized size */ in uprv_calcSieveTime() macro
25 #define SIEVE_SIZE <something_smaller> in uprv_calcSieveTime()
30 char sieve[SIEVE_SIZE]; in uprv_calcSieveTime()
35 for(int j=0;j<SIEVE_SIZE;j++) { in uprv_calcSieveTime()
43 printf("init %d: %.9f\n", SIEVE_SIZE,utimer_getDeltaSeconds(&a,&b)); in uprv_calcSieveTime()
47 for(i=2;i<SIEVE_SIZE/2;i++) { in uprv_calcSieveTime()
48 for(k=i*2;k<SIEVE_SIZE;k+=i) { in uprv_calcSieveTime()
54 printf("sieve %d: %.9f\n", SIEVE_SIZE,utimer_getDeltaSeconds(&a,&b)); in uprv_calcSieveTime()
58 for(i=2;i<SIEVE_SIZE && k<SIEVE_PRINT;i++) { in uprv_calcSieveTime()
68 for(i=0;i<SIEVE_SIZE;i++) { in uprv_calcSieveTime()