Home | History | Annotate | Download | only in base

Lines Matching refs:Births

48 // Next, a Births instance is created for use ONLY on the thread where this
49 // instance was created. That Births instance records (in a base class
52 // Hence there is at most one Births instance for each Location on each thread.
53 // The derived Births class contains slots for recording statistics about all
60 // Having now either constructed or found the Births instance described above, a
61 // pointer to the Births instance is then embedded in a base class of the
73 // rather we only need one Births instance for each thread that constructs an
89 // Births instances, and is able to avoid additional (redundant/unnecessary)
94 // are lists of DeathData and Births instances. These lists are maintained in
120 // For a given birth location, information about births are spread across data
173 // The thread that records births into this object. Only this thread is
181 // A class for accumulating counts of births (without bothering with a map<>).
183 class BASE_API Births: public BirthOnThread {
185 explicit Births(const Location& location);
200 // The number of births on this thread for our location_.
203 DISALLOW_COPY_AND_ASSIGN(Births);
217 // threads, we create DeathData stats that tally the number of births without
322 // The total number of births recorded at each location for which we have not
341 void AddBirths(const Births& births);
470 typedef std::map<Location, Births*> BirthMap;
471 typedef std::map<const Births*, DeathData> DeathMap;
493 Births* TallyABirth(const Location& location);
496 void TallyADeath(const Births& lifetimes, const base::TimeDelta& duration);
521 // Using the "known list of threads" gathered during births and deaths, the
598 // A map used on each thread to keep track of Births on this thread.