Home | History | Annotate | Download | only in base

Lines Matching defs:Births

57 // Next, a Births instance is created for use ONLY on the thread where this
58 // instance was created. That Births instance records (in a base class
61 // Hence there is at most one Births instance for each Location on each thread.
62 // The derived Births class contains slots for recording statistics about all
70 // For Tasks, having now either constructed or found the Births instance
71 // described above, a pointer to the Births instance is then recorded into the
85 // rather we only need one Births instance for each thread that constructs an
101 // Births instances, and is able to avoid additional (redundant/unnecessary)
106 // are lists of DeathData and Births instances. These lists are maintained in
141 // For a given birth location, information about births is spread across data
212 // The thread that records births into this object. Only this thread is
232 // A class for accumulating counts of births (without bothering with a map<>).
234 class BASE_EXPORT Births: public BirthOnThread {
236 Births(const Location& location, const ThreadData& current);
251 // The number of births on this thread for our location_.
254 DISALLOW_COPY_AND_ASSIGN(Births);
268 // threads, we create DeathData stats that tally the number of births without
367 typedef std::map<Location, Births*> BirthMap;
368 typedef std::map<const Births*, DeathData> DeathMap;
369 typedef std::pair<const Births*, const Births*> ParentChildPair;
371 typedef std::stack<const Births*> ParentStack;
375 // set *before* any births on the threads have taken place. It is generally
390 // Finds (or creates) a place to count births from the given location in this
393 static Births* TallyABirthIfActive(const Location& location);
396 // a pointer to a Births, the time_posted, and a delayed_start_time if any.
416 const Births* birth,
424 const Births* birth,
468 static TrackedTime NowForStartOfRun(const Births* parent);
522 Births* TallyABirth(const Location& location);
525 void TallyADeath(const Births& birth, int32 queue_duration, int32 duration);
541 // births for the task that have not yet been balanced by a death. If
641 // A map used on each thread to keep track of Births on this thread.
654 // corresponds to potentially non-local Births (location and thread), and a
655 // local Births (that took place on this thread).