Home | History | Annotate | Download | only in base

Lines Matching refs:births

62 // Next, a Births instance is created for use ONLY on the thread where this
63 // instance was created. That Births instance records (in a base class
66 // Hence there is at most one Births instance for each Location on each thread.
67 // The derived Births class contains slots for recording statistics about all
75 // For Tasks, having now either constructed or found the Births instance
76 // described above, a pointer to the Births instance is then recorded into the
90 // rather we only need one Births instance for each thread that constructs an
106 // of Births instances, and is able to avoid additional (redundant/unnecessary)
111 // are lists of DeathData and Births instances. These lists are maintained in
146 // For a given birth location, information about births is spread across data
213 // The thread that records births into this object. Only this thread is
233 // A class for accumulating counts of births (without bothering with a map<>).
235 class BASE_EXPORT Births: public BirthOnThread {
237 Births(const Location& location, const ThreadData& current);
245 // The number of births on this thread for our location_.
248 DISALLOW_COPY_AND_ASSIGN(Births);
448 typedef base::hash_map<Location, Births*, Location::Hash> BirthMap;
449 typedef std::map<const Births*, DeathData> DeathMap;
453 // set *before* any births on the threads have taken place. It is generally
480 // Finds (or creates) a place to count births from the given location in this
483 static Births* TallyABirthIfActive(const Location& location);
486 // a pointer to a Births, the time_posted, and a delayed_start_time if any.
504 static void TallyRunOnWorkerThreadIfTracking(const Births* births,
510 static void TallyRunInAScopedRegionIfTracking(const Births* births,
559 typedef std::vector<std::pair<const Births*, DeathDataPhaseSnapshot>>
583 Births* TallyABirth(const Location& location);
586 void TallyADeath(const Births& births,
596 // number of births for the task that have not yet been balanced by a death.
692 // A map used on each thread to keep track of Births on this thread.