Home
last modified time | relevance | path

Searched refs:tg (Results 1 – 25 of 208) sorted by relevance

123456789

/external/ltp/utils/ffsb-6.0-rc2/
Dffsb_tg.c26 void init_ffsb_tg(ffsb_tg_t * tg, unsigned num_threads, unsigned tg_num) in init_ffsb_tg() argument
29 memset(tg, 0, sizeof(ffsb_tg_t)); in init_ffsb_tg()
31 tg->threads = ffsb_malloc(sizeof(ffsb_thread_t) * num_threads); in init_ffsb_tg()
32 tg->tg_num = tg_num; in init_ffsb_tg()
33 tg->num_threads = num_threads; in init_ffsb_tg()
35 tg->bindfs = -1; /* default is not bound */ in init_ffsb_tg()
37 tg->thread_bufsize = 0; in init_ffsb_tg()
39 init_ffsb_thread(tg->threads + i, tg, 0, tg_num, i); in init_ffsb_tg()
42 void destroy_ffsb_tg(ffsb_tg_t * tg) in destroy_ffsb_tg() argument
45 for (i = 0; i < tg->num_threads; i++) in destroy_ffsb_tg()
[all …]
Dffsb_tg.h108 void init_ffsb_tg(ffsb_tg_t *tg, unsigned num_threads, unsigned tg_num);
109 void destroy_ffsb_tg(ffsb_tg_t *tg);
118 ffsb_tg_t *tg; member
135 void tg_print_config(ffsb_tg_t *tg);
136 void tg_print_config_aging(ffsb_tg_t *tg, char *fsname);
139 void tg_collect_results(ffsb_tg_t *tg, ffsb_op_results_t *res);
142 void tg_collect_stats(ffsb_tg_t *tg, ffsb_statsd_t *totals);
146 void tg_set_statsc(ffsb_tg_t *tg, ffsb_statsc_t *fsc);
148 void tg_set_bindfs(ffsb_tg_t *tg, int fsnum);
149 int tg_get_bindfs(ffsb_tg_t *tg);
[all …]
Dffsb_thread.c23 void init_ffsb_thread(ffsb_thread_t * ft, struct ffsb_tg *tg, unsigned bufsize, in init_ffsb_thread() argument
28 ft->tg = tg; in init_ffsb_thread()
55 unsigned wait_time = tg_get_waittime(ft->tg); in ft_run()
56 int stopval = tg_get_stopval(ft->tg); in ft_run()
58 ffsb_barrier_wait(tg_get_start_barrier(ft->tg)); in ft_run()
60 while (tg_get_flagval(ft->tg) != stopval) { in ft_run()
61 tg_get_op(ft->tg, &ft->rd, &params); in ft_run()
83 return tg_get_read_random(ft->tg); in ft_get_read_random()
88 return tg_get_read_size(ft->tg); in ft_get_read_size()
93 return tg_get_read_blocksize(ft->tg); in ft_get_read_blocksize()
[all …]
Dparser.c617 void set_weight(ffsb_tg_t * tg, config_options_t * config) in set_weight() argument
629 tg_set_op_weight(tg, op, in set_weight()
638 int get_weight_total(ffsb_tg_t * tg) in get_weight_total() argument
651 total += tg_get_op_weight(tg, op); in get_weight_total()
666 static int verify_tg(ffsb_tg_t * tg) in verify_tg() argument
668 uint32_t read_weight = tg_get_op_weight(tg, "read"); in verify_tg()
669 uint32_t readall_weight = tg_get_op_weight(tg, "readall"); in verify_tg()
670 uint32_t write_weight = tg_get_op_weight(tg, "write"); in verify_tg()
671 uint32_t create_weight = tg_get_op_weight(tg, "create"); in verify_tg()
672 uint32_t append_weight = tg_get_op_weight(tg, "append"); in verify_tg()
[all …]
Dmain.c148 params[i].tg = &fc.groups[i]; in main()
189 ffsb_tg_t *tg = fc.groups + i; in main() local
194 tg_collect_results(tg, &tg_results); in main()
204 if (tg_needs_stats(tg)) { in main()
206 tg_collect_stats(tg, &fsd); in main()
Dffsb_fc.c47 void init_ffsb_config_1fs(ffsb_config_t * fc, ffsb_fs_t * fs, ffsb_tg_t * tg) in init_ffsb_config_1fs() argument
51 fc->num_totalthreads = tg_get_numthreads(tg); in init_ffsb_config_1fs()
55 fc->groups = tg; in init_ffsb_config_1fs()
Dffsb_fs.c385 ffsb_tg_t *tg = fs_get_aging_tg(fs); in age_fs() local
391 ffsb_barrier_init(&barrier, tg_get_numthreads(tg)); in age_fs()
393 init_ffsb_config_1fs(&fc, fs, tg); in age_fs()
398 params.tg = tg; in age_fs()
519 void fs_set_aging_tg(ffsb_fs_t * fs, struct ffsb_tg *tg, double util) in fs_set_aging_tg() argument
521 fs->aging_tg = tg; in fs_set_aging_tg()
Dffsb.h85 struct ffsb_tg *tg);
Dffsb_thread.h46 struct ffsb_tg *tg; /* owning thread group */ member
/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate_generic.c584 static ALWAYS_INLINE void PIPE_CDECL generic_run_one( struct translate_generic *tg, in generic_run_one() argument
590 unsigned nr_attrs = tg->nr_attrib; in generic_run_one()
595 uint8_t *dst = (uint8_t *)vert + tg->attrib[attr].output_offset; in generic_run_one()
597 if (tg->attrib[attr].type == TRANSLATE_ELEMENT_NORMAL) { in generic_run_one()
602 if (tg->attrib[attr].instance_divisor) { in generic_run_one()
604 index += (instance_id / tg->attrib[attr].instance_divisor); in generic_run_one()
613 index = MIN2(index, tg->attrib[attr].max_index); in generic_run_one()
616 src = tg->attrib[attr].input_ptr + in generic_run_one()
617 (ptrdiff_t)tg->attrib[attr].input_stride * index; in generic_run_one()
619 copy_size = tg->attrib[attr].copy_size; in generic_run_one()
[all …]
/external/clang/utils/
DFuzzTest72 def __init__(self, tg, test): argument
73 self.tg = tg
81 name,data = self.tg.inputs[i]
95 name,data = self.tg.inputs[i]
114 file_data = test_application.tg.inputs[test[3][0]][1]
319 tg = TestGenerator(input_files, opts.enable_delete, opts.enable_insert,
322 print '%s: note: %d input bytes.' % (sys.argv[0], tg.num_positions)
323 print '%s: note: %d total tests.' % (sys.argv[0], tg.num_tests)
328 itertools.repeat(tg.num_tests, opts.max_tests))
330 it = itertools.imap(random.randrange, itertools.repeat(tg.num_tests))
[all …]
/external/llvm/test/MC/Sparc/
Dsparc-v9-traps.s45 ! CHECK: tg %icc, %i5 ! encoding: [0x95,0xd0,0x00,0x1d]
46 ! CHECK: tg %icc, 82 ! encoding: [0x95,0xd0,0x20,0x52]
47 ! CHECK: tg %icc, %g1 + %i2 ! encoding: [0x95,0xd0,0x40,0x1a]
48 ! CHECK: tg %icc, %i5 + 41 ! encoding: [0x95,0xd7,0x60,0x29]
49 tg %icc, %i5
50 tg %icc, 82
51 tg %icc, %g1 + %i2
52 tg %icc, %i5 + 41
196 ! CHECK: tg %xcc, %i5 ! encoding: [0x95,0xd0,0x10,0x1d]
197 ! CHECK: tg %xcc, 82 ! encoding: [0x95,0xd0,0x30,0x52]
[all …]
Dsparc-traps.s45 ! CHECK: tg %i5 ! encoding: [0x95,0xd0,0x00,0x1d]
46 ! CHECK: tg 82 ! encoding: [0x95,0xd0,0x20,0x52]
47 ! CHECK: tg %g1 + %i2 ! encoding: [0x95,0xd0,0x40,0x1a]
48 ! CHECK: tg %i5 + 41 ! encoding: [0x95,0xd7,0x60,0x29]
49 tg %i5
50 tg 82
51 tg %g1 + %i2
52 tg %i5 + 41
/external/clang/test/TableGen/
Dtg-fixits.td7 // CHECK: tg-fixits.td:[[@LINE-1]]:41: error: group 'name' is referred to anonymously
14 // CHECK: tg-fixits.td:[[@LINE-2]]:36: error: group 'name' is referred to anonymously
21 // CHECK: tg-fixits.td:[[@LINE-1]]:3: error: group 'name' is referred to anonymously
29 // CHECK: tg-fixits.td:[[@LINE-1]]:11: error: group 'name' is referred to anonymously
39 // CHECK: tg-fixits.td:[[@LINE-1]]:51: error: group 'name' is referred to anonymously
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DTimer.h93 Timer(StringRef N, TimerGroup &tg) : TG(0) { init(N, tg); } in Timer() argument
106 void init(StringRef N, TimerGroup &tg);
/external/llvm/include/llvm/Support/
DTimer.h89 Timer(StringRef N, TimerGroup &tg) : TG(nullptr) { init(N, tg); } in Timer() argument
102 void init(StringRef N, TimerGroup &tg);
/external/toolchain-utils/cros_utils/
Dtabulator_test.py82 tg = tabulator.TableGenerator(runs, labels)
83 table = tg.GetTable()
96 table = tg.GetTable()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DTimer.h91 Timer(StringRef Name, StringRef Description, TimerGroup &tg) { in Timer() argument
92 init(Name, Description, tg); in Timer()
106 void init(StringRef Name, StringRef Description, TimerGroup &tg);
/external/llvm/utils/llvm-build/llvmbuild/
Dmain.py332 tg = c.get_parent_target_group()
333 if tg and not tg.enabled:
524 tg = ci.get_parent_target_group()
525 if tg and not tg.enabled:
/external/clang/test/Sema/
Dfp16-sema.c11 typedef void(*tg) (__fp16*); typedef
/external/llvm/test/MC/Disassembler/Sparc/
Dsparc-v9.txt27 # CHECK: tg %icc, %i5 + 41
84 # CHECK: tg %xcc, %i5 + 41
/external/icu/icu4c/source/data/lang/
Dfa_AF.txt30 tg{"تاجکی"}
Dps.txt40 tg{"تاجکي"}
/external/mksh/
Dmkshrc_vendor2 # Thorsten Glaser <tg@mirbsd.org>
Dmkshrc2 # Thorsten Glaser <tg@mirbsd.org>

123456789