Home | History | Annotate | Download | only in base

Lines Matching full:births

217 Births::Births(const Location& location, const ThreadData& current)
221 int Births::birth_count() const { return birth_count_; }
223 void Births::RecordBirth() { ++birth_count_; }
225 void Births::ForgetBirth() { --birth_count_; }
227 void Births::Clear() { birth_count_ = 0; }
230 // ThreadData maintains the central data for all births and deaths on a single
388 // Add births that have run to completion to |collected_data|.
389 // |birth_counts| tracks the total number of births recorded at each location
394 // Add births that are still active -- i.e. objects that have tallied a birth,
406 Births* ThreadData::TallyABirth(const Location& location) {
408 Births* child;
413 child = new Births(location, *this); // Leak this.
422 const Births* parent = parent_stack_.top();
435 void ThreadData::TallyADeath(const Births& birth,
442 random_number_ ^= static_cast<int32>(&birth - reinterpret_cast<Births*>(0));
469 Births* ThreadData::TallyABirthIfActive(const Location& location) {
489 // Even if we have been DEACTIVATED, we will process any pending births so
490 // that our data structures (which counted the outstanding births) remain
492 const Births* birth = completed_task.birth_tally;
517 const Births* birth,
524 // Even if we have been DEACTIVATED, we will process any pending births so
525 // that our data structures (which counted the outstanding births) remain
555 const Births* birth,
561 // Even if we have been DEACTIVATED, we will process any pending births so
562 // that our data structures (which counted the outstanding births) remain
761 TrackedTime ThreadData::NowForStartOfRun(const Births* parent) {