Increasing microprofile stack size, as some of these trees are deep.

This commit is contained in:
Ben Vanik 2014-05-30 11:44:24 -07:00
parent 0267efa5cc
commit 6c92e6a5c5
2 changed files with 1 additions and 3 deletions

View File

@ -152,8 +152,6 @@ void D3D11GraphicsSystem::Initialize() {
} }
void D3D11GraphicsSystem::Pump() { void D3D11GraphicsSystem::Pump() {
SCOPE_profile_cpu_f("gpu");
if (swap_pending_) { if (swap_pending_) {
swap_pending_ = false; swap_pending_ = false;

View File

@ -443,7 +443,7 @@ int64_t MicroProfileGetTick()
#define MICROPROFILE_BUFFER_SIZE ((MICROPROFILE_PER_THREAD_BUFFER_SIZE)/sizeof(MicroProfileLogEntry)) #define MICROPROFILE_BUFFER_SIZE ((MICROPROFILE_PER_THREAD_BUFFER_SIZE)/sizeof(MicroProfileLogEntry))
#define MICROPROFILE_MAX_THREADS 32 #define MICROPROFILE_MAX_THREADS 32
#define MICROPROFILE_MAX_CONTEXT_SWITCH_THREADS 256 #define MICROPROFILE_MAX_CONTEXT_SWITCH_THREADS 256
#define MICROPROFILE_STACK_MAX 32 #define MICROPROFILE_STACK_MAX 128
#define MICROPROFILE_MAX_PRESETS 5 #define MICROPROFILE_MAX_PRESETS 5
#define MICROPROFILE_DEBUG 0 #define MICROPROFILE_DEBUG 0
#define MICROPROFILE_TOOLTIP_MAX_STRINGS (32 + MICROPROFILE_MAX_GROUPS*2) #define MICROPROFILE_TOOLTIP_MAX_STRINGS (32 + MICROPROFILE_MAX_GROUPS*2)