HomeSort by relevance Sort by last modified time
    Searched refs:tg (Results 1 - 25 of 102) sorted by null

1 2 3 4 5

  /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, &params);
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 */
  /prebuilts/go/darwin-x86/src/cmd/go/
vendor_test.go 20 tg := testgo(t)
21 defer tg.cleanup()
22 tg.setenv("GOPATH", filepath.Join(tg.pwd(), "testdata"))
23 tg.run("list", "-f", "{{.ImportPath}} {{.Imports}}", "vend/...", "vend/vendor/...", "vend/x/vendor/...")
42 have := tg.stdout.String()
50 tg := testgo(t)
51 defer tg.cleanup()
52 tg.setenv("GOPATH", filepath.Join(tg.pwd(), "testdata")
    [all...]
go_test.go 252 func (tg *testgoData) must(err error) {
253 tg.t.Helper()
255 tg.t.Fatal(err)
260 func (tg *testgoData) check(err error) {
261 tg.t.Helper()
263 tg.t.Error(err)
268 func (tg *testgoData) parallel() {
269 tg.t.Helper()
270 if tg.ran {
271 tg.t.Fatal("internal testsuite error: call to parallel after run"
    [all...]
go_unix_test.go 16 // Do not use tg.parallel; avoid other tests seeing umask manipulation.
19 tg := testgo(t)
20 defer tg.cleanup()
21 tg.tempFile("x.go", `package main; func main() {}`)
25 exe := tg.path("x")
26 tg.creatingTemp(exe)
27 tg.run("build", "-o", exe, tg.path("x.go"))
note_test.go 19 tg := testgo(t)
20 defer tg.cleanup()
21 tg.tempFile("hello.go", `package main; func main() { print("hello, world\n") }`)
23 tg.run("build", "-ldflags", "-buildid="+buildID, "-o", tg.path("hello.exe"), tg.path("hello.go"))
24 id, err := buildid.ReadFile(tg.path("hello.exe"))
41 tg.run("build", "-ldflags", "-buildid="+buildID+" -linkmode=external", "-o", tg.path("hello2.exe"), tg.path("hello.go")
    [all...]
  /prebuilts/go/linux-x86/src/cmd/go/
vendor_test.go 20 tg := testgo(t)
21 defer tg.cleanup()
22 tg.setenv("GOPATH", filepath.Join(tg.pwd(), "testdata"))
23 tg.run("list", "-f", "{{.ImportPath}} {{.Imports}}", "vend/...", "vend/vendor/...", "vend/x/vendor/...")
42 have := tg.stdout.String()
50 tg := testgo(t)
51 defer tg.cleanup()
52 tg.setenv("GOPATH", filepath.Join(tg.pwd(), "testdata")
    [all...]
go_test.go 252 func (tg *testgoData) must(err error) {
253 tg.t.Helper()
255 tg.t.Fatal(err)
260 func (tg *testgoData) check(err error) {
261 tg.t.Helper()
263 tg.t.Error(err)
268 func (tg *testgoData) parallel() {
269 tg.t.Helper()
270 if tg.ran {
271 tg.t.Fatal("internal testsuite error: call to parallel after run"
    [all...]
go_unix_test.go 16 // Do not use tg.parallel; avoid other tests seeing umask manipulation.
19 tg := testgo(t)
20 defer tg.cleanup()
21 tg.tempFile("x.go", `package main; func main() {}`)
25 exe := tg.path("x")
26 tg.creatingTemp(exe)
27 tg.run("build", "-o", exe, tg.path("x.go"))
note_test.go 19 tg := testgo(t)
20 defer tg.cleanup()
21 tg.tempFile("hello.go", `package main; func main() { print("hello, world\n") }`)
23 tg.run("build", "-ldflags", "-buildid="+buildID, "-o", tg.path("hello.exe"), tg.path("hello.go"))
24 id, err := buildid.ReadFile(tg.path("hello.exe"))
41 tg.run("build", "-ldflags", "-buildid="+buildID+" -linkmode=external", "-o", tg.path("hello2.exe"), tg.path("hello.go")
    [all...]
  /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...]
  /libcore/jsr166-tests/src/test/java/jsr166/
ThreadTest.java 39 ThreadGroup tg = current.getThreadGroup(); local
41 assertSame(tg, current.getUncaughtExceptionHandler());
48 assertSame(tg, current.getUncaughtExceptionHandler());
  /external/clang/test/Sema/
fp16-sema.c 11 typedef void(*tg) (__fp16*); typedef
  /external/mesa3d/src/gallium/auxiliary/translate/
translate_generic.c 584 static ALWAYS_INLINE void PIPE_CDECL generic_run_one( struct translate_generic *tg,
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->attrib[attr].copy_size
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...]
  /frameworks/rs/cpu_ref/
rsCpuIntrinsicLUT.cpp 61 const uchar *tg = &tr[256]; local
62 const uchar *tb = &tg[256];
67 out[1] = tg[in[1]];
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
ThreadTest.java 160 ThreadGroup tg = new ThreadGroup("Test Group1"); local
161 st = new Thread(tg, new SimpleThread(1), "SimpleThread2");
162 assertTrue("Returned incorrect thread group", st.getThreadGroup() == tg);
168 tg.destroy();
179 ThreadGroup tg = new ThreadGroup("Test Group2"); local
180 st = new Thread(tg, new SimpleThread(1), "SimpleThread3");
181 assertTrue("Constructed incorrect thread", (st.getThreadGroup() == tg)
188 tg.destroy();
242 ThreadGroup tg = new ThreadGroup("Test Group3"); local
244 st = new Thread(tg, new SimpleThread(1), "SimpleThread5")
358 ThreadGroup tg = new ThreadGroup("tg"); local
414 ThreadGroup tg = new ThreadGroup("Test Group4"); local
882 ThreadGroup tg = new ThreadGroup("Test Group5"); local
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/
OldThreadGroupTest.java 75 ThreadGroup tg = new ThreadGroup("group count"); local
77 0, tg.activeGroupCount());
78 Thread t1 = new Thread(tg, new Runnable() {
84 0, tg.activeGroupCount());
87 0, tg.activeGroupCount());
88 new ThreadGroup(tg, "test group 1");
90 1, tg.activeGroupCount());
91 new ThreadGroup(tg, "test group 2");
93 2, tg.activeGroupCount());
98 ThreadGroup tg = new ThreadGroup("thread suspension") local
244 ThreadGroup tg = new ThreadGroup("interrupt"); 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-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...]

Completed in 350 milliseconds

1 2 3 4 5