/external/ltp/utils/ffsb-6.0-rc2/ |
ffsb_tg.c | 26 void init_ffsb_tg(ffsb_tg_t * tg, unsigned num_threads, unsigned tg_num) 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) 55 ffsb_tg_t *tg = params->tg; local [all...] |
ffsb_tg.h | 105 /* 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_t *totals) [all...] |
ffsb_thread.c | 23 void init_ffsb_thread(ffsb_thread_t * ft, struct ffsb_tg *tg, unsigned bufsize, 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, ¶ms); 83 return tg_get_read_random(ft->tg); 88 return tg_get_read_size(ft->tg); [all...] |
parser.c | 617 void set_weight(ffsb_tg_t * tg, config_options_t * config) 629 tg_set_op_weight(tg, op, 638 int get_weight_total(ffsb_tg_t * tg) 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) 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, "write") 744 container_t *tg = profile_conf->tg_container; local [all...] |
ffsb_fc.c | 47 void init_ffsb_config_1fs(ffsb_config_t * fc, ffsb_fs_t * fs, ffsb_tg_t * tg) 51 fc->num_totalthreads = tg_get_numthreads(tg); 55 fc->groups = tg;
|
main.c | 148 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 */
|
ffsb.h | 82 * used by fs-aging code to build a fake config for the aging tg 85 struct ffsb_tg *tg);
|
ffsb_thread.h | 46 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
|
ffsb_fs.c | 385 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) 521 fs->aging_tg = tg;
|
/art/test/925-threadgroups/src/art/ |
Test925.java | 54 private static void printThreadGroupInfo(ThreadGroup tg) { 55 Object[] threadGroupInfo = getThreadGroupInfo(tg); 61 System.out.println(tg); 68 private static void checkChildren(ThreadGroup tg) { 69 Object[] data = getThreadGroupChildren(tg); 88 System.out.println(tg.getName() + ":"); 92 if (tg.getParent() != null) { 93 checkChildren(tg.getParent()); 97 private static void waitGroupChildren(ThreadGroup tg, int expectedChildCount, int timeoutS) 100 Object[] data = getThreadGroupChildren(tg); [all...] |
/external/clang/test/Sema/ |
fp16-sema.c | 11 typedef void(*tg) (__fp16*); typedef
|
/external/mesa3d/src/gallium/auxiliary/translate/ |
translate_generic.c | 590 generic_run_one(struct translate_generic *tg, 596 unsigned nr_attrs = tg->nr_attrib; 601 uint8_t *dst = (uint8_t *)vert + tg->attrib[attr].output_offset; 603 if (tg->attrib[attr].type == TRANSLATE_ELEMENT_NORMAL) { 608 if (tg->attrib[attr].instance_divisor) { 610 index += (instance_id / tg->attrib[attr].instance_divisor); 619 index = MIN2(index, tg->attrib[attr].max_index); 622 src = tg->attrib[attr].input_ptr + 623 (ptrdiff_t)tg->attrib[attr].input_stride * index; 625 copy_size = tg->attrib[attr].copy_size 664 struct translate_generic *tg = translate_generic(translate); local 682 struct translate_generic *tg = translate_generic(translate); local 700 struct translate_generic *tg = translate_generic(translate); local 718 struct translate_generic *tg = translate_generic(translate); local 737 struct translate_generic *tg = translate_generic(translate); local 783 struct translate_generic *tg = CALLOC_STRUCT(translate_generic); local [all...] |
/external/clang/utils/ |
FuzzTest | 72 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.num_tests, opts.max_tests) [all...] |
/external/llvm/include/llvm/Support/ |
Timer.h | 84 TimerGroup *TG; // The TimerGroup this Timer is in. 88 explicit Timer(StringRef N) : TG(nullptr) { init(N); } 89 Timer(StringRef N, TimerGroup &tg) : TG(nullptr) { init(N, tg); } 90 Timer(const Timer &RHS) : TG(nullptr) { 91 assert(!RHS.TG && "Can only copy uninitialized timers"); 94 assert(!TG && !T.TG && "Can only assign uninit timers"); 100 explicit Timer() : TG(nullptr) { [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
Timer.h | 88 TimerGroup *TG; // The TimerGroup this Timer is in. 92 explicit Timer(StringRef N) : TG(0) { init(N); } 93 Timer(StringRef N, TimerGroup &tg) : TG(0) { init(N, tg); } 94 Timer(const Timer &RHS) : TG(0) { 95 assert(RHS.TG == 0 && "Can only copy uninitialized timers"); 98 assert(TG == 0 && T.TG == 0 && "Can only assign uninit timers"); 104 explicit Timer() : TG(0) { [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
Timer.h | 84 TimerGroup *TG = nullptr; ///< The TimerGroup this Timer is in. 92 Timer(StringRef Name, StringRef Description, TimerGroup &tg) { 93 init(Name, Description, tg); 96 assert(!RHS.TG && "Can only copy uninitialized timers"); 99 assert(!TG && !T.TG && "Can only assign uninit timers"); 107 void init(StringRef Name, StringRef Description, TimerGroup &tg); 111 bool isInitialized() const { return TG != nullptr; } 193 TimerGroup(const TimerGroup &TG) = delete; 194 void operator=(const TimerGroup &TG) = delete [all...] |
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
Timer.h | 83 TimerGroup *TG = nullptr; ///< The TimerGroup this Timer is in. 91 Timer(StringRef Name, StringRef Description, TimerGroup &tg) { 92 init(Name, Description, tg); 95 assert(!RHS.TG && "Can only copy uninitialized timers"); 98 assert(!TG && !T.TG && "Can only assign uninit timers"); 106 void init(StringRef Name, StringRef Description, TimerGroup &tg); 110 bool isInitialized() const { return TG != nullptr; } 192 TimerGroup(const TimerGroup &TG) = delete; 193 void operator=(const TimerGroup &TG) = delete [all...] |
/external/llvm/test/MC/Sparc/ |
sparc-v9-traps.s | 45 ! 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...] |
sparc-traps.s | 45 ! 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/swiftshader/third_party/llvm-7.0/llvm/test/MC/Sparc/ |
sparc-v9-traps.s | 45 ! 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...] |
sparc-traps.s | 45 ! 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
|
/bionic/libc/kernel/uapi/linux/ |
serial.h | 108 __u32 tg; member in struct:serial_iso7816
|
/external/kernel-headers/original/uapi/linux/ |
serial.h | 145 __u32 tg; member in struct:serial_iso7816
|
/external/libxcam/cl_kernel/ |
kernel_yuv_pipe.cl | 14 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/toolchain-utils/cros_utils/ |
tabulator_test.py | 82 tg = tabulator.TableGenerator(runs, labels) 83 table = tg.GetTable() 96 table = tg.GetTable()
|