Lines Matching full:specs
50 * When specifying stat specs in comparison mode, user can use one of the
234 static int parse_stats(const char *stats_str, struct stat_specs *specs);
753 static int parse_stat(const char *stat_name, struct stat_specs *specs) in parse_stat() argument
760 if (specs->spec_cnt >= ARRAY_SIZE(specs->ids)) { in parse_stat()
761 fprintf(stderr, "Can't specify more than %zd stats\n", ARRAY_SIZE(specs->ids)); in parse_stat()
776 specs->ids[specs->spec_cnt] = id; in parse_stat()
777 specs->variants[specs->spec_cnt] = var; in parse_stat()
778 specs->asc[specs->spec_cnt] = has_order ? is_asc : stat_defs[id].asc_by_default; in parse_stat()
779 specs->abs[specs->spec_cnt] = is_abs; in parse_stat()
780 specs->spec_cnt++; in parse_stat()
785 static int parse_stats(const char *stats_str, struct stat_specs *specs) in parse_stats() argument
795 err = parse_stat(next, specs); in parse_stats()
1478 static int parse_stats_csv(const char *filename, struct stat_specs *specs, in parse_stats_csv() argument
1519 err = parse_stat(next, specs); in parse_stats_csv()
1526 if (col >= specs->spec_cnt) { in parse_stats_csv()
1532 err = parse_stat_value(next, specs->ids[col], st); in parse_stats_csv()
1543 if (col < specs->spec_cnt) { in parse_stats_csv()
2084 struct stat_specs specs = {}; in handle_replay_mode() local
2093 err = parse_stats_csv(env.filenames[0], &specs, in handle_replay_mode()