Lines Matching defs:debugInfo

1313 	thread_debug_info& debugInfo = thread->debug_info;
1315 if (debugInfo.profile.samples == NULL)
1320 int32 maxSamples = debugInfo.profile.max_samples;
1321 int32 sampleCount = debugInfo.profile.sample_count;
1322 int32 stackDepth = debugInfo.profile.stack_depth;
1324 if (debugInfo.profile.sample_count > 0) {
1325 if (debugInfo.profile.last_image_event < imageEvent
1326 && debugInfo.profile.variable_stack_depth
1330 addr_t* event = debugInfo.profile.samples + sampleCount;
1334 debugInfo.profile.sample_count = sampleCount;
1335 debugInfo.profile.last_image_event = imageEvent;
1338 if (debugInfo.profile.last_image_event < imageEvent
1339 || debugInfo.profile.flush_threshold - sampleCount < stackDepth) {
1349 debugInfo.profile.dropped_ticks++;
1355 debugInfo.profile.image_event = imageEvent;
1356 debugInfo.profile.last_image_event = imageEvent;
1360 addr_t* returnAddresses = debugInfo.profile.samples
1361 + debugInfo.profile.sample_count;
1362 if (debugInfo.profile.variable_stack_depth) {
1367 debugInfo.profile.sample_count += *returnAddresses + 1;
1379 debugInfo.profile.sample_count += stackDepth;
1395 thread_debug_info& debugInfo = thread->debug_info;
1397 SpinLocker threadDebugInfoLocker(debugInfo.lock);
1399 if (debugInfo.profile.samples != NULL && debugInfo.profile.buffer_full) {
1400 int32 sampleCount = debugInfo.profile.sample_count;
1401 int32 droppedTicks = debugInfo.profile.dropped_ticks;
1402 int32 stackDepth = debugInfo.profile.stack_depth;
1403 bool variableStackDepth = debugInfo.profile.variable_stack_depth;
1404 int32 imageEvent = debugInfo.profile.image_event;
1407 debugInfo.profile.sample_count = 0;
1408 debugInfo.profile.dropped_ticks = 0;
1431 debugInfo.profile.buffer_full = false;
1432 schedule_profiling_timer(thread, debugInfo.profile.interval);
1448 thread_debug_info& debugInfo = thread->debug_info;
1450 SpinLocker threadDebugInfoLocker(debugInfo.lock);
1460 debugInfo.profile.installed_timer = NULL;
1461 debugInfo.profile.buffer_full = true;
1463 schedule_profiling_timer(thread, debugInfo.profile.interval);
1465 debugInfo.profile.installed_timer = NULL;