Home
last modified time | relevance | path

Searched defs:guard (Results 1 – 25 of 25) sorted by relevance

/developtools/profiler/device/services/profiler_service/src/
Dprofiler_capability_manager.cpp34 std::lock_guard<std::mutex> guard(mutex_); in AddCapability() local
47 std::lock_guard<std::mutex> guard(mutex_); in GetCapability() local
58 std::lock_guard<std::mutex> guard(mutex_); in GetCapabilities() local
64 std::lock_guard<std::mutex> guard(mutex_); in UpdateCapability() local
77 std::lock_guard<std::mutex> guard(mutex_); in RemoveCapability() local
/developtools/profiler/device/plugins/cpu_plugin/src/
Dcpu_module.cpp28 std::lock_guard<std::mutex> guard(g_taskMutex); in CpuDataPluginSessionStart() local
35 std::lock_guard<std::mutex> guard(g_taskMutex); in CpuPluginReportResult() local
42 std::lock_guard<std::mutex> guard(g_taskMutex); in CpuPluginReportResultOptimize() local
48 std::lock_guard<std::mutex> guard(g_taskMutex); in CpuPluginSessionStop() local
/developtools/profiler/device/plugins/diskio_plugin/src/
Ddiskio_module.cpp28 std::lock_guard<std::mutex> guard(g_taskMutex); in DiskioDataPluginSessionStart() local
35 std::lock_guard<std::mutex> guard(g_taskMutex); in DiskioPluginReportResult() local
42 std::lock_guard<std::mutex> guard(g_taskMutex); in DiskioPluginReportResultOptimize() local
48 std::lock_guard<std::mutex> guard(g_taskMutex); in DiskioPluginSessionStop() local
/developtools/profiler/device/plugins/xpower_plugin/src/
Dxpower_module.cpp31 std::lock_guard<std::mutex> guard(g_taskMutex); in XpowerPluginSessionStart() local
40 std::lock_guard<std::mutex> guard(g_taskMutex); in XpowerPluginReportResult() local
49 std::lock_guard<std::mutex> guard(g_taskMutex); in XpowerPluginSessionStop() local
56 std::lock_guard<std::mutex> guard(g_taskMutex); in XpowerRegisterWriterStruct() local
/developtools/profiler/device/plugins/gpu_plugin/src/
Dgpu_module.cpp27 std::lock_guard<std::mutex> guard(g_taskMutex); in GpuDataPluginSessionStart() local
34 std::lock_guard<std::mutex> guard(g_taskMutex); in GpuPluginReportResult() local
41 std::lock_guard<std::mutex> guard(g_taskMutex); in GpuPluginReportResultOptimize() local
47 std::lock_guard<std::mutex> guard(g_taskMutex); in GpuPluginSessionStop() local
/developtools/profiler/device/plugins/memory_plugin/src/
Dmemory_module.cpp28 std::lock_guard<std::mutex> guard(g_taskMutex); in MemDataPluginSessionStart() local
35 std::lock_guard<std::mutex> guard(g_taskMutex); in MemPluginReportResult() local
42 std::lock_guard<std::mutex> guard(g_taskMutex); in MemPluginReportResultOptimize() local
48 std::lock_guard<std::mutex> guard(g_taskMutex); in MemPluginSessionStop() local
/developtools/profiler/device/plugins/network_plugin/src/
Dnetwork_module.cpp29 std::lock_guard<std::mutex> guard(g_taskMutex); in NetworkPluginSessionStart() local
36 std::lock_guard<std::mutex> guard(g_taskMutex); in NetworkPluginReportResult() local
45 std::lock_guard<std::mutex> guard(g_taskMutex); in NetworkPluginReportResultOptimize() local
51 std::lock_guard<std::mutex> guard(g_taskMutex); in NetworkPluginSessionStop() local
/developtools/profiler/device/plugins/sample_plugin/src/
Dsample_module.cpp30 std::lock_guard<std::mutex> guard(g_taskMutex); in SamplePluginSessionStart() local
37 std::lock_guard<std::mutex> guard(g_taskMutex); in SamplePluginReportResult() local
43 std::lock_guard<std::mutex> guard(g_taskMutex); in SamplePluginReportResultOptimize() local
49 std::lock_guard<std::mutex> guard(g_taskMutex); in SamplePluginSessionStop() local
/developtools/profiler/device/plugins/process_plugin/src/
Dprocess_module.cpp29 std::lock_guard<std::mutex> guard(g_taskMutex); in ProcessDataPluginSessionStart() local
36 std::lock_guard<std::mutex> guard(g_taskMutex); in ProcessPluginReportResult() local
45 std::lock_guard<std::mutex> guard(g_taskMutex); in ProcessPluginReportResultOptimize() local
51 std::lock_guard<std::mutex> guard(g_taskMutex); in ProcessPluginSessionStop() local
/developtools/profiler/interfaces/kits/test/unittest/
Dplugin_module_api_test.cpp93 std::lock_guard<std::mutex> guard(g_taskMutex); in MemDataPluginSessionStart() local
100 std::lock_guard<std::mutex> guard(g_taskMutex); in MemPluginReportResult() local
106 std::lock_guard<std::mutex> guard(g_taskMutex); in MemPluginSessionStop() local
116 std::lock_guard<std::mutex> guard(g_taskMutex); in StreamPluginSessionStart() local
123 std::lock_guard<std::mutex> guard(g_taskMutex); in StreamPluginSessionStop() local
131 std::lock_guard<std::mutex> guard(g_taskMutex); in StreamRegisterWriterStruct() local
153 std::lock_guard<std::mutex> guard(g_taskMutex); in SamplePluginSessionStart() local
160 std::lock_guard<std::mutex> guard(g_taskMutex); in SamplePluginReportResult() local
166 std::lock_guard<std::mutex> guard(g_taskMutex); in SamplePluginSessionStop() local
/developtools/profiler/device/plugins/hisysevent_plugin/src/
Dhisysevent_module.cpp28 std::lock_guard<std::mutex> guard(g_taskMutex); in HisyseventSessionStart() local
35 std::lock_guard<std::mutex> guard(g_taskMutex); in HisyseventSessionStop() local
44 std::lock_guard<std::mutex> guard(g_taskMutex); in HisyseventRegisterWriterStruct() local
/developtools/profiler/device/plugins/arkts_plugin/src/
Darkts_module.cpp30 std::lock_guard<std::mutex> guard(g_taskMutex); in ArkTSPluginSessionStart() local
37 std::lock_guard<std::mutex> guard(g_taskMutex); in ArkTSPluginSessionStop() local
45 std::lock_guard<std::mutex> guard(g_taskMutex); in ArkTSPluginRegisterWriterStruct() local
/developtools/profiler/device/plugins/stream_plugin/src/
Dstream_module.cpp29 std::lock_guard<std::mutex> guard(g_taskMutex); in StreamPluginSessionStart() local
35 std::lock_guard<std::mutex> guard(g_taskMutex); in StreamPluginSessionStop() local
43 std::lock_guard<std::mutex> guard(g_taskMutex); in StreamRegisterWriterStruct() local
/developtools/profiler/device/plugins/hidump_plugin/src/
Dhidump_module.cpp29 std::lock_guard<std::mutex> guard(g_taskMutex); in HidumpSessionStart() local
36 std::lock_guard<std::mutex> guard(g_taskMutex); in HidumpSessionStop() local
45 std::lock_guard<std::mutex> guard(g_taskMutex); in HidumpRegisterWriterStruct() local
/developtools/profiler/device/plugins/hilog_plugin/src/
Dhilog_module.cpp30 std::lock_guard<std::mutex> guard(g_taskMutex); in HilogPluginSessionStart() local
37 std::lock_guard<std::mutex> guard(g_taskMutex); in HilogPluginSessionStop() local
46 std::lock_guard<std::mutex> guard(g_taskMutex); in HilogPluginRegisterWriterStruct() local
/developtools/profiler/device/base/src/
Dschedule_task_manager.cpp55 std::lock_guard<std::mutex> guard(mtx_); in Shutdown() local
101 std::lock_guard<std::mutex> guard(mtx_); in ScheduleTask() local
108 std::lock_guard<std::mutex> guard(mtx_); in UnscheduleTask() local
143 std::lock_guard<std::mutex> guard(mtx_); in ScheduleThread() local
/developtools/profiler/device/plugins/native_daemon/src/
Dstack_preprocess.cpp156 std::lock_guard<std::mutex> guard(mtx_); in IntervalFlushRecordStatistics() local
182 std::lock_guard<std::mutex> guard(mtx_); in HandleNoStackEvent() local
227 std::lock_guard<std::mutex> guard(mtx_); in TakeResultsFromShmem() local
231 std::lock_guard<std::mutex> guard(mtx_); in TakeResultsFromShmem() local
273 std::lock_guard<std::mutex> guard(mtx_); in TakeResults() local
326 std::lock_guard<std::mutex> guard(mtx_); in TakeResults() local
371 std::lock_guard<std::mutex> guard(mtx_); in ReportThreadNameMap() local
472 std::lock_guard<std::mutex> guard(mtx_); in GetCallStackId() local
518 std::lock_guard<std::mutex> guard(mtx_); in SetAllocStatisticsFrame() local
539 std::lock_guard<std::mutex> guard(mtx_); in SetAllocStatisticsFrame() local
[all …]
/developtools/profiler/device/plugins/native_daemon/native_memory_profiler_sa/src/
Dnative_memory_profiler_sa_service.cpp110 std::lock_guard<std::mutex> guard(mtx_); in StopHook() local
153 std::lock_guard<std::mutex> guard(mtx_); in StartHook() local
265 std::lock_guard<std::mutex> guard(mtx_); in FillTaskConfigContext() local
307 std::lock_guard<std::mutex> guard(mtx_); in ProtocolProc() local
/developtools/profiler/device/plugins/hiebpf_plugin/src/
Dhiebpf_module.cpp56 std::lock_guard<std::mutex> guard(g_taskMutex); in HiebpfSessionStart() local
89 std::lock_guard<std::mutex> guard(g_taskMutex); in HiebpfSessionStop() local
/developtools/profiler/device/plugins/api/src/
Dplugin_watcher.cpp98 std::lock_guard<std::mutex> guard(mtx_); in WatchPlugins() local
115 std::unique_lock<std::mutex> guard(mtx_, std::adopt_lock); in MonitorIsSet() local
/developtools/profiler/device/plugins/bytrace_plugin/src/
Dbytrace_module.cpp131 std::lock_guard<std::mutex> guard(g_taskMutex); in BytracePluginSessionStart() local
144 std::lock_guard<std::mutex> guard(g_taskMutex); in BytracePluginSessionStop() local
/developtools/profiler/device/plugins/hiperf_plugin/src/
Dhiperf_module.cpp117 std::lock_guard<std::mutex> guard(g_taskMutex); in HiperfPluginSessionStart() local
145 std::lock_guard<std::mutex> guard(g_taskMutex); in HiperfPluginSessionStop() local
/developtools/hdc/hdc_rust/src/host/
Dtask.rs516 let guard = info.lock().await; in get_list() localVariable
546 let guard = daemon_info.lock().await; in get_session_id() localVariable
/developtools/profiler/device/plugins/native_hook/src/
Dhook_client.cpp230 std::lock_guard<std::recursive_timed_mutex> guard(g_ClientMutex); in ohos_malloc_hook_on_start() local
269 std::lock_guard<std::recursive_timed_mutex> guard(g_ClientMutex); in ohos_release_on_end() local
/developtools/profiler/hiebpf/include/
Dvmlinux.h61891 __s32 guard; member