Searched refs:optCachehit (Results 1 - 3 of 3) sorted by relevance

/darwin-on-arm/xnu/tools/tests/libMicro/apple/
H A Dgetpwnam.c86 static int optCachehit = 100; // specify cache hit rate (% of record re-lookup) variable
122 optCachehit = atoi(optarg);
123 debug("optCachehit = %d\n", optCachehit);
124 if (optCachehit > 100 || optCachehit < 0) {
165 if (optCachehit < 100) {
166 optRecords = (int) ((float) optRecords * ((float) optCachehit / 100));
167 debug("# of records adjusted to %d for cache hit rate %d%%\n", optRecords, optCachehit);
H A Dgetpwuid.c82 static int optCachehit = 100; // specify cache hit rate (% of record re-lookup) variable
140 optCachehit = atoi(optarg);
141 debug("optCachehit = %d\n", optCachehit);
142 if (optCachehit > 100 || optCachehit < 0) {
177 if (optCachehit < 100) {
179 range = (int) ((float) uid_range * ((float) optCachehit / 100));
H A Dod_query_create_with_node.c98 static int optCachehit = 100; // specify cache hit rate (% of record re-lookup) variable
151 optCachehit = atoi(optarg);
152 debug("optCachehit = %d\n", optCachehit);
153 if (optCachehit > 100 || optCachehit < 0) {
195 if (optCachehit < 100) {
196 optRecords = (int) ((float) optRecords * ((float) optCachehit / 100));
197 debug("# of records adjusted to %d for cache hit rate %d%%\n", optRecords, optCachehit);
377 debug("\n\n# of records adjusted to %d for cache hit rate %d%%\n", optRecords, optCachehit);
[all...]

Completed in 21 milliseconds