Home
last modified time | relevance | path

Searched refs:thread_name (Results 1 – 25 of 71) sorted by relevance

123

/external/jemalloc/test/unit/
Dprof_thread_name.c26 mallctl_thread_name_set_impl(const char *thread_name, const char *func, in mallctl_thread_name_set_impl() argument
31 (void *)&thread_name, sizeof(thread_name)), 0, in mallctl_thread_name_set_impl()
34 mallctl_thread_name_get_impl(thread_name, func, line); in mallctl_thread_name_set_impl()
41 const char *thread_name; in TEST_BEGIN() local
49 thread_name = NULL; in TEST_BEGIN()
51 (void *)&thread_name, sizeof(thread_name)), EFAULT, in TEST_BEGIN()
53 thread_name); in TEST_BEGIN()
56 thread_name = "hi\nthere"; in TEST_BEGIN()
58 (void *)&thread_name, sizeof(thread_name)), EFAULT, in TEST_BEGIN()
60 thread_name); in TEST_BEGIN()
[all …]
/external/jemalloc_new/test/unit/
Dprof_thread_name.c21 mallctl_thread_name_set_impl(const char *thread_name, const char *func, in mallctl_thread_name_set_impl() argument
24 (void *)&thread_name, sizeof(thread_name)), 0, in mallctl_thread_name_set_impl()
27 mallctl_thread_name_get_impl(thread_name, func, line); in mallctl_thread_name_set_impl()
33 const char *thread_name; in TEST_BEGIN() local
41 thread_name = NULL; in TEST_BEGIN()
43 (void *)&thread_name, sizeof(thread_name)), EFAULT, in TEST_BEGIN()
45 thread_name); in TEST_BEGIN()
48 thread_name = "hi\nthere"; in TEST_BEGIN()
50 (void *)&thread_name, sizeof(thread_name)), EFAULT, in TEST_BEGIN()
52 thread_name); in TEST_BEGIN()
[all …]
/external/libaom/libaom/aom_util/
Daom_thread.c44 if (worker->thread_name != NULL) { in thread_loop()
50 char thread_name[64]; in thread_loop() local
51 strncpy(thread_name, worker->thread_name, sizeof(thread_name) - 1); in thread_loop()
52 thread_name[sizeof(thread_name) - 1] = '\0'; in thread_loop()
53 pthread_setname_np(thread_name); in thread_loop()
56 if (worker->thread_name != NULL) { in thread_loop()
59 char thread_name[16]; in thread_loop() local
60 strncpy(thread_name, worker->thread_name, sizeof(thread_name) - 1); in thread_loop()
61 thread_name[sizeof(thread_name) - 1] = '\0'; in thread_loop()
62 pthread_setname_np(pthread_self(), thread_name); in thread_loop()
/external/tensorflow/tensorflow/core/kernels/data/
Dunbounded_thread_pool.h37 UnboundedThreadPool(Env* env, const string& thread_name) in UnboundedThreadPool() argument
38 : unbounded_work_queue_(env, thread_name) {} in UnboundedThreadPool()
39 UnboundedThreadPool(Env* env, const string& thread_name, in UnboundedThreadPool() argument
41 : unbounded_work_queue_(env, thread_name, thread_options) {} in UnboundedThreadPool()
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/
Dtrace_event.py98 def trace_set_thread_name(thread_name): argument
100 "thread_name", {"name": thread_name})
162 def trace_set_thread_name(thread_name): argument
163 del thread_name # unused.
/external/jemalloc/src/
Dprof.c130 static char *prof_thread_name_alloc(tsdn_t *tsdn, const char *thread_name);
1308 (tdata->thread_name != NULL) ? " " : "", in prof_tdata_dump_iter()
1309 (tdata->thread_name != NULL) ? tdata->thread_name : "")) in prof_tdata_dump_iter()
1794 char *thread_name, bool active) in prof_tdata_init_impl() argument
1810 tdata->thread_name = thread_name; in prof_tdata_init_impl()
1878 if (tdata->thread_name != NULL) in prof_tdata_destroy_locked()
1879 idalloctm(tsd_tsdn(tsd), tdata->thread_name, NULL, true, true); in prof_tdata_destroy_locked()
1921 char *thread_name = (tdata->thread_name != NULL) ? in prof_tdata_reinit() local
1922 prof_thread_name_alloc(tsd_tsdn(tsd), tdata->thread_name) : NULL; in prof_tdata_reinit()
1926 return (prof_tdata_init_impl(tsd, thr_uid, thr_discrim, thread_name, in prof_tdata_reinit()
[all …]
/external/webrtc/webrtc/modules/utility/source/
Dprocess_thread_impl.cc40 const char* thread_name) { in Create() argument
41 return rtc::scoped_ptr<ProcessThread>(new ProcessThreadImpl(thread_name)); in Create()
44 ProcessThreadImpl::ProcessThreadImpl(const char* thread_name) in ProcessThreadImpl() argument
47 thread_name_(thread_name) {} in ProcessThreadImpl()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_report.cc77 const char *thread_name(char *buf, int tid) { in thread_name() function
162 thread_name(thrbuf, mop->tid)); in PrintMop()
188 thread_name(thrbuf, loc->tid)); in PrintLocation()
191 Printf(" Location is stack of %s.\n\n", thread_name(thrbuf, loc->tid)); in PrintLocation()
193 Printf(" Location is TLS of %s.\n\n", thread_name(thrbuf, loc->tid)); in PrintLocation()
196 loc->fd, thread_name(thrbuf, loc->tid)); in PrintLocation()
240 thread_name(thrbuf, rt->parent_tid)); in PrintThread()
313 Printf("%s:\n", thread_name(thrbuf, rep->unique_tids[i])); in PrintReport()
/external/jemalloc_new/src/
Dprof.c146 static char *prof_thread_name_alloc(tsdn_t *tsdn, const char *thread_name);
1318 (tdata->thread_name != NULL) ? " " : "", in prof_tdata_dump_iter()
1319 (tdata->thread_name != NULL) ? tdata->thread_name : "")) { in prof_tdata_dump_iter()
1904 char *thread_name, bool active) { in prof_tdata_init_impl() argument
1920 tdata->thread_name = thread_name; in prof_tdata_init_impl()
1982 if (tdata->thread_name != NULL) { in prof_tdata_destroy_locked()
1983 idalloctm(tsd_tsdn(tsd), tdata->thread_name, NULL, NULL, true, in prof_tdata_destroy_locked()
2026 char *thread_name = (tdata->thread_name != NULL) ? in prof_tdata_reinit() local
2027 prof_thread_name_alloc(tsd_tsdn(tsd), tdata->thread_name) : NULL; in prof_tdata_reinit()
2031 return prof_tdata_init_impl(tsd, thr_uid, thr_discrim, thread_name, in prof_tdata_reinit()
[all …]
/external/perfetto/test/trace_processor/
Dtrack_event_same_tids.textproto10 thread_name: "t1"
22 thread_name: "t2"
Dtrack_event_tracks.textproto12 thread_name: "t1"
32 thread_name: "t2"
169 thread_name: "t3"
221 thread_name: "t4"
Dtrack_event_merged_debug_annotations.textproto10 thread_name: "t1"
23 thread_name: "t1"
Dtrack_event_counters.textproto12 thread_name: "t1"
100 thread_name: "t1"
213 thread_name: "t4"
/external/chromium-trace/catapult/devil/devil/utils/
Dtimeout_retry.py149 thread_name = 'TimeoutThread-%d-for-%s' % (num_try,
152 name=thread_name)
173 thread_name, desc, num_try, retries + 1, e)
/external/libchrome/base/android/
Djni_android.cc51 char thread_name[16]; in AttachCurrentThread() local
52 int err = prctl(PR_GET_NAME, thread_name); in AttachCurrentThread()
57 args.name = thread_name; in AttachCurrentThread()
66 JNIEnv* AttachCurrentThreadWithName(const std::string& thread_name) { in AttachCurrentThreadWithName() argument
70 args.name = thread_name.c_str(); in AttachCurrentThreadWithName()
/external/tensorflow/tensorflow/core/platform/default/
Dunbounded_work_queue.cc25 UnboundedWorkQueue::UnboundedWorkQueue(Env* env, const string& thread_name, in UnboundedWorkQueue() argument
27 : env_(env), thread_name_(thread_name), thread_options_(thread_options) {} in UnboundedWorkQueue()
Denv.cc127 auto thread_name = in GetCurrentThreadName() local
129 if (thread_name != GetThreadNameRegistry().end()) { in GetCurrentThreadName()
130 *name = thread_name->second; in GetCurrentThreadName()
/external/webrtc/webrtc/base/
Dplatform_thread.cc96 const char* thread_name) in PlatformThread() argument
99 name_(thread_name ? thread_name : "webrtc"), in PlatformThread()
/external/v4l2_codec2/accel/
Dv4l2_device_poller.cc20 const std::string& thread_name) in V4L2DevicePoller() argument
22 poll_thread_(std::move(thread_name)), in V4L2DevicePoller()
/external/tensorflow/tensorflow/core/profiler/internal/cpu/
Dhost_tracer_test.cc111 string thread_name; in TEST() local
112 ASSERT_TRUE(Env::Default()->GetCurrentThreadName(&thread_name)); in TEST()
138 EXPECT_EQ(line.name(), thread_name); in TEST()
/external/tensorflow/tensorflow/core/platform/
Denv_test.cc430 string thread_name; in TEST_F() local
431 bool res = env->GetCurrentThreadName(&thread_name); in TEST_F()
436 EXPECT_GT(thread_name.size(), 0); in TEST_F()
447 string thread_name; in TEST_F() local
448 bool res = env->GetCurrentThreadName(&thread_name); in TEST_F()
450 ExpectHasSubstr(thread_name, "tf_child_thread"); in TEST_F()
/external/tensorflow/tensorflow/core/platform/windows/
Denv.cc111 auto thread_name = GetThreadNameRegistry().find(std::this_thread::get_id()); in GetCurrentThreadName() local
112 if (thread_name != GetThreadNameRegistry().end()) { in GetCurrentThreadName()
113 *name = thread_name->second; in GetCurrentThreadName()
/external/google-breakpad/src/client/mac/handler/
Dexception_handler.h99 mach_port_t thread_name);
193 mach_port_t thread_name,
/external/tensorflow/tensorflow/core/common_runtime/
Dstep_stats_collector.cc423 const string& thread_name) { in SaveThreadName() argument
425 << thread_name; in SaveThreadName()
432 thread_names_map[thread_id] = thread_name; in SaveThreadName()
564 for (const auto& thread_name : device_thread.second) { in FinalizeInternal() local
565 (*dss->mutable_thread_names())[thread_name.first] = thread_name.second; in FinalizeInternal()
/external/perfetto/src/trace_processor/importers/json/
Djson_trace_parser.cc124 const char* thread_name = value["args"]["name"].asCString(); in ParseTracePacket() local
125 auto thread_name_id = context_->storage->InternString(thread_name); in ParseTracePacket()

123