41 tid_.store(
static_cast<int>(syscall(SYS_gettid)));
42 AINFO <<
"processor_tid: " << tid_;
43 snap_shot_->processor_id.store(tid_);
47 auto croutine = context_->NextRoutine();
50 snap_shot_->routine_name = croutine->name();
54 snap_shot_->execute_start_time.store(0);
58 std::unique_lock<std::mutex> lk(mtx_ctx_);
59 cv_ctx_.wait_for(lk, std::chrono::milliseconds(10));