Searched refs:tg (Results 1 - 25 of 45) sorted by relevance

12

/external/ltp/utils/ffsb-6.0-rc2/
H A Dffsb_tg.c26 void init_ffsb_tg(ffsb_tg_t * tg, unsigned num_threads, unsigned tg_num) argument
29 memset(tg, 0, sizeof(ffsb_tg_t));
31 tg->threads = ffsb_malloc(sizeof(ffsb_thread_t) * num_threads);
32 tg->tg_num = tg_num;
33 tg->num_threads = num_threads;
35 tg->bindfs = -1; /* default is not bound */
37 tg->thread_bufsize = 0;
39 init_ffsb_thread(tg->threads + i, tg, 0, tg_num, i);
42 void destroy_ffsb_tg(ffsb_tg_t * tg) argument
55 ffsb_tg_t *tg = params->tg; local
98 tg_get_op(ffsb_tg_t * tg, randdata_t * rd, tg_op_params_t * params) argument
124 tg_set_op_weight(ffsb_tg_t * tg, char *opname, unsigned weight) argument
131 tg_get_op_weight(ffsb_tg_t * tg, char *opname) argument
138 tg_set_bindfs(ffsb_tg_t * tg, int fsnum) argument
143 tg_get_bindfs(ffsb_tg_t * tg) argument
148 tg_get_numthreads(ffsb_tg_t * tg) argument
153 update_bufsize(ffsb_tg_t * tg) argument
163 tg_set_read_random(ffsb_tg_t * tg, int rr) argument
168 tg_set_write_random(ffsb_tg_t * tg, int wr) argument
173 tg_set_fsync_file(ffsb_tg_t * tg, int fsync) argument
178 tg_set_read_size(ffsb_tg_t * tg, uint64_t rs) argument
183 tg_set_read_blocksize(ffsb_tg_t * tg, uint32_t rs) argument
189 tg_set_read_skip(ffsb_tg_t * tg, int rs) argument
194 tg_set_read_skipsize(ffsb_tg_t * tg, uint32_t rs) argument
199 tg_set_write_size(ffsb_tg_t * tg, uint64_t ws) argument
204 tg_set_write_blocksize(ffsb_tg_t * tg, uint32_t ws) argument
210 tg_get_read_random(ffsb_tg_t * tg) argument
215 tg_get_write_random(ffsb_tg_t * tg) argument
220 tg_get_fsync_file(ffsb_tg_t * tg) argument
225 tg_get_read_size(ffsb_tg_t * tg) argument
230 tg_get_read_blocksize(ffsb_tg_t * tg) argument
235 tg_get_read_skip(ffsb_tg_t * tg) argument
240 tg_get_read_skipsize(ffsb_tg_t * tg) argument
245 tg_get_write_size(ffsb_tg_t * tg) argument
250 tg_get_write_blocksize(ffsb_tg_t * tg) argument
255 tg_get_stopval(ffsb_tg_t * tg) argument
260 tg_get_start_barrier(ffsb_tg_t * tg) argument
265 tg_print_config_helper(ffsb_tg_t * tg) argument
306 tg_print_config(ffsb_tg_t * tg) argument
313 tg_print_config_aging(ffsb_tg_t * tg, char *fsname) argument
320 tg_collect_results(ffsb_tg_t * tg, ffsb_op_results_t * r) argument
327 tg_set_waittime(ffsb_tg_t * tg, unsigned time) argument
332 tg_get_waittime(ffsb_tg_t * tg) argument
337 tg_get_flagval(ffsb_tg_t * tg) argument
342 tg_set_statsc(ffsb_tg_t * tg, ffsb_statsc_t * fsc) argument
355 tg_collect_stats(ffsb_tg_t * tg, ffsb_statsd_t * fsd) argument
366 tg_needs_stats(ffsb_tg_t * tg) argument
[all...]
H A Dffsb_tg.h105 /* Init should be the very first thing called on the tg. After that,
108 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 in struct:tg_run_params
135 void tg_print_config(ffsb_tg_t *tg);
136 void tg_print_config_aging(ffsb_tg_t *tg, char *fsname);
138 /* Adds all of this tg's results to res */
139 void tg_collect_results(ffsb_tg_t *tg, ffsb_op_results_t *res);
141 /* Adds up all this tg's stats to totals */
142 void tg_collect_stats(ffsb_tg_t *tg, ffsb_statsd_
[all...]
H A Dffsb_thread.c23 void init_ffsb_thread(ffsb_thread_t * ft, struct ffsb_tg *tg, unsigned bufsize, argument
28 ft->tg = tg;
55 unsigned wait_time = tg_get_waittime(ft->tg);
56 int stopval = tg_get_stopval(ft->tg);
58 ffsb_barrier_wait(tg_get_start_barrier(ft->tg));
60 while (tg_get_flagval(ft->tg) != stopval) {
61 tg_get_op(ft->tg, &ft->rd, &params);
83 return tg_get_read_random(ft->tg);
88 return tg_get_read_size(ft->tg);
[all...]
H A Dparser.c617 void set_weight(ffsb_tg_t * tg, config_options_t * config) argument
629 tg_set_op_weight(tg, op,
638 int get_weight_total(ffsb_tg_t * tg) argument
651 total += tg_get_op_weight(tg, op);
662 /* require tg->read_blocksize: read, readall */
663 /* require tg->write_blocksize: write, create, append, rewritefsync */
666 static int verify_tg(ffsb_tg_t * tg) argument
668 uint32_t read_weight = tg_get_op_weight(tg, "read");
669 uint32_t readall_weight = tg_get_op_weight(tg, "readall");
670 uint32_t write_weight = tg_get_op_weight(tg, "writ
744 container_t *tg = profile_conf->tg_container; local
809 init_threadgroup(ffsb_config_t * fc, config_options_t * config, ffsb_tg_t * tg, int tg_num) argument
[all...]
H A Dffsb_fc.c47 void init_ffsb_config_1fs(ffsb_config_t * fc, ffsb_fs_t * fs, ffsb_tg_t * tg) argument
51 fc->num_totalthreads = tg_get_numthreads(tg);
55 fc->groups = tg;
H A Dmain.c148 params[i].tg = &fc.groups[i];
162 ffsb_barrier_wait(&tg_barrier); /* sync with tg's to start */
189 ffsb_tg_t *tg = fc.groups + i; local
193 /* Grab the individual tg results */
194 tg_collect_results(tg, &tg_results);
204 if (tg_needs_stats(tg)) {
206 tg_collect_stats(tg, &fsd);
211 /* Add the tg results to the total */
H A Dffsb.h82 * used by fs-aging code to build a fake config for the aging tg
85 struct ffsb_tg *tg);
H A Dffsb_thread.h46 struct ffsb_tg *tg; /* owning thread group */ member in struct:ffsb_thread
70 * pthread_create() is called by tg with this function as a parameter
H A Dffsb_fs.c385 ffsb_tg_t *tg = fs_get_aging_tg(fs); local
391 ffsb_barrier_init(&barrier, tg_get_numthreads(tg));
393 init_ffsb_config_1fs(&fc, fs, tg);
398 params.tg = tg;
519 void fs_set_aging_tg(ffsb_fs_t * fs, struct ffsb_tg *tg, double util) argument
521 fs->aging_tg = tg;
/external/clang/test/Sema/
H A Dfp16-sema.c11 typedef void(*tg) (__fp16*); typedef
/external/mesa3d/src/gallium/auxiliary/translate/
H A Dtranslate_generic.c584 static ALWAYS_INLINE void PIPE_CDECL generic_run_one( struct translate_generic *tg, argument
590 unsigned nr_attrs = tg->nr_attrib;
595 uint8_t *dst = (uint8_t *)vert + tg->attrib[attr].output_offset;
597 if (tg->attrib[attr].type == TRANSLATE_ELEMENT_NORMAL) {
602 if (tg->attrib[attr].instance_divisor) {
604 index += (instance_id / tg->attrib[attr].instance_divisor);
613 index = MIN2(index, tg->attrib[attr].max_index);
616 src = tg->attrib[attr].input_ptr +
617 (ptrdiff_t)tg->attrib[attr].input_stride * index;
619 copy_size = tg
659 struct translate_generic *tg = translate_generic(translate); local
676 struct translate_generic *tg = translate_generic(translate); local
693 struct translate_generic *tg = translate_generic(translate); local
710 struct translate_generic *tg = translate_generic(translate); local
728 struct translate_generic *tg = translate_generic(translate); local
772 struct translate_generic *tg = CALLOC_STRUCT(translate_generic); local
[all...]
/external/clang/utils/
H A DFuzzTest72 def __init__(self, tg, test):
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
[all...]
/external/llvm/include/llvm/Support/
H A DTimer.h89 Timer(StringRef N, TimerGroup &tg) : TG(nullptr) { init(N, tg); } argument
102 void init(StringRef N, TimerGroup &tg);
/external/swiftshader/third_party/LLVM/include/llvm/Support/
H A DTimer.h93 Timer(StringRef N, TimerGroup &tg) : TG(0) { init(N, tg); } argument
106 void init(StringRef N, TimerGroup &tg);
/external/toolchain-utils/cros_utils/
H A Dtabulator_test.py82 tg = tabulator.TableGenerator(runs, labels)
83 table = tg.GetTable()
96 table = tg.GetTable()
/external/llvm/test/MC/Sparc/
H A 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
[all...]
H A 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/libxcam/cl_kernel/
H A Dkernel_yuv_pipe.cl14 float tg = v / u;
15 unsigned int se = tg > 1.f ? (tg > 2.f ? 3 : 2) : (tg > 0.5f ? 1 : 0);
16 unsigned int so = tg > -1.f ? (tg > -0.5f ? 3 : 2) : (tg > -2.f ? 1 : 0);
17 return tg > 0 ? (u > 0 ? se : (se + 8)) : (u > 0 ? (so + 12) : (so + 4));
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DTimer.h91 Timer(StringRef Name, StringRef Description, TimerGroup &tg) { argument
92 init(Name, Description, tg);
106 void init(StringRef Name, StringRef Description, TimerGroup &tg);
/external/llvm/lib/Support/
H A DTimer.cpp102 void Timer::init(StringRef N, TimerGroup &tg) { argument
106 TG = &tg;
/external/swiftshader/third_party/LLVM/lib/Support/
H A DTimer.cpp111 void Timer::init(StringRef N, TimerGroup &tg) { argument
115 TG = &tg;
/external/llvm/utils/llvm-build/llvmbuild/
H A 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/swiftshader/third_party/llvm-subzero/lib/Support/
H A DTimer.cpp101 void Timer::init(StringRef Name, StringRef Description, TimerGroup &tg) { argument
106 TG = &tg;
/external/vulkan-validation-layers/scripts/
H A Dvk_validation_stats.py249 for tg in test_group_name:
250 self.test_trigger_txt_list.append('TEST_F(%s' % tg)
/external/toolchain-utils/crosperf/
H A Dresults_report.py210 tg = TableGenerator(
214 table = tg.GetTable(ResultsReport.PERF_ROWS)

Completed in 487 milliseconds

12