v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include "v8.h"
#include "cpu-profiler-inl.h"
#include "cctest.h"
#include "../include/v8-profiler.h"
Go to the source code of this file.
Functions | |
TEST (StartStop) | |
TEST (CodeEvents) | |
TEST (TickEvents) | |
TEST (CrashIfStoppingLastNonExistentProfile) | |
TEST (Issue1398) | |
TEST (DeleteAllCpuProfiles) | |
TEST (DeleteCpuProfile) | |
TEST (DeleteCpuProfileDifferentTokens) | |
TEST | ( | StartStop | ) |
Definition at line 20 of file test-cpu-profiler.cc.
References generator().
TEST | ( | CodeEvents | ) |
Definition at line 78 of file test-cpu-profiler.cc.
References CHECK_EQ, CHECK_NE, FACTORY, generator(), HEAP, NULL, and v8::internal::StrLength().
TEST | ( | TickEvents | ) |
Definition at line 140 of file test-cpu-profiler.cc.
References CHECK_EQ, CHECK_NE, generator(), List< T, P >::last(), and NULL.
TEST | ( | CrashIfStoppingLastNonExistentProfile | ) |
Definition at line 216 of file test-cpu-profiler.cc.
TEST | ( | Issue1398 | ) |
Definition at line 230 of file test-cpu-profiler.cc.
References CHECK_EQ, CHECK_NE, TickSample::frames_count, generator(), TickSample::kMaxFramesCount, NULL, TickSample::pc, TickSample::stack, and TickSample::tos.
TEST | ( | DeleteAllCpuProfiles | ) |
Definition at line 268 of file test-cpu-profiler.cc.
References CHECK_EQ.
TEST | ( | DeleteCpuProfile | ) |
Definition at line 300 of file test-cpu-profiler.cc.
References CHECK_EQ, CHECK_NE, CpuProfiler::FindProfile(), CpuProfiler::GetProfilesCount(), CpuProfile::GetUid(), String::New(), NULL, v8::internal::p1, v8::internal::p2, v8::internal::p3, CpuProfiler::StartProfiling(), and CpuProfiler::StopProfiling().
TEST | ( | DeleteCpuProfileDifferentTokens | ) |
Definition at line 346 of file test-cpu-profiler.cc.
References CHECK_EQ, CHECK_NE, CpuProfiler::FindProfile(), CpuProfiler::GetProfilesCount(), CpuProfile::GetUid(), String::New(), NULL, v8::internal::p1, v8::internal::p2, v8::internal::p3, CpuProfiler::StartProfiling(), and CpuProfiler::StopProfiling().