Home | History | Annotate | Download | only in threadtest

Lines Matching refs:argnum

226         int argnum = 1;
227 while (argnum < argc)
229 if (strcmp(argv[argnum], "-quiet") == 0)
231 else if (strcmp(argv[argnum], "-verbose") == 0)
233 else if (strcmp(argv[argnum], "--help") == 0 ||
234 (strcmp(argv[argnum], "?") == 0)) {throw 1; }
236 else if (strcmp(argv[argnum], "-threads") == 0)
238 ++argnum;
239 if (argnum >= argc)
241 gRunInfo.numThreads = atoi(argv[argnum]);
245 else if (strcmp(argv[argnum], "-time") == 0)
247 ++argnum;
248 if (argnum >= argc)
250 gRunInfo.totalTime = atoi(argv[argnum]);
254 else if (strcmp(argv[argnum], "-ctime") == 0)
256 ++argnum;
257 if (argnum >= argc)
259 gRunInfo.checkTime = atoi(argv[argnum]);
263 else if (strcmp(argv[argnum], "string") == 0)
267 else if (strcmp(argv[argnum], "convert") == 0)
274 argv[argnum]);
277 argnum++;