Searched refs:birth (Results 1 - 9 of 9) sorted by relevance

/external/javassist/sample/reflect/
H A DPerson.java13 public static int birth = 3; field in class:Person
23 birth = birthYear;
31 return year - birth;
/external/chromium_org/components/metrics/profiler/
H A Dprofiler_metrics_provider_unittest.cc30 process_data.tasks.back().birth.location.file_name = "a/b/file.h";
31 process_data.tasks.back().birth.location.function_name = "function";
32 process_data.tasks.back().birth.location.line_number = 1337;
33 process_data.tasks.back().birth.thread_name = "birth_thread";
43 process_data.tasks.back().birth.location.file_name = "c\\d\\file2";
44 process_data.tasks.back().birth.location.function_name = "function2";
45 process_data.tasks.back().birth.location.line_number = 1773;
46 process_data.tasks.back().birth.thread_name = "birth_thread2";
65 process_data.tasks.back().birth.location.file_name = "file3";
66 process_data.tasks.back().birth
[all...]
H A Dprofiler_metrics_provider.cc90 MetricsLog::Hash(MapThreadName(it->birth.thread_name)));
95 it->birth.location.file_name)));
97 MetricsLog::Hash(it->birth.location.function_name));
98 tracked_object->set_source_line_number(it->birth.location.line_number);
/external/chromium_org/base/
H A Dtracked_objects_unittest.cc49 // Simulate a birth on the thread named |thread_name|, at the given
57 // Do not delete |birth|. We don't own it.
58 Births* birth = ThreadData::TallyABirthIfActive(location); local
61 EXPECT_EQ(reinterpret_cast<Births*>(NULL), birth); local
63 EXPECT_NE(reinterpret_cast<Births*>(NULL), birth); local
76 EXPECT_EQ(kFile, process_data.tasks[0].birth.location.file_name);
78 process_data.tasks[0].birth.location.function_name);
79 EXPECT_EQ(kLineNumber, process_data.tasks[0].birth.location.line_number);
81 EXPECT_EQ(birth_thread, process_data.tasks[0].birth.thread_name);
176 EXPECT_EQ(1u, birth_map.size()); // 1 birth locatio
480 Births* birth = ThreadData::TallyABirthIfActive(location); local
481 EXPECT_NE(reinterpret_cast<Births*>(NULL), birth); local
[all...]
H A Dtracked_objects.cc208 const tracked_objects::BirthOnThread& birth)
209 : location(birth.location()),
210 thread_name(birth.birth_thread()->thread_name()) {
399 // Add births that are still active -- i.e. objects that have tallied a birth,
440 void ThreadData::TallyADeath(const Births& birth, argument
449 random_number_ ^= static_cast<int32>(&birth - reinterpret_cast<Births*>(0));
461 DeathMap::iterator it = death_map_.find(&birth);
467 death_data = &death_map_[&birth];
474 DCHECK_EQ(parent_stack_.top(), &birth);
502 const Births* birth local
207 BirthOnThreadSnapshot( const tracked_objects::BirthOnThread& birth) argument
524 TallyRunOnWorkerThreadIfTracking( const Births* birth, const TrackedTime& time_posted, const TaskStopwatch& stopwatch) argument
559 TallyRunInAScopedRegionIfTracking( const Births* birth, const TaskStopwatch& stopwatch) argument
938 TaskSnapshot(const BirthOnThread& birth, const DeathData& death_data, const std::string& death_thread_name) argument
[all...]
H A Dtracked_objects.h30 // that are tracked. Tracking means their birth, death, duration, birth thread,
31 // death thread, and birth place are recorded. This data is carefully spread
49 // to specify the birth place (file, line, function) where the instance was
60 // as well as a pointer specifying the thread on which the birth takes place.
68 // be handled carefully, and stats are updated exclusively on the birth thread).
74 // addition, the birth time is also recorded and used to later evaluate the
76 // can find out a Task's location of birth, and thread of birth, without using
91 // collection of DeathData instances. For each birth plac
342 BirthOnThreadSnapshot birth; member in struct:tracked_objects::TaskSnapshot
[all...]
/external/chromium_org/chrome/browser/task_profiler/
H A Dtask_profiler_data_serializer.cc39 // Re-serializes the |birth| into |dictionary|. Prepends the |prefix| to the
41 void BirthOnThreadSnapshotToValue(const BirthOnThreadSnapshot& birth, argument
47 LocationSnapshotToValue(birth.location, location_value.get());
50 dictionary->Set(prefix + "_thread", new base::StringValue(birth.thread_name));
68 BirthOnThreadSnapshotToValue(snapshot.birth, "birth", dictionary);
H A Dtask_profiler_data_serializer_unittest.cc75 process_data.tasks.back().birth = parent;
87 process_data.tasks.back().birth = child;
/external/chromium_org/content/common/
H A Dchild_process_messages.h44 IPC_STRUCT_TRAITS_MEMBER(birth)

Completed in 177 milliseconds