Lines Matching refs:Activity
253 void Activity::FillFrom(Activity* activity, in FillFrom()
612 OwningProcess::kExpectedInstanceSize + Activity::kExpectedInstanceSize +
651 Activity last_exception;
667 Activity::Type type, in ScopedActivity()
680 Activity::Type type, in ChangeTypeAndData()
688 stack_(reinterpret_cast<Activity*>(reinterpret_cast<char*>(base) + in ThreadActivityTracker()
694 static_cast<uint32_t>((size - sizeof(Header)) / sizeof(Activity))) { in ThreadActivityTracker()
701 size < sizeof(Header) + kMinStackDepth * sizeof(Activity) || in ThreadActivityTracker()
703 (size - sizeof(Header)) / sizeof(Activity) > in ThreadActivityTracker()
718 static_assert(offsetof(Activity, data) % sizeof(uint64_t) == 0, in ThreadActivityTracker()
768 Activity::Type type, in PushActivity()
772 DCHECK(type == Activity::ACT_LOCK_ACQUIRE || CalledOnValidThread()); in PushActivity()
790 Activity::FillFrom(&stack_[depth], program_counter, origin, type, data); in PushActivity()
803 Activity::Type type, in ChangeActivity()
806 DCHECK(type != Activity::ACT_NULL || &data != &kNullActivityData); in ChangeActivity()
811 Activity* activity = &stack_[id]; in ChangeActivity()
813 if (type != Activity::ACT_NULL) { in ChangeActivity()
814 DCHECK_EQ(activity->activity_type & Activity::ACT_CATEGORY_MASK, in ChangeActivity()
815 type & Activity::ACT_CATEGORY_MASK); in ChangeActivity()
839 DCHECK(stack_[depth].activity_type == Activity::ACT_LOCK_ACQUIRE || in PopActivity()
854 if (stack_[id].activity_type == Activity::ACT_LOCK_ACQUIRE) { in GetUserData()
884 Activity::Type type, in RecordExceptionActivity()
891 Activity::FillFrom(&header_->last_exception, program_counter, origin, type, in RecordExceptionActivity()
957 count * sizeof(Activity)); in CreateSnapshot()
962 sizeof(Activity)); in CreateSnapshot()
1005 for (Activity& activity : output_snapshot->activity_stack) { in CreateSnapshot()
1047 return static_cast<size_t>(stack_depth) * sizeof(Activity) + sizeof(Header); in SizeForStackDepth()
1060 Activity* activity, in CreateUserDataForActivity()
1194 Activity::Type type, in ScopedThreadActivity()
1735 tracker->RecordExceptionActivity(pc, origin, Activity::ACT_EXCEPTION, in RecordExceptionImpl()
1751 static_cast<Activity::Type>(Activity::ACT_GENERIC | action), in ScopedActivity()
1756 DCHECK_EQ(0, action & Activity::ACT_CATEGORY_MASK); in ScopedActivity()
1760 DCHECK_EQ(0, action & Activity::ACT_CATEGORY_MASK); in ChangeAction()
1761 ChangeTypeAndData(static_cast<Activity::Type>(Activity::ACT_GENERIC | action), in ChangeAction()
1766 ChangeTypeAndData(Activity::ACT_NULL, ActivityData::ForGeneric(id_, info)); in ChangeInfo()
1770 DCHECK_EQ(0, action & Activity::ACT_CATEGORY_MASK); in ChangeActionAndInfo()
1771 ChangeTypeAndData(static_cast<Activity::Type>(Activity::ACT_GENERIC | action), in ChangeActionAndInfo()
1781 Activity::ACT_TASK_RUN, in ScopedTaskRunActivity()
1791 Activity::ACT_LOCK_ACQUIRE, in ScopedLockAcquireActivity()
1801 Activity::ACT_EVENT_WAIT, in ScopedEventWaitActivity()
1811 Activity::ACT_THREAD_JOIN, in ScopedThreadJoinActivity()
1822 Activity::ACT_PROCESS_WAIT, in ScopedProcessWaitActivity()