Home | History | Annotate | Download | only in base

Lines Matching refs:births

262 Births::Births(const Location& location, const ThreadData& current)
266 int Births::birth_count() const { return birth_count_; }
268 void Births::RecordBirth() { ++birth_count_; }
271 // ThreadData maintains the central data for all births and deaths on a single
449 // Add births that are still active -- i.e. objects that have tallied a birth,
480 Births* ThreadData::TallyABirth(const Location& location) {
482 Births* child;
487 child = new Births(location, *this); // Leak this.
497 void ThreadData::TallyADeath(const Births& births,
507 static_cast<uint32_t>(&births - reinterpret_cast<Births*>(0));
509 DeathMap::iterator it = death_map_.find(&births);
515 death_data = &death_map_[&births];
521 Births* ThreadData::TallyABirthIfActive(const Location& location) {
534 // Even if we have been DEACTIVATED, we will process any pending births so
535 // that our data structures (which counted the outstanding births) remain
537 const Births* births = completed_task.birth_tally;
538 if (!births)
555 current_thread_data->TallyADeath(*births, queue_duration, stopwatch);
560 const Births* births,
563 // Even if we have been DEACTIVATED, we will process any pending births so
564 // that our data structures (which counted the outstanding births) remain
566 if (!births)
587 current_thread_data->TallyADeath(*births, queue_duration, stopwatch);
592 const Births* births,
594 // Even if we have been DEACTIVATED, we will process any pending births so
595 // that our data structures (which counted the outstanding births) remain
597 if (!births)
605 current_thread_data->TallyADeath(*births, queue_duration, stopwatch);