Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/perf/collationperf/
Dcollperf.cpp437 int totalKeyLen = 0; in doKeyGen() local
442 totalKeyLen += strlen(gFileLines[line].winSortKey); in doKeyGen()
445 totalKeyLen += strlen(gFileLines[line].icuSortKey); in doKeyGen()
448 totalKeyLen += strlen(gFileLines[line].unixSortKey); in doKeyGen()
453 printf("Key Length / character = %f\n", (float)totalKeyLen / (float)totalChars); in doKeyGen()
455 printf("%f, ", (float)totalKeyLen / (float)totalChars); in doKeyGen()
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DCollationPerformanceTest.java494 long totalKeyLen = 0; in doKeyGen() local
503 totalKeyLen += sortKey.length; in doKeyGen()
514 totalKeyLen += sortKey.length; in doKeyGen()
525 … System.out.println("Key Length / character = " + nf.format(totalKeyLen / (totalChars + 0.0))); in doKeyGen()
529 System.out.println(nf.format(totalKeyLen / (totalChars + 0.0)) + ", "); in doKeyGen()