Searched defs:Births (Results 1 - 2 of 2) sorted by relevance

/external/libchrome/base/
H A Dtracked_objects.h63 // Next, a Births instance is created for use ONLY on the thread where this
64 // instance was created. That Births instance records (in a base class
67 // Hence there is at most one Births instance for each Location on each thread.
68 // The derived Births class contains slots for recording statistics about all
76 // For Tasks, having now either constructed or found the Births instance
77 // described above, a pointer to the Births instance is then recorded into the
91 // rather we only need one Births instance for each thread that constructs an
107 // of Births instances, and is able to avoid additional (redundant/unnecessary)
112 // are lists of DeathData and Births instances. These lists are maintained in
236 class BASE_EXPORT Births class in namespace:tracked_objects
[all...]
H A Dtracked_objects.cc270 Births::Births(const Location& location, const ThreadData& current) function in class:tracked_objects::Births
274 int Births::birth_count() const { return birth_count_; }
276 void Births::RecordBirth() { ++birth_count_; }
489 Births* ThreadData::TallyABirth(const Location& location) {
491 Births* child;
496 child = new Births(location, *this); // Leak this.
506 void ThreadData::TallyADeath(const Births& births,
516 static_cast<uint32_t>(&births - reinterpret_cast<Births*>(0));
540 Births* ThreadDat
[all...]

Completed in 204 milliseconds