CpuProfiler 151 include/v8-profiler.h class V8EXPORT CpuProfiler {
CpuProfiler 5899 src/api.cc i::CpuProfiler::DeleteProfile(reinterpret_cast<i::CpuProfile*>(this));
CpuProfiler 5900 src/api.cc if (i::CpuProfiler::GetProfilesCount() == 0 &&
CpuProfiler 5901 src/api.cc !i::CpuProfiler::HasDetachedProfiles()) {
CpuProfiler 5903 src/api.cc i::CpuProfiler::DeleteAllProfiles();
CpuProfiler 5940 src/api.cc int CpuProfiler::GetProfilesCount() {
CpuProfiler 5943 src/api.cc return i::CpuProfiler::GetProfilesCount();
CpuProfiler 5947 src/api.cc const CpuProfile* CpuProfiler::GetProfile(int index,
CpuProfiler 5952 src/api.cc i::CpuProfiler::GetProfile(
CpuProfiler 5958 src/api.cc const CpuProfile* CpuProfiler::FindProfile(unsigned uid,
CpuProfiler 5963 src/api.cc i::CpuProfiler::FindProfile(
CpuProfiler 5969 src/api.cc void CpuProfiler::StartProfiling(Handle<String> title) {
CpuProfiler 5972 src/api.cc i::CpuProfiler::StartProfiling(*Utils::OpenHandle(*title));
CpuProfiler 5976 src/api.cc const CpuProfile* CpuProfiler::StopProfiling(Handle<String> title,
CpuProfiler 5981 src/api.cc i::CpuProfiler::StopProfiling(
CpuProfiler 5987 src/api.cc void CpuProfiler::DeleteAllProfiles() {
CpuProfiler 5990 src/api.cc i::CpuProfiler::DeleteAllProfiles();
CpuProfiler 156 src/codegen.cc if (!isolate->logger()->is_logging() && !CpuProfiler::is_profiling(isolate)) {
CpuProfiler 891 src/compiler.cc CpuProfiler::is_profiling(info->isolate())) {
CpuProfiler 262 src/cpu-profiler.cc void CpuProfiler::StartProfiling(const char* title) {
CpuProfiler 268 src/cpu-profiler.cc void CpuProfiler::StartProfiling(String* title) {
CpuProfiler 274 src/cpu-profiler.cc CpuProfile* CpuProfiler::StopProfiling(const char* title) {
CpuProfiler 281 src/cpu-profiler.cc CpuProfile* CpuProfiler::StopProfiling(Object* security_token, String* title) {
CpuProfiler 289 src/cpu-profiler.cc int CpuProfiler::GetProfilesCount() {
CpuProfiler 297 src/cpu-profiler.cc CpuProfile* CpuProfiler::GetProfile(Object* security_token, int index) {
CpuProfiler 299 src/cpu-profiler.cc CpuProfiler* profiler = Isolate::Current()->cpu_profiler();
CpuProfiler 305 src/cpu-profiler.cc CpuProfile* CpuProfiler::FindProfile(Object* security_token, unsigned uid) {
CpuProfiler 307 src/cpu-profiler.cc CpuProfiler* profiler = Isolate::Current()->cpu_profiler();
CpuProfiler 313 src/cpu-profiler.cc TickSample* CpuProfiler::TickSampleEvent(Isolate* isolate) {
CpuProfiler 314 src/cpu-profiler.cc if (CpuProfiler::is_profiling(isolate)) {
CpuProfiler 322 src/cpu-profiler.cc void CpuProfiler::DeleteAllProfiles() {
CpuProfiler 332 src/cpu-profiler.cc void CpuProfiler::DeleteProfile(CpuProfile* profile) {
CpuProfiler 339 src/cpu-profiler.cc bool CpuProfiler::HasDetachedProfiles() {
CpuProfiler 345 src/cpu-profiler.cc void CpuProfiler::CallbackEvent(String* name, Address entry_point) {
CpuProfiler 351 src/cpu-profiler.cc void CpuProfiler::CodeCreateEvent(Logger::LogEventsAndTags tag,
CpuProfiler 358 src/cpu-profiler.cc void CpuProfiler::CodeCreateEvent(Logger::LogEventsAndTags tag,
CpuProfiler 372 src/cpu-profiler.cc void CpuProfiler::CodeCreateEvent(Logger::LogEventsAndTags tag,
CpuProfiler 388 src/cpu-profiler.cc void CpuProfiler::CodeCreateEvent(Logger::LogEventsAndTags tag,
CpuProfiler 403 src/cpu-profiler.cc void CpuProfiler::CodeCreateEvent(Logger::LogEventsAndTags tag,
CpuProfiler 413 src/cpu-profiler.cc void CpuProfiler::CodeMoveEvent(Address from, Address to) {
CpuProfiler 418 src/cpu-profiler.cc void CpuProfiler::CodeDeleteEvent(Address from) {
CpuProfiler 422 src/cpu-profiler.cc void CpuProfiler::SharedFunctionInfoMoveEvent(Address from, Address to) {
CpuProfiler 423 src/cpu-profiler.cc CpuProfiler* profiler = Isolate::Current()->cpu_profiler();
CpuProfiler 428 src/cpu-profiler.cc void CpuProfiler::GetterCallbackEvent(String* name, Address entry_point) {
CpuProfiler 434 src/cpu-profiler.cc void CpuProfiler::RegExpCodeCreateEvent(Code* code, String* source) {
CpuProfiler 444 src/cpu-profiler.cc void CpuProfiler::SetterCallbackEvent(String* name, Address entry_point) {
CpuProfiler 450 src/cpu-profiler.cc CpuProfiler::CpuProfiler()
CpuProfiler 461 src/cpu-profiler.cc CpuProfiler::~CpuProfiler() {
CpuProfiler 467 src/cpu-profiler.cc void CpuProfiler::ResetProfiles() {
CpuProfiler 472 src/cpu-profiler.cc void CpuProfiler::StartCollectingProfile(const char* title) {
CpuProfiler 480 src/cpu-profiler.cc void CpuProfiler::StartCollectingProfile(String* title) {
CpuProfiler 485 src/cpu-profiler.cc void CpuProfiler::StartProcessorIfNotStarted() {
CpuProfiler 518 src/cpu-profiler.cc CpuProfile* CpuProfiler::StopCollectingProfile(const char* title) {
CpuProfiler 532 src/cpu-profiler.cc CpuProfile* CpuProfiler::StopCollectingProfile(Object* security_token,
CpuProfiler 542 src/cpu-profiler.cc void CpuProfiler::StopProcessorIfLastProfile(const char* title) {
CpuProfiler 547 src/cpu-profiler.cc void CpuProfiler::StopProcessor() {
CpuProfiler 566 src/cpu-profiler.cc void CpuProfiler::SetUp() {
CpuProfiler 569 src/cpu-profiler.cc isolate->set_cpu_profiler(new CpuProfiler());
CpuProfiler 574 src/cpu-profiler.cc void CpuProfiler::TearDown() {
CpuProfiler 193 src/cpu-profiler.h if (v8::internal::CpuProfiler::is_profiling(isolate)) { \
CpuProfiler 194 src/cpu-profiler.h v8::internal::CpuProfiler::Call; \
CpuProfiler 204 src/cpu-profiler.h class CpuProfiler {
CpuProfiler 251 src/cpu-profiler.h CpuProfiler* profiler = isolate->cpu_profiler();
CpuProfiler 256 src/cpu-profiler.h CpuProfiler();
CpuProfiler 257 src/cpu-profiler.h ~CpuProfiler();
CpuProfiler 277 src/cpu-profiler.h DISALLOW_COPY_AND_ASSIGN(CpuProfiler);
CpuProfiler 1725 src/heap.cc CpuProfiler::is_profiling(isolate)) {
CpuProfiler 1981 src/heap.cc CpuProfiler::is_profiling(isolate()) ||
CpuProfiler 1588 src/isolate.cc CpuProfiler::TearDown();
CpuProfiler 1814 src/isolate.cc CpuProfiler::SetUp();
CpuProfiler 60 src/isolate.h class CpuProfiler;
CpuProfiler 354 src/isolate.h V(CpuProfiler*, cpu_profiler, NULL) \
CpuProfiler 427 src/log.h friend class CpuProfiler;
CpuProfiler 696 src/platform-cygwin.cc TickSample* sample = CpuProfiler::TickSampleEvent(sampler->isolate());
CpuProfiler 682 src/platform-freebsd.cc TickSample* sample = CpuProfiler::TickSampleEvent(isolate);
CpuProfiler 1011 src/platform-linux.cc TickSample* sample = CpuProfiler::TickSampleEvent(isolate);
CpuProfiler 813 src/platform-macos.cc TickSample* sample = CpuProfiler::TickSampleEvent(sampler->isolate());
CpuProfiler 738 src/platform-openbsd.cc TickSample* sample = CpuProfiler::TickSampleEvent(isolate);
CpuProfiler 673 src/platform-solaris.cc TickSample* sample = CpuProfiler::TickSampleEvent(isolate);
CpuProfiler 2042 src/platform-win32.cc TickSample* sample = CpuProfiler::TickSampleEvent(sampler->isolate());
CpuProfiler 2275 src/runtime.cc if (isolate->logger()->is_logging() || CpuProfiler::is_profiling(isolate)) {
CpuProfiler 219 test/cctest/test-cpu-profiler.cc CpuProfiler::SetUp();
CpuProfiler 220 test/cctest/test-cpu-profiler.cc CpuProfiler::StartProfiling("1");
CpuProfiler 221 test/cctest/test-cpu-profiler.cc CpuProfiler::StopProfiling("2");
CpuProfiler 222 test/cctest/test-cpu-profiler.cc CpuProfiler::StartProfiling("1");
CpuProfiler 223 test/cctest/test-cpu-profiler.cc CpuProfiler::StopProfiling("");
CpuProfiler 224 test/cctest/test-cpu-profiler.cc CpuProfiler::TearDown();
CpuProfiler 271 test/cctest/test-cpu-profiler.cc CpuProfiler::SetUp();
CpuProfiler 272 test/cctest/test-cpu-profiler.cc CHECK_EQ(0, CpuProfiler::GetProfilesCount());
CpuProfiler 273 test/cctest/test-cpu-profiler.cc CpuProfiler::DeleteAllProfiles();
CpuProfiler 274 test/cctest/test-cpu-profiler.cc CHECK_EQ(0, CpuProfiler::GetProfilesCount());
CpuProfiler 276 test/cctest/test-cpu-profiler.cc CpuProfiler::StartProfiling("1");
CpuProfiler 277 test/cctest/test-cpu-profiler.cc CpuProfiler::StopProfiling("1");
CpuProfiler 278 test/cctest/test-cpu-profiler.cc CHECK_EQ(1, CpuProfiler::GetProfilesCount());
CpuProfiler 279 test/cctest/test-cpu-profiler.cc CpuProfiler::DeleteAllProfiles();
CpuProfiler 280 test/cctest/test-cpu-profiler.cc CHECK_EQ(0, CpuProfiler::GetProfilesCount());
CpuProfiler 281 test/cctest/test-cpu-profiler.cc CpuProfiler::StartProfiling("1");
CpuProfiler 282 test/cctest/test-cpu-profiler.cc CpuProfiler::StartProfiling("2");
CpuProfiler 283 test/cctest/test-cpu-profiler.cc CpuProfiler::StopProfiling("2");
CpuProfiler 284 test/cctest/test-cpu-profiler.cc CpuProfiler::StopProfiling("1");
CpuProfiler 285 test/cctest/test-cpu-profiler.cc CHECK_EQ(2, CpuProfiler::GetProfilesCount());
CpuProfiler 286 test/cctest/test-cpu-profiler.cc CpuProfiler::DeleteAllProfiles();
CpuProfiler 287 test/cctest/test-cpu-profiler.cc CHECK_EQ(0, CpuProfiler::GetProfilesCount());
CpuProfiler 290 test/cctest/test-cpu-profiler.cc CpuProfiler::StartProfiling("1");
CpuProfiler 291 test/cctest/test-cpu-profiler.cc CpuProfiler::StartProfiling("2");
CpuProfiler 292 test/cctest/test-cpu-profiler.cc CHECK_EQ(0, CpuProfiler::GetProfilesCount());
CpuProfiler 293 test/cctest/test-cpu-profiler.cc CpuProfiler::DeleteAllProfiles();
CpuProfiler 294 test/cctest/test-cpu-profiler.cc CHECK_EQ(0, CpuProfiler::GetProfilesCount());
CpuProfiler 296 test/cctest/test-cpu-profiler.cc CpuProfiler::TearDown();
CpuProfiler 304 test/cctest/test-cpu-profiler.cc CHECK_EQ(0, v8::CpuProfiler::GetProfilesCount());
CpuProfiler 306 test/cctest/test-cpu-profiler.cc v8::CpuProfiler::StartProfiling(name1);
CpuProfiler 307 test/cctest/test-cpu-profiler.cc const v8::CpuProfile* p1 = v8::CpuProfiler::StopProfiling(name1);
CpuProfiler 309 test/cctest/test-cpu-profiler.cc CHECK_EQ(1, v8::CpuProfiler::GetProfilesCount());
CpuProfiler 311 test/cctest/test-cpu-profiler.cc CHECK_EQ(p1, v8::CpuProfiler::FindProfile(uid1));
CpuProfiler 313 test/cctest/test-cpu-profiler.cc CHECK_EQ(0, CpuProfiler::GetProfilesCount());
CpuProfiler 314 test/cctest/test-cpu-profiler.cc CHECK_EQ(NULL, v8::CpuProfiler::FindProfile(uid1));
CpuProfiler 317 test/cctest/test-cpu-profiler.cc v8::CpuProfiler::StartProfiling(name2);
CpuProfiler 318 test/cctest/test-cpu-profiler.cc const v8::CpuProfile* p2 = v8::CpuProfiler::StopProfiling(name2);
CpuProfiler 320 test/cctest/test-cpu-profiler.cc CHECK_EQ(1, v8::CpuProfiler::GetProfilesCount());
CpuProfiler 323 test/cctest/test-cpu-profiler.cc CHECK_EQ(p2, v8::CpuProfiler::FindProfile(uid2));
CpuProfiler 324 test/cctest/test-cpu-profiler.cc CHECK_EQ(NULL, v8::CpuProfiler::FindProfile(uid1));
CpuProfiler 326 test/cctest/test-cpu-profiler.cc v8::CpuProfiler::StartProfiling(name3);
CpuProfiler 327 test/cctest/test-cpu-profiler.cc const v8::CpuProfile* p3 = v8::CpuProfiler::StopProfiling(name3);
CpuProfiler 329 test/cctest/test-cpu-profiler.cc CHECK_EQ(2, v8::CpuProfiler::GetProfilesCount());
CpuProfiler 332 test/cctest/test-cpu-profiler.cc CHECK_EQ(p3, v8::CpuProfiler::FindProfile(uid3));
CpuProfiler 333 test/cctest/test-cpu-profiler.cc CHECK_EQ(NULL, v8::CpuProfiler::FindProfile(uid1));
CpuProfiler 335 test/cctest/test-cpu-profiler.cc CHECK_EQ(1, v8::CpuProfiler::GetProfilesCount());
CpuProfiler 336 test/cctest/test-cpu-profiler.cc CHECK_EQ(NULL, v8::CpuProfiler::FindProfile(uid2));
CpuProfiler 337 test/cctest/test-cpu-profiler.cc CHECK_EQ(p3, v8::CpuProfiler::FindProfile(uid3));
CpuProfiler 339 test/cctest/test-cpu-profiler.cc CHECK_EQ(0, CpuProfiler::GetProfilesCount());
CpuProfiler 340 test/cctest/test-cpu-profiler.cc CHECK_EQ(NULL, v8::CpuProfiler::FindProfile(uid3));
CpuProfiler 341 test/cctest/test-cpu-profiler.cc CHECK_EQ(NULL, v8::CpuProfiler::FindProfile(uid2));
CpuProfiler 342 test/cctest/test-cpu-profiler.cc CHECK_EQ(NULL, v8::CpuProfiler::FindProfile(uid1));
CpuProfiler 350 test/cctest/test-cpu-profiler.cc CHECK_EQ(0, v8::CpuProfiler::GetProfilesCount());
CpuProfiler 352 test/cctest/test-cpu-profiler.cc v8::CpuProfiler::StartProfiling(name1);
CpuProfiler 353 test/cctest/test-cpu-profiler.cc const v8::CpuProfile* p1 = v8::CpuProfiler::StopProfiling(name1);
CpuProfiler 355 test/cctest/test-cpu-profiler.cc CHECK_EQ(1, v8::CpuProfiler::GetProfilesCount());
CpuProfiler 357 test/cctest/test-cpu-profiler.cc CHECK_EQ(p1, v8::CpuProfiler::FindProfile(uid1));
CpuProfiler 359 test/cctest/test-cpu-profiler.cc const v8::CpuProfile* p1_t1 = v8::CpuProfiler::FindProfile(uid1, token1);
CpuProfiler 362 test/cctest/test-cpu-profiler.cc CHECK_EQ(1, v8::CpuProfiler::GetProfilesCount());
CpuProfiler 364 test/cctest/test-cpu-profiler.cc CHECK_EQ(0, CpuProfiler::GetProfilesCount());
CpuProfiler 365 test/cctest/test-cpu-profiler.cc CHECK_EQ(NULL, v8::CpuProfiler::FindProfile(uid1));
CpuProfiler 366 test/cctest/test-cpu-profiler.cc CHECK_EQ(NULL, v8::CpuProfiler::FindProfile(uid1, token1));
CpuProfiler 368 test/cctest/test-cpu-profiler.cc CHECK_EQ(0, CpuProfiler::GetProfilesCount());
CpuProfiler 371 test/cctest/test-cpu-profiler.cc v8::CpuProfiler::StartProfiling(name2);
CpuProfiler 373 test/cctest/test-cpu-profiler.cc const v8::CpuProfile* p2_t2 = v8::CpuProfiler::StopProfiling(name2, token2);
CpuProfiler 375 test/cctest/test-cpu-profiler.cc CHECK_EQ(1, v8::CpuProfiler::GetProfilesCount());
CpuProfiler 378 test/cctest/test-cpu-profiler.cc const v8::CpuProfile* p2 = v8::CpuProfiler::FindProfile(uid2);
CpuProfiler 381 test/cctest/test-cpu-profiler.cc v8::CpuProfiler::StartProfiling(name3);
CpuProfiler 382 test/cctest/test-cpu-profiler.cc const v8::CpuProfile* p3 = v8::CpuProfiler::StopProfiling(name3);
CpuProfiler 384 test/cctest/test-cpu-profiler.cc CHECK_EQ(2, v8::CpuProfiler::GetProfilesCount());
CpuProfiler 387 test/cctest/test-cpu-profiler.cc CHECK_EQ(p3, v8::CpuProfiler::FindProfile(uid3));
CpuProfiler 389 test/cctest/test-cpu-profiler.cc CHECK_EQ(1, v8::CpuProfiler::GetProfilesCount());
CpuProfiler 390 test/cctest/test-cpu-profiler.cc CHECK_EQ(NULL, v8::CpuProfiler::FindProfile(uid2));
CpuProfiler 391 test/cctest/test-cpu-profiler.cc CHECK_EQ(p3, v8::CpuProfiler::FindProfile(uid3));
CpuProfiler 393 test/cctest/test-cpu-profiler.cc CHECK_EQ(1, v8::CpuProfiler::GetProfilesCount());
CpuProfiler 394 test/cctest/test-cpu-profiler.cc CHECK_EQ(NULL, v8::CpuProfiler::FindProfile(uid2));
CpuProfiler 395 test/cctest/test-cpu-profiler.cc CHECK_EQ(p3, v8::CpuProfiler::FindProfile(uid3));
CpuProfiler 397 test/cctest/test-cpu-profiler.cc CHECK_EQ(0, CpuProfiler::GetProfilesCount());
CpuProfiler 398 test/cctest/test-cpu-profiler.cc CHECK_EQ(NULL, v8::CpuProfiler::FindProfile(uid3));
CpuProfiler 725 test/cctest/test-profile-generator.cc v8::CpuProfiler::StartProfiling(args[0].As<v8::String>());
CpuProfiler 727 test/cctest/test-profile-generator.cc v8::CpuProfiler::StartProfiling(v8::String::New(""));
CpuProfiler 735 test/cctest/test-profile-generator.cc v8::CpuProfiler::StopProfiling(args[0].As<v8::String>());
CpuProfiler 737 test/cctest/test-profile-generator.cc v8::CpuProfiler::StopProfiling(v8::String::New(""));
CpuProfiler 770 test/cctest/test-profile-generator.cc CHECK_EQ(0, CpuProfiler::GetProfilesCount());
CpuProfiler 777 test/cctest/test-profile-generator.cc CHECK_EQ(1, CpuProfiler::GetProfilesCount());
CpuProfiler 779 test/cctest/test-profile-generator.cc CpuProfiler::GetProfile(NULL, 0);