Home
last modified time | relevance | path

Searched refs:frames_count (Results 1 – 12 of 12) sorted by relevance

/external/v8/test/cctest/
Dtest-cpu-profiler.cc48 sample->frames_count = 0; in EnqueueTickSampleEvent()
51 sample->frames_count = 1; in EnqueueTickSampleEvent()
55 sample->frames_count = 2; in EnqueueTickSampleEvent()
246 sample->frames_count = i::TickSample::kMaxFramesCount; in TEST()
247 for (int i = 0; i < sample->frames_count; ++i) { in TEST()
Dtest-log-stack-tracer.cc309 CHECK_GT(sample.frames_count, base + 1); in TEST()
359 CHECK_GT(sample.frames_count, base + 1); in TEST()
Dtest-profile-generator.cc602 sample1.frames_count = 1; in TEST()
610 sample2.frames_count = 3; in TEST()
617 sample3.frames_count = 2; in TEST()
/external/v8/src/
Dcpu-profiler.cc179 !it.done() && sample->frames_count < TickSample::kMaxFramesCount; in AddCurrentStack()
181 sample->stack[sample->frames_count++] = it.frame()->pc(); in AddCurrentStack()
230 if (record.sample.frames_count < 0 in ProcessTicks()
231 || record.sample.frames_count > TickSample::kMaxFramesCount) in ProcessTicks()
232 record.sample.frames_count = 0; in ProcessTicks()
Dplatform-win32.cc1342 int frames_count = 0; in StackWalk() local
1346 while (frames_count < frames_size) { in StackWalk()
1361 frames[frames_count].address = in StackWalk()
1390 SNPrintF(MutableCStrVector(frames[frames_count].text, in StackWalk()
1396 SNPrintF(MutableCStrVector(frames[frames_count].text, in StackWalk()
1402 frames[frames_count].text[kStackWalkMaxTextLen - 1] = '\0'; in StackWalk()
1405 frames[frames_count].text[0] = '\0'; in StackWalk()
1415 frames_count++; in StackWalk()
1419 return frames_count; in StackWalk()
Dplatform-macos.cc329 int frames_count = backtrace(addresses.start(), frames_size); in StackWalk() local
331 char** symbols = backtrace_symbols(addresses.start(), frames_count); in StackWalk()
336 for (int i = 0; i < frames_count; i++) { in StackWalk()
350 return frames_count; in StackWalk()
Dplatform-freebsd.cc316 int frames_count = backtrace(addresses.start(), frames_size); in StackWalk() local
318 char** symbols = backtrace_symbols(addresses.start(), frames_count); in StackWalk()
323 for (int i = 0; i < frames_count; i++) { in StackWalk()
336 return frames_count; in StackWalk()
Dplatform-openbsd.cc363 int frames_count = backtrace(addresses.start(), frames_size); in StackWalk() local
365 char** symbols = backtrace_symbols(addresses.start(), frames_count); in StackWalk()
370 for (int i = 0; i < frames_count; i++) { in StackWalk()
383 return frames_count; in StackWalk()
Dplatform.h686 frames_count(0), in TickSample()
698 int frames_count : 8; // Number of captured frames. variable
Dplatform-linux.cc566 int frames_count = backtrace(addresses.start(), frames_size); in StackWalk() local
568 char** symbols = backtrace_symbols(addresses.start(), frames_count); in StackWalk()
573 for (int i = 0; i < frames_count; i++) { in StackWalk()
586 return frames_count; in StackWalk()
Dlog.cc180 sample->frames_count = i; in Trace()
1262 for (int i = 0; i < sample->frames_count; ++i) { in TickEvent()
Dprofile-generator.cc883 ScopedVector<CodeEntry*> entries(sample.frames_count + 3); in RecordTickSample()
908 *stack_end = stack_pos + sample.frames_count; in RecordTickSample()