OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Births
(Results
1 - 5
of
5
) sorted by null
/external/chromium_org/base/
tracking_info.h
20
class
Births
;
44
tracked_objects::
Births
* birth_tally;
tracked_objects.h
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 dat
[
all
...]
tracked_objects.cc
217
Births
::
Births
(const Location& location, const ThreadData& current)
221
int
Births
::birth_count() const { return birth_count_; }
223
void
Births
::RecordBirth() { ++birth_count_; }
225
void
Births
::ForgetBirth() { --birth_count_; }
227
void
Births
::Clear() { birth_count_ = 0; }
230
// ThreadData maintains the central data for all
births
and deaths on a single
388
// Add
births
that have run to completion to |collected_data|.
389
// |birth_counts| tracks the total number of
births
recorded at each location
394
// Add
births
that are still active -- i.e. objects that have tallied a birth
[
all
...]
tracked_objects_unittest.cc
53
Births
* birth = ThreadData::TallyABirthIfActive(location);
56
EXPECT_EQ(reinterpret_cast<
Births
*>(NULL), birth);
58
EXPECT_NE(reinterpret_cast<
Births
*>(NULL), birth);
145
Births
* first_birth = ThreadData::TallyABirthIfActive(location);
179
EXPECT_EQ(2, birth_map.begin()->second->birth_count()); // 2
births
.
190
// The
births
were at the same location as the one known death.
364
// our tallied
births
are matched by tallied deaths (except for when the
382
// Turn off tracking now that we have
births
.
437
Births
* birth = ThreadData::TallyABirthIfActive(location);
438
EXPECT_NE(reinterpret_cast<
Births
*>(NULL), birth)
[
all
...]
/external/chromium_org/base/profiler/
scoped_profile.h
48
class
Births
;
59
Births
* birth_; // Place in code where tracking started.
Completed in 598 milliseconds