Home
last modified time | relevance | path

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

/external/v8/test/cctest/
Dtest-cpu-profiler.cc12 using i::CpuProfiler;
219 CpuProfiler::SetUp(); in TEST()
220 CpuProfiler::StartProfiling("1"); in TEST()
221 CpuProfiler::StopProfiling("2"); in TEST()
222 CpuProfiler::StartProfiling("1"); in TEST()
223 CpuProfiler::StopProfiling(""); in TEST()
224 CpuProfiler::TearDown(); in TEST()
271 CpuProfiler::SetUp(); in TEST()
272 CHECK_EQ(0, CpuProfiler::GetProfilesCount()); in TEST()
273 CpuProfiler::DeleteAllProfiles(); in TEST()
[all …]
Dtest-profile-generator.cc13 using i::CpuProfiler;
725 v8::CpuProfiler::StartProfiling(args[0].As<v8::String>()); in StartProfiling()
727 v8::CpuProfiler::StartProfiling(v8::String::New("")); in StartProfiling()
735 v8::CpuProfiler::StopProfiling(args[0].As<v8::String>()); in StopProfiling()
737 v8::CpuProfiler::StopProfiling(v8::String::New("")); in StopProfiling()
770 CHECK_EQ(0, CpuProfiler::GetProfilesCount()); in TEST()
777 CHECK_EQ(1, CpuProfiler::GetProfilesCount()); in TEST()
779 CpuProfiler::GetProfile(NULL, 0); in TEST()
/external/v8/src/
Dcpu-profiler.cc262 void CpuProfiler::StartProfiling(const char* title) { in StartProfiling()
268 void CpuProfiler::StartProfiling(String* title) { in StartProfiling()
274 CpuProfile* CpuProfiler::StopProfiling(const char* title) { in StopProfiling()
281 CpuProfile* CpuProfiler::StopProfiling(Object* security_token, String* title) { in StopProfiling()
289 int CpuProfiler::GetProfilesCount() { in GetProfilesCount()
297 CpuProfile* CpuProfiler::GetProfile(Object* security_token, int index) { in GetProfile()
299 CpuProfiler* profiler = Isolate::Current()->cpu_profiler(); in GetProfile()
305 CpuProfile* CpuProfiler::FindProfile(Object* security_token, unsigned uid) { in FindProfile()
307 CpuProfiler* profiler = Isolate::Current()->cpu_profiler(); in FindProfile()
313 TickSample* CpuProfiler::TickSampleEvent(Isolate* isolate) { in TickSampleEvent()
[all …]
Dcpu-profiler.h193 if (v8::internal::CpuProfiler::is_profiling(isolate)) { \
194 v8::internal::CpuProfiler::Call; \
204 class CpuProfiler {
251 CpuProfiler* profiler = isolate->cpu_profiler(); in INLINE()
256 CpuProfiler();
257 ~CpuProfiler();
277 DISALLOW_COPY_AND_ASSIGN(CpuProfiler);
Dcodegen.cc156 if (!isolate->logger()->is_logging() && !CpuProfiler::is_profiling(isolate)) { in ShouldGenerateLog()
Dlog.h427 friend class CpuProfiler; variable
Dapi.cc5859 i::CpuProfiler::DeleteProfile(reinterpret_cast<i::CpuProfile*>(this)); in Delete()
5860 if (i::CpuProfiler::GetProfilesCount() == 0 && in Delete()
5861 !i::CpuProfiler::HasDetachedProfiles()) { in Delete()
5863 i::CpuProfiler::DeleteAllProfiles(); in Delete()
5900 int CpuProfiler::GetProfilesCount() { in GetProfilesCount()
5903 return i::CpuProfiler::GetProfilesCount(); in GetProfilesCount()
5907 const CpuProfile* CpuProfiler::GetProfile(int index, in GetProfile()
5912 i::CpuProfiler::GetProfile( in GetProfile()
5918 const CpuProfile* CpuProfiler::FindProfile(unsigned uid, in FindProfile()
5923 i::CpuProfiler::FindProfile( in FindProfile()
[all …]
Disolate.h60 class CpuProfiler; variable
353 V(CpuProfiler*, cpu_profiler, NULL) \
Dplatform-cygwin.cc707 TickSample* sample = CpuProfiler::TickSampleEvent(sampler->isolate()); in SampleContext()
Dplatform-macos.cc820 TickSample* sample = CpuProfiler::TickSampleEvent(sampler->isolate()); in SampleContext()
Dplatform-freebsd.cc695 TickSample* sample = CpuProfiler::TickSampleEvent(isolate); in ProfilerSignalHandler()
Dplatform-solaris.cc687 TickSample* sample = CpuProfiler::TickSampleEvent(isolate); in ProfilerSignalHandler()
Dplatform-openbsd.cc748 TickSample* sample = CpuProfiler::TickSampleEvent(isolate); in ProfilerSignalHandler()
Disolate.cc1573 CpuProfiler::TearDown(); in Deinit()
1779 CpuProfiler::SetUp(); in Init()
Dcompiler.cc797 CpuProfiler::is_profiling(info->isolate())) { in RecordFunctionCompilation()
Dplatform-linux.cc1045 TickSample* sample = CpuProfiler::TickSampleEvent(isolate); in ProfilerSignalHandler()
Dplatform-win32.cc2042 TickSample* sample = CpuProfiler::TickSampleEvent(sampler->isolate()); in SampleContext()
Dheap.cc1601 CpuProfiler::is_profiling(isolate)) { in INLINE()
1827 CpuProfiler::is_profiling(isolate()) || in SelectScavengingVisitorsTable()
Druntime.cc2216 if (isolate->logger()->is_logging() || CpuProfiler::is_profiling(isolate)) { in RUNTIME_FUNCTION()
/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 {