Home
last modified time | relevance | path

Searched refs:lock (Results 1 – 25 of 54) sorted by relevance

123

/developtools/profiler/device/services/profiler_service/src/
Dprofiler_data_repeater.cpp30 std::unique_lock<std::mutex> lock(mutex_); in Size() local
36 std::unique_lock<std::mutex> lock(mutex_); in Reset() local
43 std::unique_lock<std::mutex> lock(mutex_); in Close() local
53 std::unique_lock<std::mutex> lock(mutex_); in PutPluginData() local
61 slotCondVar_.wait(lock); in PutPluginData()
68 lock.unlock(); in PutPluginData()
76 std::unique_lock<std::mutex> lock(mutex_); in TakePluginData() local
78 itemCondVar_.wait(lock); in TakePluginData()
86 lock.unlock(); in TakePluginData()
94 std::unique_lock<std::mutex> lock(mutex_); in TakePluginData() local
[all …]
/developtools/profiler/device/services/plugin_service/src/
Dplugin_session.cpp55 std::unique_lock<std::mutex> lock(mutex_); in Create() local
59 auto pluginService = pluginService_.lock(); // promote to shared_ptr in Create()
79 std::unique_lock<std::mutex> lock(mutex_); in Destroy() local
84 auto pluginService = pluginService_.lock(); in Destroy()
102 std::unique_lock<std::mutex> lock(mutex_); in IsAvailable() local
108 std::unique_lock<std::mutex> lock(mutex_); in GetState() local
114 std::unique_lock<std::mutex> lock(mutex_); in Invalidate() local
120 std::unique_lock<std::mutex> lock(mutex_); in Start() local
124 auto pluginService = pluginService_.lock(); in Start()
137 std::unique_lock<std::mutex> lock(mutex_); in Refresh() local
[all …]
Dplugin_session_manager.cpp39 auto pluginSvc = pluginService_.lock(); in CheckPluginSha256()
97 std::unique_lock<std::mutex> lock(mutex_); in CreatePluginSessions() local
117 std::unique_lock<std::mutex> lock(mutex_); in CreatePluginSessions() local
127 std::unique_lock<std::mutex> lock(mutex_); in RemovePluginSessions() local
141 std::unique_lock<std::mutex> lock(mutex_); in InvalidatePluginSessions() local
158 std::unique_lock<std::mutex> lock(mutex_); in StartPluginSessions() local
176 std::unique_lock<std::mutex> lock(mutex_); in StopPluginSessions() local
193 std::unique_lock<std::mutex> lock(mutex_); in RefreshPluginSession() local
209 std::unique_lock<std::mutex> lock(mutex_); in CheckStatus() local
227 std::unique_lock<std::mutex> lock(mutex_); in GetStatus() local
Dplugin_service.cpp77 std::unique_lock<std::mutex> lock(mutex_); in GetSemaphore() local
293 std::unique_lock<std::mutex> lock(mutex_); in GetPluginContext() local
304 std::unique_lock<std::mutex> lock(mutex_); in GetPluginContextById() local
335 std::unique_lock<std::mutex> lock(mutex_); in AddPluginInfo() local
339 std::unique_lock<std::mutex> lock(mutex_); in AddPluginInfo() local
401 std::unique_lock<std::mutex> lock(mutex_); in RemovePluginInfo() local
501 std::unique_lock<std::mutex> lock(mutex_); in AppendResult() local
515 std::unique_lock<std::mutex> lock(mutex_); in GetPluginStatus() local
524 std::unique_lock<std::mutex> lock(mutex_); in GetPluginIdByName() local
/developtools/profiler/device/base/src/
Dstd_semaphore.cpp23 std::unique_lock<std::mutex> lock(mutex_); in Wait() local
25 condVar_.wait(lock); in Wait()
33 std::unique_lock<std::mutex> lock(mutex_); in TryWait() local
48 std::unique_lock<std::mutex> lock(mutex_); in TimedWait() local
53 condVar_.wait_until(lock, timePoint); in TimedWait()
61 std::unique_lock<std::mutex> lock(mutex_); in Post() local
Depoll_event_poller.cpp53 std::unique_lock<std::mutex> lock(mutex_); in AddFileDescriptor() local
60 std::unique_lock<std::mutex> lock(mutex_); in RemoveFileDescriptor() local
122 std::unique_lock<std::mutex> lock(mutex_); in Run() local
186 std::unique_lock<std::mutex> lock(mutex_); in Init() local
205 std::unique_lock<std::mutex> lock(mutex_); in Finalize() local
/developtools/profiler/device/plugins/native_daemon/src/
Dstack_data_repeater.cpp36 std::unique_lock<std::mutex> lock(mutex_); in Size() local
42 std::unique_lock<std::mutex> lock(mutex_); in Reset() local
49 std::unique_lock<std::mutex> lock(mutex_); in Close() local
61 std::unique_lock<std::mutex> lock(mutex_); in PutRawStack() local
68 slotCondVar_.wait(lock); in PutRawStack()
94 lock.unlock(); in PutRawStack()
103 std::unique_lock<std::mutex> lock(mutex_); in TakeRawData() local
105 itemCondVar_.wait(lock); in TakeRawData()
127 lock.unlock(); in TakeRawData()
Ddebug_logger.cpp111 std::lock_guard<std::mutex> lock(logMutex_); in Log() local
115 std::lock_guard<std::mutex> lock(logMutex_); in Log() local
171 std::lock_guard<std::mutex> lock(logMutex_); in SetLogPath() local
/developtools/hdc/src/common/
Dcircle_buffer.cpp41 std::unique_lock<std::mutex> lock(mutex_); in Malloc() local
73 std::unique_lock<std::mutex> lock(mutex_); in Free() local
82 std::unique_lock<std::mutex> lock(mutex_); in FreeMemory() local
133 std::unique_lock<std::mutex> lock(timerMutex_); in TimerSleep() local
134 timerCv_.wait_for(lock, std::chrono::seconds(1)); in TimerSleep()
139 std::unique_lock<std::mutex> lock(timerMutex_); in TimerNotify() local
Dfile_descriptor.cpp220 std::unique_lock<std::mutex> lock(writeMutex); in PushWrite() local
226 std::unique_lock<std::mutex> lock(writeMutex); in PopWrite() local
237 std::unique_lock<std::mutex> lock(writeMutex); in NotifyWrite() local
243 std::unique_lock<std::mutex> lock(writeMutex); in WaitWrite() local
244 writeCond.wait(lock, [&]() { return !writeQueue.empty() || !workContinue; }); in WaitWrite()
258 std::unique_lock<std::mutex> lock(writeMutex); in CtxFileIOWrite() local
Duart.h244 std::unique_lock<std::mutex> lock(mutex); in Request()
251 std::unique_lock<std::mutex> lock(mutex); in Sent()
327 std::unique_lock<std::mutex> lock(mutex); in Wait()
328 cv.wait(lock, [=] { return hasWaitPkg.find(sessionId) == hasWaitPkg.end(); }); in Wait()
334 std::unique_lock<std::mutex> lock(mutex); in Free()
342 std::unique_lock<std::mutex> lock(mutex); in WaitFree()
343 cv.wait_for(lock, std::chrono::milliseconds(WaitResponseTimeOutMs), in WaitFree()
/developtools/profiler/tools/smaps_show/
D.gitignore6 # Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
7 # More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
8 Cargo.lock
/developtools/profiler/device/plugins/ftrace_plugin/src/
Dftrace_module.cpp33 std::unique_lock<std::mutex> lock(g_mutex); in TracePluginRegisterWriter() local
44 std::unique_lock<std::mutex> lock(g_mutex); in TracePluginStartSession() local
59 std::unique_lock<std::mutex> lock(g_mutex); in TracePluginReportBasicData() local
70 std::unique_lock<std::mutex> lock(g_mutex); in TracePluginStopSession() local
Dresult_transporter.cpp99 std::unique_lock<std::mutex> lock(mutex_); in Submit() local
103 lock.unlock(); in Submit()
112 lock.unlock(); in Submit()
/developtools/profiler/device/plugins/api/src/
Dcommand_poller.cpp51 auto pluginManager = pluginManager_.lock(); // promote to shared_ptr in OnCreateSessionCmd()
82 auto pluginManager = pluginManager_.lock(); // promote to shared_ptr in OnDestroySessionCmd()
102 auto pluginManager = pluginManager_.lock(); // promote to shared_ptr in OnStartSessionCmd()
117 auto pluginManager = pluginManager_.lock(); // promote to shared_ptr in OnStopSessionCmd()
131 auto pluginManager = pluginManager_.lock(); // promote to shared_ptr in OnReportBasicDataCmd()
/developtools/integration_verification/tools/fotff/rec/
Dfotff_test.go37 lock sync.Mutex member
89 f.lock.Lock()
92 f.lock.Unlock()
120 f.lock.Lock()
123 f.lock.Unlock()
Dfotff.go69 var lock sync.Mutex
72 lock.Lock()
73 defer lock.Unlock()
/developtools/profiler/device/services/profiler_service/test/unittest/
Dplugin_service_stubs.cpp29 auto stub = instance.lock(); in GetInstance()
211 std::unique_lock<std::mutex> lock(mutex_); in GetPluginContext() local
222 std::unique_lock<std::mutex> lock(mutex_); in GetPluginContextById() local
250 std::unique_lock<std::mutex> lock(mutex_); in AddPluginInfo() local
254 std::unique_lock<std::mutex> lock(mutex_); in AddPluginInfo() local
299 std::unique_lock<std::mutex> lock(mutex_); in RemovePluginInfo() local
/developtools/profiler/device/plugins/ftrace_plugin/test/app/
Dbusy_workers.cpp51 std::unique_lock<std::mutex> lock(mutex_); in Down() local
53 cv_.wait(lock); in Down()
60 std::unique_lock<std::mutex> lock(mutex_); in Up() local
/developtools/hiperf/src/
Dsubcommand.cpp169 std::lock_guard<std::mutex> lock(g_subCommandMutex); in RegisterSubCommand() local
180 std::lock_guard<std::mutex> lock(g_subCommandMutex); in ClearSubCommands() local
192 std::lock_guard<std::mutex> lock(g_subCommandMutex); in FindSubCommand() local
Ddebug_logger.cpp110 std::lock_guard<std::recursive_mutex> lock(logMutex_); in Log() local
114 std::lock_guard<std::recursive_mutex> lock(logMutex_); in Log() local
172 std::lock_guard<std::recursive_mutex> lock(logMutex_); in SetLogPath() local
250 std::lock_guard<std::recursive_mutex> lock(logMutex_); in OpenLog() local
/developtools/profiler/hiebpf/src/
Dbpf_event_receiver.cpp84 auto file = file_.lock(); in ReceiveFSTraceEvent()
108 auto file = file_.lock(); in ReceivePFTraceEvent()
131 auto file = file_.lock(); in ReceiveBIOTraceEvent()
157 auto file = file_.lock(); in ReceiveSTRTraceEvent()
191 auto file = file_.lock(); in WriteEventMaps()
224 auto file = file_.lock(); in WriteSymbolInfo()
/developtools/hdc/src/daemon/
Djdwp.cpp52 freeContextMutex.lock(); in Stop()
155 thisClass->freeContextMutex.lock(); in ReadStream()
165 thisClass->freeContextMutex.lock(); in ReadStream()
196 thisClass->freeContextMutex.lock(); in AcceptClient()
539 thisClass->freeContextMutex.lock(); in FdEventPollThread()
559 thisClass->freeContextMutex.lock(); in FdEventPollThread()
599 freeContextMutex.lock(); in Initial()
/developtools/smartperf_host/
D.gitignore8 ide/package-lock.json
/developtools/smartperf_host/ide/test/trace/component/chart/
DSpHiSysEventChart.test.ts120 let lock = [ variable
156 querySystemLockData.mockResolvedValue(lock);

123