/external/jemalloc/test/unit/ |
prof_thread_name.c | 26 mallctl_thread_name_set_impl(const char *thread_name, const char *func, 31 (void *)&thread_name, sizeof(thread_name)), 0, 34 mallctl_thread_name_get_impl(thread_name, func, line); 41 const char *thread_name; local 49 thread_name = NULL; 51 (void *)&thread_name, sizeof(thread_name)), EFAULT, 53 thread_name); 56 thread_name = "hi\nthere" 85 char thread_name[16] = ""; local [all...] |
/external/jemalloc_new/test/unit/ |
prof_thread_name.c | 21 mallctl_thread_name_set_impl(const char *thread_name, const char *func, 24 (void *)&thread_name, sizeof(thread_name)), 0, 27 mallctl_thread_name_get_impl(thread_name, func, line); 33 const char *thread_name; local 41 thread_name = NULL; 43 (void *)&thread_name, sizeof(thread_name)), EFAULT, 45 thread_name); 48 thread_name = "hi\nthere" 76 char thread_name[16] = ""; local [all...] |
/bionic/libc/bionic/ |
pthread_setname_np.cpp | 83 int pthread_setname_np(pthread_t t, const char* thread_name) { 86 size_t thread_name_len = strlen(thread_name); 91 return prctl(PR_SET_NAME, thread_name) ? errno : 0; 98 ssize_t n = TEMP_FAILURE_RETRY(write(fd, thread_name, thread_name_len));
|
/external/libaom/libaom/aom_util/ |
aom_thread.c | 44 if (worker->thread_name != NULL) { 46 // the current thread only. The maximum size of the thread_name buffer was 48 // thread_name is too long, pthread_setname_np returns -1 with errno 50 char thread_name[64]; local 51 strncpy(thread_name, worker->thread_name, sizeof(thread_name)); 52 thread_name[sizeof(thread_name) - 1] = '\0'; 53 pthread_setname_np(thread_name); 59 char thread_name[16]; local 62 pthread_setname_np(pthread_self(), thread_name); local [all...] |
/external/webrtc/webrtc/modules/utility/include/ |
process_thread.h | 32 static rtc::scoped_ptr<ProcessThread> Create(const char* thread_name);
|
/external/libxcam/xcore/ |
xcam_thread.cpp | 104 char thread_name[16]; local 105 xcam_mem_clear (thread_name); 106 snprintf (thread_name, sizeof (thread_name), "xc:%s", XCAM_STR(_name)); 107 int ret = pthread_setname_np (_thread_id, thread_name);
|
/art/runtime/ |
runtime_linux.cc | 39 std::string thread_name(GetThreadName(tid)); 41 << "* Process " << getpid() << " thread " << tid << " \"" << thread_name
|
monitor_android.cc | 62 std::string thread_name; local 63 self->GetThreadName(thread_name); 64 ctx << thread_name; local
|
/external/perfetto/protos/perfetto/trace/track_event/ |
thread_descriptor.proto | 41 optional string thread_name = 5;
|
/external/tensorflow/tensorflow/core/kernels/data/ |
unbounded_thread_pool.h | 41 UnboundedThreadPool(Env* env, const string& thread_name) 42 : env_(env), thread_name_(thread_name) {}
|
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/ |
trace_event.py | 93 def trace_set_thread_name(thread_name): 95 "thread_name", {"name": thread_name}) 149 def trace_set_thread_name(thread_name): 150 del thread_name # unused.
|
/external/tensorflow/tensorflow/core/profiler/lib/ |
profiler_session.cc | 87 for (const auto& thread_name : device_stats->thread_names()) { 89 resource.set_resource_id(thread_name.first); 90 resource.set_name(thread_name.second); 91 (*device.mutable_resources())[thread_name.first] = resource;
|
/external/webrtc/webrtc/base/ |
platform_thread.h | 59 PlatformThread(ThreadRunFunction func, void* obj, const char* thread_name);
|
platform_thread.cc | 96 const char* thread_name) 99 name_(thread_name ? thread_name : "webrtc"),
|
/external/webrtc/webrtc/modules/utility/source/ |
process_thread_impl.cc | 40 const char* thread_name) { 41 return rtc::scoped_ptr<ProcessThread>(new ProcessThreadImpl(thread_name)); 44 ProcessThreadImpl::ProcessThreadImpl(const char* thread_name) 47 thread_name_(thread_name) {}
|
process_thread_impl.h | 28 explicit ProcessThreadImpl(const char* thread_name);
|
/external/google-breakpad/src/client/mac/handler/ |
exception_handler.h | 99 mach_port_t thread_name); 193 mach_port_t thread_name,
|
/external/tensorflow/tensorflow/core/profiler/rpc/client/ |
trace_events_to_json_test.cc | 81 {"ph":"M", "pid":1, "tid":2, "name":"thread_name", 87 {"ph":"M", "pid":2, "tid":2, "name":"thread_name",
|
/art/libartbase/base/ |
utils.cc | 230 void SetThreadName(const char* thread_name) { 233 const char* s = thread_name; 242 int len = s - thread_name; 244 s = thread_name; 246 s = thread_name + len - 15; 258 pthread_setname_np(thread_name);
|
/art/test/931-agent-thread/ |
agent_thread.cc | 95 ScopedLocalRef<jobject> thread_name(env, env->NewStringUTF("Agent Thread")); 96 if (thread_name.get() == nullptr) { 133 thread_name.get(),
|
/external/chromium-trace/catapult/devil/devil/utils/ |
timeout_retry.py | 149 thread_name = 'TimeoutThread-%d-for-%s' % (num_try, 152 name=thread_name) 173 thread_name, desc, num_try, retries + 1, e)
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_report.cc | 77 const char *thread_name(char *buf, int tid) { function in namespace:__tsan 162 thread_name(thrbuf, mop->tid)); 188 thread_name(thrbuf, loc->tid)); 191 Printf(" Location is stack of %s.\n\n", thread_name(thrbuf, loc->tid)); 193 Printf(" Location is TLS of %s.\n\n", thread_name(thrbuf, loc->tid)); 196 loc->fd, thread_name(thrbuf, loc->tid)); 240 thread_name(thrbuf, rt->parent_tid)); 313 Printf("%s:\n", thread_name(thrbuf, rep->unique_tids[i]));
|
/external/perfetto/src/trace_processor/ |
json_trace_parser.cc | 107 if (strcmp(value["name"].asCString(), "thread_name") == 0) { 108 const char* thread_name = value["args"]["name"].asCString(); local 109 auto thread_name_id = context_->storage->InternString(thread_name);
|
/external/jemalloc_new/include/jemalloc/internal/ |
prof_structs.h | 148 char *thread_name; member in struct:prof_tdata_s
|
/external/jemalloc/src/ |
prof.c | 130 static char *prof_thread_name_alloc(tsdn_t *tsdn, const char *thread_name); 1308 (tdata->thread_name != NULL) ? " " : "", 1309 (tdata->thread_name != NULL) ? tdata->thread_name : "")) 1921 char *thread_name = (tdata->thread_name != NULL) ? local [all...] |