Home
last modified time | relevance | path

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

123456

/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})
152 def trace_set_thread_name(thread_name): argument
153 del thread_name # unused.
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_report.cpp71 const char *thread_name(char *buf, int tid) { in thread_name() function
169 (void *)mop->addr, thread_name(thrbuf, mop->tid)); in PrintMop()
176 (void *)mop->addr, thread_name(thrbuf, mop->tid)); in PrintMop()
205 thread_name(thrbuf, loc->tid)); in PrintLocation()
209 thread_name(thrbuf, loc->tid)); in PrintLocation()
213 Printf(" Location is stack of %s.\n\n", thread_name(thrbuf, loc->tid)); in PrintLocation()
215 Printf(" Location is TLS of %s.\n\n", thread_name(thrbuf, loc->tid)); in PrintLocation()
218 loc->fd, thread_name(thrbuf, loc->tid)); in PrintLocation()
268 thread_name(thrbuf, rt->parent_tid)); in PrintThread()
341 Printf("%s:\n", thread_name(thrbuf, rep->unique_tids[i])); in PrintReport()
/external/rust/crates/tokio/src/runtime/
Dbuilder.rs62 pub(super) thread_name: ThreadNameFn, field
130 thread_name: std::sync::Arc::new(|| "tokio-runtime-worker".into()), in new()
266 pub fn thread_name(&mut self, val: impl Into<String>) -> &mut Self { in thread_name() method
268 self.thread_name = std::sync::Arc::new(move || val.clone()); in thread_name()
296 self.thread_name = std::sync::Arc::new(f); in thread_name_fn()
/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/perfetto/test/trace_processor/track_event/
Dtrack_event_same_tids.textproto10 thread_name: "t1"
22 thread_name: "t2"
Dflow_events_proto_v2.textproto9 thread_name: "t1"
21 thread_name: "t2"
Dtrack_event_tracks.textproto12 thread_name: "t1"
32 thread_name: "t2"
172 thread_name: "t3"
224 thread_name: "t4"
Dflow_events_proto_v1.textproto9 thread_name: "t1"
21 thread_name: "t2"
/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/chromium-trace/catapult/devil/devil/utils/
Dtimeout_retry.py153 thread_name = 'TimeoutThread-%d-for-%s' % (num_try,
156 lambda: func(*args, **kwargs), name=thread_name)
177 error_log_func('(%s) Exception on %s, attempt %d of %d: %r', thread_name,
/external/llvm-project/lldb/include/lldb/Host/
DThreadLauncher.h31 std::string thread_name; member
37 : thread_name(name ? name : ""), thread_fptr(fptr), thread_arg(arg) {} in HostThreadCreateInfo()
/external/webrtc/modules/utility/source/
Dprocess_thread_impl.cc42 std::unique_ptr<ProcessThread> ProcessThread::Create(const char* thread_name) { in Create() argument
43 return std::unique_ptr<ProcessThread>(new ProcessThreadImpl(thread_name)); in Create()
46 ProcessThreadImpl::ProcessThreadImpl(const char* thread_name) in ProcessThreadImpl() argument
47 : stop_(false), thread_name_(thread_name) {} in ProcessThreadImpl()
/external/perfetto/src/trace_processor/metrics/android/
Dandroid_startup.sql118 thread.name AS thread_name
129 launch_threads.thread_name AS thread_name,
248 WHERE thread_name = 'Jit thread pool' AND state = 'Running'
265 AND thread_name = 'Jit thread pool'
271 launch_id, slice_dur, thread_name field
313 'thread', lbt.thread_name
/external/webrtc/test/time_controller/
Dsimulated_time_controller.cc59 const char* thread_name) { in CreateProcessThread() argument
61 std::make_unique<SimulatedProcessThread>(this, thread_name); in CreateProcessThread()
196 GlobalSimulatedTimeController::CreateProcessThread(const char* thread_name) { in CreateProcessThread() argument
197 return impl_.CreateProcessThread(thread_name); in CreateProcessThread()
Dreal_time_controller.cc49 const char* thread_name) { in CreateProcessThread() argument
50 return ProcessThread::Create(thread_name); in CreateProcessThread()
/external/tensorflow/tensorflow/core/profiler/internal/cpu/
Dhost_tracer_test.cc117 std::string thread_name = "MyThreadName"; in TEST() local
125 Env::Default()->StartThread(ThreadOptions(), thread_name, [&] { in TEST()
128 ASSERT_TRUE(Env::Default()->GetCurrentThreadName(&thread_name)); in TEST()
158 EXPECT_EQ(line.name(), thread_name); in TEST()
/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()
/external/google-breakpad/src/client/ios/
Dexception_handler_no_mach.h77 mach_port_t thread_name);
130 mach_port_t thread_name,
Dexception_handler_no_mach.cc122 mach_port_t thread_name, in WriteMinidumpWithException() argument
136 thread_name) ) { in WriteMinidumpWithException()
157 exception_subcode, thread_name); in WriteMinidumpWithException()
/external/rust/crates/rayon-core/src/
Dtest.rs144 let thread_name = move |i| format!("thread_name_{}", i); in configuration() localVariable
148 .thread_name(thread_name) in configuration()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/executor/
Dthreadpool.h58 virtual const char* thread_name() const = 0;
128 const char* thread_name() const override;

123456