Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/perf/collationperf/
Dcollperf.cpp793 int *numKeysOfSize = new int[maxLen+1]; in doKeyHist() local
796 numKeysOfSize[i] = 0; in doKeyHist()
803 numKeysOfSize[len] += 1; in doKeyHist()
809 if (numKeysOfSize[i] > 0) { in doKeyHist()
810 printf("%d, %f, %f\n", i, (float)accumulatedLen[i] / (float)numKeysOfSize[i], in doKeyHist()
811 (float)accumulatedLen[i] / (float)(numKeysOfSize[i] * i)); in doKeyHist()
815 delete []numKeysOfSize ; in doKeyHist()
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DCollationPerformanceTest.java558 int[] numKeysOfSize = new int[maxLen + 1]; in doKeyHist() local
564 numKeysOfSize[len] += 1; in doKeyHist()
570 if (numKeysOfSize[i] > 0) { in doKeyHist()
571 … System.out.println(i + ", " + nf.format(accumulatedLen[i] / (numKeysOfSize[i]+ 0.0)) + ", " in doKeyHist()
572 + nf.format(accumulatedLen[i] / (numKeysOfSize[i] * i + 0.0))); in doKeyHist()