Home
last modified time | relevance | path

Searched refs:CpuProfiler (Results 1 – 18 of 18) sorted by relevance

/external/v8/test/cctest/
Dtest-cpu-profiler.cc16 using i::CpuProfiler;
232 CpuProfiler::Setup(); in TEST()
233 CpuProfiler::StartProfiling("1"); in TEST()
234 CpuProfiler::StopProfiling("2"); in TEST()
235 CpuProfiler::StartProfiling("1"); in TEST()
236 CpuProfiler::StopProfiling(""); in TEST()
237 CpuProfiler::TearDown(); in TEST()
287 CpuProfiler::Setup(); in TEST()
288 CHECK_EQ(0, CpuProfiler::GetProfilesCount()); in TEST()
289 CpuProfiler::DeleteAllProfiles(); in TEST()
[all …]
Dtest-profile-generator.cc17 using i::CpuProfiler;
728 v8::CpuProfiler::StartProfiling(args[0].As<v8::String>()); in StartProfiling()
730 v8::CpuProfiler::StartProfiling(v8::String::New("")); in StartProfiling()
738 v8::CpuProfiler::StopProfiling(args[0].As<v8::String>()); in StopProfiling()
740 v8::CpuProfiler::StopProfiling(v8::String::New("")); in StopProfiling()
773 CHECK_EQ(0, CpuProfiler::GetProfilesCount()); in TEST()
780 CHECK_EQ(1, CpuProfiler::GetProfilesCount()); in TEST()
782 CpuProfiler::GetProfile(NULL, 0); in TEST()
/external/v8/src/
Dcpu-profiler.cc278 void CpuProfiler::StartProfiling(const char* title) { in StartProfiling()
284 void CpuProfiler::StartProfiling(String* title) { in StartProfiling()
290 CpuProfile* CpuProfiler::StopProfiling(const char* title) { in StopProfiling()
296 CpuProfile* CpuProfiler::StopProfiling(Object* security_token, String* title) { in StopProfiling()
303 int CpuProfiler::GetProfilesCount() { in GetProfilesCount()
311 CpuProfile* CpuProfiler::GetProfile(Object* security_token, int index) { in GetProfile()
313 CpuProfiler* profiler = Isolate::Current()->cpu_profiler(); in GetProfile()
319 CpuProfile* CpuProfiler::FindProfile(Object* security_token, unsigned uid) { in FindProfile()
321 CpuProfiler* profiler = Isolate::Current()->cpu_profiler(); in FindProfile()
327 TickSample* CpuProfiler::TickSampleEvent(Isolate* isolate) { in TickSampleEvent()
[all …]
Dcpu-profiler.h203 if (v8::internal::CpuProfiler::is_profiling()) { \
204 v8::internal::CpuProfiler::Call; \
217 class CpuProfiler {
269 CpuProfiler* profiler = isolate->cpu_profiler(); in INLINE()
274 CpuProfiler();
275 ~CpuProfiler();
299 DISALLOW_COPY_AND_ASSIGN(CpuProfiler);
Dcodegen.cc179 if (!LOGGER->is_logging() && !CpuProfiler::is_profiling()) return false; in ShouldGenerateLog()
Disolate.cc548 CpuProfiler::TearDown(); in Deinit()
755 CpuProfiler::Setup(); in Init()
Dlog.h397 friend class CpuProfiler; variable
Dapi.cc5181 i::CpuProfiler::DeleteProfile(reinterpret_cast<i::CpuProfile*>(this)); in Delete()
5182 if (i::CpuProfiler::GetProfilesCount() == 0 && in Delete()
5183 !i::CpuProfiler::HasDetachedProfiles()) { in Delete()
5185 i::CpuProfiler::DeleteAllProfiles(); in Delete()
5222 int CpuProfiler::GetProfilesCount() { in GetProfilesCount()
5225 return i::CpuProfiler::GetProfilesCount(); in GetProfilesCount()
5229 const CpuProfile* CpuProfiler::GetProfile(int index, in GetProfile()
5234 i::CpuProfiler::GetProfile( in GetProfile()
5240 const CpuProfile* CpuProfiler::FindProfile(unsigned uid, in FindProfile()
5245 i::CpuProfiler::FindProfile( in FindProfile()
[all …]
Disolate.h59 class CpuProfiler; variable
323 V(CpuProfiler*, cpu_profiler, NULL) \
Dplatform-cygwin.cc708 TickSample* sample = CpuProfiler::TickSampleEvent(sampler->isolate()); in SampleContext()
Dplatform-solaris.cc608 TickSample* sample = CpuProfiler::TickSampleEvent(); in ProfilerSignalHandler()
Dplatform-freebsd.cc654 TickSample* sample = CpuProfiler::TickSampleEvent(isolate); in ProfilerSignalHandler()
Dplatform-macos.cc741 TickSample* sample = CpuProfiler::TickSampleEvent(sampler->isolate()); in SampleContext()
Dplatform-linux.cc865 TickSample* sample = CpuProfiler::TickSampleEvent(isolate); in ProfilerSignalHandler()
Dcompiler.cc771 if (info->isolate()->logger()->is_logging() || CpuProfiler::is_profiling()) { in RecordFunctionCompilation()
Dplatform-win32.cc1951 TickSample* sample = CpuProfiler::TickSampleEvent(sampler->isolate()); in SampleContext()
/external/webkit/Source/WebCore/bindings/v8/
DScriptProfiler.cpp47 v8::CpuProfiler::StartProfiling(v8String(title)); in start()
54 v8::CpuProfiler::StopProfiling(v8String(title), state->context()->GetSecurityToken()) : in stop()
55 v8::CpuProfiler::StopProfiling(v8String(title)); in stop()
/external/v8/include/
Dv8-profiler.h150 class V8EXPORT CpuProfiler {