Home
last modified time | relevance | path

Searched refs:Births (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/base/
Dtracked_objects.h235 class BASE_EXPORT Births: public BirthOnThread {
237 Births(const Location& location, const ThreadData& current);
248 DISALLOW_COPY_AND_ASSIGN(Births);
448 typedef base::hash_map<Location, Births*, Location::Hash> BirthMap;
449 typedef std::map<const Births*, DeathData> DeathMap;
483 static Births* TallyABirthIfActive(const Location& location);
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);
[all …]
Dtracked_objects.cc262 Births::Births(const Location& location, const ThreadData& current) in Births() function in tracked_objects::Births
266 int Births::birth_count() const { return birth_count_; } in birth_count()
268 void Births::RecordBirth() { ++birth_count_; } in RecordBirth()
480 Births* ThreadData::TallyABirth(const Location& location) { in TallyABirth()
482 Births* child; in TallyABirth()
487 child = new Births(location, *this); // Leak this. in TallyABirth()
497 void ThreadData::TallyADeath(const Births& births, in TallyADeath()
507 static_cast<uint32_t>(&births - reinterpret_cast<Births*>(0)); in TallyADeath()
521 Births* ThreadData::TallyABirthIfActive(const Location& location) { in TallyABirthIfActive()
537 const Births* births = completed_task.birth_tally; in TallyRunOnNamedThreadIfTracking()
[all …]
Dtracking_info.h20 class Births; variable
45 tracked_objects::Births* birth_tally;
Dtracked_objects_unittest.cc59 Births* birth = ThreadData::TallyABirthIfActive(location); in TallyABirth()
62 EXPECT_EQ(reinterpret_cast<Births*>(NULL), birth); in TallyABirth()
64 EXPECT_NE(reinterpret_cast<Births*>(NULL), birth); in TallyABirth()
/external/libchrome/base/profiler/
Dscoped_profile.h43 class Births; variable
58 Births* birth_; // Place in code where tracking started.