Home
last modified time | relevance | path

Searched refs:stats_mutex (Results 1 – 2 of 2) sorted by relevance

/system/bt/osi/src/
Dwakelock.cc83 static std::mutex stats_mutex; variable
240 std::lock_guard<std::mutex> lock(stats_mutex); in reset_wakelock_stats()
267 std::lock_guard<std::mutex> lock(stats_mutex); in update_wakelock_acquired_stats()
297 std::lock_guard<std::mutex> lock(stats_mutex); in update_wakelock_released_stats()
331 std::lock_guard<std::mutex> lock(stats_mutex); in wakelock_debug_dump()
/system/extras/ioshark/
Dioshark_bench.c91 pthread_mutex_t stats_mutex = PTHREAD_MUTEX_INITIALIZER; variable
124 pthread_mutex_lock(&stats_mutex); in update_op_counts()
127 pthread_mutex_unlock(&stats_mutex); in update_op_counts()
133 pthread_mutex_lock(&stats_mutex); in update_byte_counts()
136 pthread_mutex_unlock(&stats_mutex); in update_byte_counts()