/foundation/resourceschedule/qos_manager/frameworks/concurrent_task_client/src/ |
H A D | concurrent_task_service_proxy.cpp | 56 if (!data.WriteInt32(queryItem) || !data.WriteInt32(queryRs.tid)) { in QueryInterval() 68 queryRs.tid = -1; in QueryInterval() 73 if (!reply.ReadInt32(queryRs.rtgId) || !reply.ReadInt32(queryRs.tid) in QueryInterval()
|
/foundation/resourceschedule/qos_manager/services/include/ |
H A D | qos_interface.h | 188 int QosApplyForOther(unsigned int level, int tid); 190 int QosLeaveForOther(int tid); 193 int QosGetForOther(int tid, int &level);
|
/foundation/resourceschedule/resource_schedule_service/ressched_executor/services/resschedexemgr/src/ |
H A D | res_sched_exe_mgr.cpp | 159 int tid; in HandleRequestForCgroup() local 164 if (!(ParseValue(tid, "tid", payload)) || !(ParseValue(policy, "policy", payload))) { in HandleRequestForCgroup() 180 ret = CgroupSetting::CgroupAction::GetInstance().SetThreadSchedPolicy(tid, schedPolicy) ? 0 : -1; in HandleRequestForCgroup() 184 ret = CgroupSetting::CgroupAction::GetInstance().SetThreadGroupSchedPolicy(tid, schedPolicy) ? 0 : -1; in HandleRequestForCgroup() 229 if (!payload.contains("tid") || !payload["tid"].is_number_integer()) { in CheckProcTaskForCgroup() 233 int tid = payload["tid"]; in CheckProcTaskForCgroup() local 235 .append("/task/").append(std::to_string(tid)) in CheckProcTaskForCgroup() [all...] |
/foundation/resourceschedule/ffrt/src/eu/ |
H A D | rtg_ioctl.cpp | 212 bool RTGCtrl::JoinThread(int tgid, pid_t tid) in JoinThread() argument 216 RTGMsg msg = RTGMsg::Build(CMD_ADD_RTG_THREAD, tgid, tid); in JoinThread() 220 bool RTGCtrl::RemoveThread(int tgid, pid_t tid) in RemoveThread() argument 224 RTGMsg msg = RTGMsg::Build(CMD_DEL_RTG_THREAD, tgid, tid); in RemoveThread() 244 RTGLoadInfo RTGCtrl::UpdateAndGetLoad(int tgid, pid_t tid) in UpdateAndGetLoad() argument 249 RTGMsg msg = RTGMsg::Build(CMD_GET_THREAD_LOAD, tgid, tid).Out(&info).OutSize(sizeof(info)); in UpdateAndGetLoad()
|
/foundation/resourceschedule/qos_manager/services/src/ |
H A D | concurrent_task_controller.cpp | 186 int queryTid = queryRs.tid; in QueryRenderService() 207 CONCUR_LOGE("uid %{public}d tid %{public}d join rs group failed", uid, queryTid); in QueryRenderService() 210 CONCUR_LOGI("uid %{public}d tid %{public}d join rs group success in Query", uid, queryTid); in QueryRenderService() 235 renderServiceMainTid_ = queryRs.tid; in QueryRenderServiceMain() 238 CONCUR_LOGE("uid %{public}d tid %{public}d join rs group failed.", uid, renderServiceMainTid_); in QueryRenderServiceMain() 257 if (renderServiceRenderTid_ <= 0 || renderServiceRenderTid_ != queryRs.tid) { in QueryRenderServiceRender() 258 renderServiceRenderTid_ = queryRs.tid; in QueryRenderServiceRender() 261 CONCUR_LOGE("uid %{public}d tid %{public}d join rs group failed.", uid, renderServiceMainGrpId_); in QueryRenderServiceRender() 275 hardwareTid_ = queryRs.tid; in QueryHardware() 279 CONCUR_LOGE("uid %{public}d tid in QueryHardware() 991 AddKeyThread(int tid, int prio) AddKeyThread() argument [all...] |
H A D | concurrent_task_service_stub.cpp | 71 queryRs.tid = -1; in QueryIntervalInner() 74 if (!data.ReadInt32(item) || !data.ReadInt32(queryRs.tid)) { in QueryIntervalInner() 79 if (!reply.WriteInt32(queryRs.rtgId) || !reply.WriteInt32(queryRs.tid) in QueryIntervalInner()
|
/foundation/graphic/graphic_2d/rosen/modules/platform/utils/ |
H A D | refbase.cpp | 74 RefTracker::RefTracker(RefTracker* exTracker, const void* id, int strong, int weak, int ref, int pid, int tid) in RefTracker() argument 75 : ptrID (id), strongRefCNT (strong), weakRefCNT (weak), refCNT (ref), PID (pid), TID (tid), exTrace (exTracker) in RefTracker() 79 void RefTracker::GetTrace(RefTracker* exTracker, const void* id, int strong, int weak, int ref, int pid, int tid) in GetTrace() argument 86 TID = tid; in GetTrace() 90 void RefTracker::GetStrongTrace(RefTracker* exTracker, const void* id, int strong, int pid, int tid) in GetStrongTrace() argument 97 TID = tid; in GetStrongTrace() 101 void RefTracker::GetWeakTrace(RefTracker* exTracker, const void* id, int weak, int pid, int tid) in GetWeakTrace() argument 108 TID = tid; in GetWeakTrace()
|
/foundation/distributeddatamgr/kv_store/kvstoremock/interfaces/mock/ |
H A D | win_glibc.cpp | 17 __attribute__((visibility("default"))) int pthread_setname_np(int tid, const char *name) in pthread_setname_np() argument
|
H A D | mac_glibc.h | 19 __attribute__((visibility("default"))) int pthread_setname_np(std::thread::native_handle_type tid, const char *name);
|
H A D | win_glibc.h | 19 __attribute__((visibility("default"))) int pthread_setname_np(int tid, const char *name);
|
/foundation/ai/ai_engine/services/common/platform/threadpool/source/ |
H A D | aie_thread_unix.cpp | 46 bool IsThreadRunning(unsigned long tid) in IsThreadRunning() argument 49 return pthread_kill(tid, checkThreadAliveSig) != ESRCH; in IsThreadRunning()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/ |
H A D | rs_image_cache.h | 51 void CacheRenderDrawingImageByPixelMapId(uint64_t uniqueId, std::shared_ptr<Drawing::Image> img, pid_t tid = -1); 52 std::shared_ptr<Drawing::Image> GetRenderDrawingImageCacheByPixelMapId(uint64_t uniqueId, pid_t tid = -1) const;
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/interface/ |
H A D | nstackx_util.h | 57 NSTACKX_EXPORT void BindThreadToTargetMask(pid_t tid, uint32_t cpuMask); 73 NSTACKX_EXPORT int32_t PthreadCreate(pthread_t *tid, const pthread_attr_t *attr, void *(*entry)(void *), void *arg);
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/ |
H A D | nstackx_dfile_config.c | 54 pid_t tid = gettid(); in SetTidToBindInfo() local 59 g_sender8CoreList[i][isSupport][pos].tid = tid; in SetTidToBindInfo() 61 g_recver8CoreList[i][pos].tid = tid; in SetTidToBindInfo()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/drawable/ |
H A D | rs_canvas_drawing_render_node_drawable_test.cpp | 398 uint64_t tid = INVALID_NODEID; in HWTEST_F() local 400 bool res = drawable->GetPixelmap(pixelmap, rect, tid, drawCmdList); in HWTEST_F() 403 res = drawable->GetPixelmap(pixelmap, rect, tid, drawCmdList); in HWTEST_F() 407 tid = drawable->preThreadInfo_.first; in HWTEST_F() 410 res = drawable->GetPixelmap(pixelmap, rrect.get(), tid, drawCmdList); in HWTEST_F() 412 res = drawable->GetPixelmap(pixelmap, rrect.get(), tid, drawCmdList); in HWTEST_F() 417 res = drawable->GetPixelmap(pixelmap, rrect.get(), tid, drawCmdList); in HWTEST_F() 421 res = drawable->GetPixelmap(pixelmap, rrect.get(), tid, drawCmdList); in HWTEST_F() 534 uint64_t tid = INVALID_NODEID; in HWTEST_F() local 539 bool res = drawable->GetCurrentContextAndImage(grContext, image, tid); in HWTEST_F() [all...] |
/foundation/multimodalinput/input/intention/services/test/unittest/src/ |
H A D | device_manager_test.cpp | 333 uint64_t tid = GetThisThreadId(); in OnStart() local 334 delegateTasks_.SetWorkerThreadId(tid); in OnStart() 377 uint64_t tid = GetThisThreadId(); in OnThread() local 378 delegateTasks_.SetWorkerThreadId(tid); in OnThread() 380 FI_HILOGD("Main worker thread start, tid:%{public}" PRId64 "", tid); in OnThread() 399 FI_HILOGD("Main worker thread stop, tid:%{public}" PRId64 "", tid); in OnThread() 414 ", taskId:%{public}d", GetThisThreadId(), data.tid, data.taskId); in OnDelegateTask()
|
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/include/appmgr/ |
H A D | app_jsheap_mem_info.h | 26 uint32_t tid = 0; member
|
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/drawable/ |
H A D | rs_canvas_drawing_node_drawable_test.cpp | 418 uint64_t tid = INVALID_NODEID; in HWTEST_F() local 420 bool res = drawable->GetPixelmap(pixelmap, rect, tid, drawCmdList); in HWTEST_F() 423 res = drawable->GetPixelmap(pixelmap, rect, tid, drawCmdList); in HWTEST_F() 427 tid = drawable->preThreadInfo_.first; in HWTEST_F() 430 res = drawable->GetPixelmap(pixelmap, rrect.get(), tid, drawCmdList); in HWTEST_F() 432 res = drawable->GetPixelmap(pixelmap, rrect.get(), tid, drawCmdList); in HWTEST_F() 437 res = drawable->GetPixelmap(pixelmap, rrect.get(), tid, drawCmdList); in HWTEST_F() 441 res = drawable->GetPixelmap(pixelmap, rrect.get(), tid, drawCmdList); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_canvas_drawing_render_node.cpp | 344 std::shared_ptr<Drawing::Image> RSCanvasDrawingRenderNode::GetImage(const uint64_t tid) in GetImage() argument 346 if (GetTid() != tid) { in GetImage() 356 Drawing::Bitmap RSCanvasDrawingRenderNode::GetBitmap(const uint64_t tid) in GetBitmap() argument 364 if (GetTid() != tid) { in GetBitmap() 375 const uint64_t tid, std::shared_ptr<Drawing::DrawCmdList> drawCmdList) in GetPixelmap() 394 if (GetTid() != tid) { in GetPixelmap() 374 GetPixelmap(std::shared_ptr<Media::PixelMap> pixelmap, const Drawing::Rect* rect, const uint64_t tid, std::shared_ptr<Drawing::DrawCmdList> drawCmdList) GetPixelmap() argument
|
/foundation/ability/ability_runtime/js_environment/interfaces/inner_api/ |
H A D | js_environment.h | 97 uint32_t instanceId, PROFILERTYPE profiler, int32_t interval, int tid, bool isDebugApp);
111 void NotifyDebugMode(int tid, const char* libraryPath, uint32_t instanceId, bool isDebugApp, bool debugMode);
|
/foundation/arkui/ace_engine/frameworks/core/common/ |
H A D | task_executor_impl.h | 52 return taskTypeTable_[type].tid; 88 int32_t tid = 0; member
|
/foundation/multimedia/media_foundation/src/osal/task/pthread/ |
H A D | thread.cpp | 106 pthread_t tid = pthread_self(); in IsRunningInSelf() local 108 return tid == id_; in IsRunningInSelf()
|
/foundation/resourceschedule/ffrt/test/ut/ |
H A D | qos_convert_test.cpp | 85 int tid = gettid(); in SetRssQos() local 95 struct TaskConfig threadData = {tid, level}; in SetRssQos()
|
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/process_group/src/ |
H A D | cgroup_map.cpp | 41 bool CgroupMap::SetThreadSchedPolicy(int tid, SchedPolicy policy, bool isThreadGroup) in SetThreadSchedPolicy() argument 46 if (!controller.SetThreadSchedPolicy(tid, policy, isThreadGroup)) { in SetThreadSchedPolicy()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/image/ |
H A D | gpu_context.h | 49 GPUResourceTag(uint32_t pid, uint32_t tid, uint32_t wid, uint32_t fid, const std::string& name) in GPUResourceTag() 50 : fPid(pid), fTid(tid), fWid(wid), fFid(fid), fName(name) {} in GPUResourceTag()
|