Lines Matching refs:name
34 const char *name; member
97 const char *name; member
120 for (coll = collections; coll->name; coll++)
124 for (bench = coll->benchmarks; bench && bench->name; bench++)
130 printf("\n # List of available benchmarks for collection '%s':\n\n", coll->name); in dump_benchmarks()
133 printf("%14s: %s\n", bench->name, bench->summary); in dump_benchmarks()
168 printf("%14s: %s\n", coll->name, coll->summary); in print_usage()
193 char *name; in run_bench() local
198 name = zalloc(size); in run_bench()
199 BUG_ON(!name); in run_bench()
201 scnprintf(name, size, "%s-%s", coll_name, bench_name); in run_bench()
203 prctl(PR_SET_NAME, name); in run_bench()
204 argv[0] = name; in run_bench()
208 free(name); in run_bench()
229 printf("# Running %s/%s benchmark...\n", coll->name, bench->name); in run_collection()
231 argv[1] = bench->name; in run_collection()
232 run_bench(coll->name, bench->name, bench->fn, 1, argv); in run_collection()
287 if (strcmp(coll->name, argv[0])) in cmd_bench()
302 if (strcmp(bench->name, argv[1])) in cmd_bench()
306 printf("# Running '%s/%s' benchmark:\n", coll->name, bench->name); in cmd_bench()
307 ret = run_bench(coll->name, bench->name, bench->fn, argc-1, argv+1); in cmd_bench()