Lines Matching refs:profiler
168 CpuProfiler profiler(isolate, profiles, &generator, processor.get()); in TEST() local
173 profiler.CodeCreateEvent(i::Logger::FUNCTION_TAG, aaa_code, *aaa_name); in TEST()
174 profiler.CodeCreateEvent(i::Logger::BUILTIN_TAG, comment_code, "comment"); in TEST()
175 profiler.CodeCreateEvent(i::Logger::STUB_TAG, args5_code, 5); in TEST()
176 profiler.CodeCreateEvent(i::Logger::BUILTIN_TAG, comment2_code, "comment2"); in TEST()
177 profiler.CodeMoveEvent(comment2_code->address(), moved_code->address()); in TEST()
178 profiler.CodeCreateEvent(i::Logger::STUB_TAG, args3_code, 3); in TEST()
179 profiler.CodeCreateEvent(i::Logger::STUB_TAG, args4_code, 4); in TEST()
229 CpuProfiler profiler(isolate, profiles, &generator, processor.get()); in TEST() local
231 profiler.CodeCreateEvent(i::Logger::BUILTIN_TAG, frame1_code, "bbb"); in TEST()
232 profiler.CodeCreateEvent(i::Logger::STUB_TAG, frame2_code, 5); in TEST()
233 profiler.CodeCreateEvent(i::Logger::BUILTIN_TAG, frame3_code, "ddd"); in TEST()
274 CpuProfiler* profiler = CcTest::i_isolate()->cpu_profiler(); in TEST() local
275 profiler->StartProfiling("1"); in TEST()
276 profiler->StopProfiling("2"); in TEST()
277 profiler->StartProfiling("1"); in TEST()
278 profiler->StopProfiling(""); in TEST()
298 CpuProfiler profiler(isolate, profiles, &generator, processor.get()); in TEST() local
300 profiler.CodeCreateEvent(i::Logger::BUILTIN_TAG, code, "bbb"); in TEST()
329 CpuProfiler* profiler = CcTest::i_isolate()->cpu_profiler(); in TEST() local
330 CHECK_EQ(0, profiler->GetProfilesCount()); in TEST()
331 profiler->DeleteAllProfiles(); in TEST()
332 CHECK_EQ(0, profiler->GetProfilesCount()); in TEST()
334 profiler->StartProfiling("1"); in TEST()
335 profiler->StopProfiling("1"); in TEST()
336 CHECK_EQ(1, profiler->GetProfilesCount()); in TEST()
337 profiler->DeleteAllProfiles(); in TEST()
338 CHECK_EQ(0, profiler->GetProfilesCount()); in TEST()
339 profiler->StartProfiling("1"); in TEST()
340 profiler->StartProfiling("2"); in TEST()
341 profiler->StopProfiling("2"); in TEST()
342 profiler->StopProfiling("1"); in TEST()
343 CHECK_EQ(2, profiler->GetProfilesCount()); in TEST()
344 profiler->DeleteAllProfiles(); in TEST()
345 CHECK_EQ(0, profiler->GetProfilesCount()); in TEST()
348 profiler->StartProfiling("1"); in TEST()
349 profiler->StartProfiling("2"); in TEST()
350 CHECK_EQ(0, profiler->GetProfilesCount()); in TEST()
351 profiler->DeleteAllProfiles(); in TEST()
352 CHECK_EQ(0, profiler->GetProfilesCount()); in TEST()
358 i::CpuProfiler* profiler = reinterpret_cast<i::CpuProfiler*>(v8profiler); in FindCpuProfile() local
361 int length = profiler->GetProfilesCount(); in FindCpuProfile()
363 if (profile == profiler->GetProfile(i)) in FindCpuProfile()
1119 CpuProfiler profiler(isolate, profiles, &generator, processor.get()); in TEST() local
1125 profiler.CodeCreateEvent(i::Logger::FUNCTION_TAG, code, func->shared(), NULL, in TEST()
1721 v8::CpuProfiler* profiler = env->GetIsolate()->GetCpuProfiler(); in TEST() local
1722 i::CpuProfiler* iprofiler = reinterpret_cast<i::CpuProfiler*>(profiler); in TEST()
1726 profiler->StartProfiling(outer); in TEST()
1730 profiler->StartProfiling(inner); in TEST()
1733 v8::CpuProfile* inner_profile = profiler->StopProfiling(inner); in TEST()
1740 v8::CpuProfile* outer_profile = profiler->StopProfiling(outer); in TEST()
1768 v8::CpuProfiler* profiler = isolate->GetCpuProfiler(); in TEST() local
1769 i::CpuProfiler* iprofiler = reinterpret_cast<i::CpuProfiler*>(profiler); in TEST()
1898 v8::CpuProfiler* profiler = isolate->GetCpuProfiler(); in TEST() local
1899 i::CpuProfiler* iprofiler = reinterpret_cast<i::CpuProfiler*>(profiler); in TEST()
1967 v8::CpuProfiler* profiler = isolate->GetCpuProfiler(); in TEST() local
1968 i::CpuProfiler* iprofiler = reinterpret_cast<i::CpuProfiler*>(profiler); in TEST()
2041 v8::CpuProfiler* profiler = isolate->GetCpuProfiler(); in TEST() local
2042 i::CpuProfiler* iprofiler = reinterpret_cast<i::CpuProfiler*>(profiler); in TEST()