From 9910398be8ac7ec9065687fa1c52929cb609cdd7 Mon Sep 17 00:00:00 2001 From: thrust26 Date: Sat, 23 Feb 2019 12:03:21 +0100 Subject: [PATCH] added profiling targets --- src/windows/Stella.sln | 15 +++ src/windows/Stella.vcxproj | 237 ++++++++++++++++++++++++++++++++++++- 2 files changed, 251 insertions(+), 1 deletion(-) diff --git a/src/windows/Stella.sln b/src/windows/Stella.sln index a7e6d243a..fb70ffeaf 100755 --- a/src/windows/Stella.sln +++ b/src/windows/Stella.sln @@ -5,9 +5,14 @@ MinimumVisualStudioVersion = 10.0.40219.1 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Stella", "Stella.vcxproj", "{D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}" EndProject Global + GlobalSection(Performance) = preSolution + HasPerformanceSessions = true + EndGlobalSection GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Win32 = Debug|Win32 Debug|x64 = Debug|x64 + Profile|Win32 = Profile|Win32 + Profile|x64 = Profile|x64 Release|Win32 = Release|Win32 Release|x64 = Release|x64 EndGlobalSection @@ -16,6 +21,10 @@ Global {D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}.Debug|Win32.Build.0 = Debug|Win32 {D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}.Debug|x64.ActiveCfg = Debug|x64 {D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}.Debug|x64.Build.0 = Debug|x64 + {D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}.Profile|Win32.ActiveCfg = Profile|Win32 + {D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}.Profile|Win32.Build.0 = Profile|Win32 + {D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}.Profile|x64.ActiveCfg = Profile|x64 + {D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}.Profile|x64.Build.0 = Profile|x64 {D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}.Release|Win32.ActiveCfg = Release|Win32 {D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}.Release|Win32.Build.0 = Release|Win32 {D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}.Release|x64.ActiveCfg = Release|x64 @@ -27,4 +36,10 @@ Global GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {37AF7F05-558D-4805-9259-3F11FD60BB83} EndGlobalSection + GlobalSection(Performance) = preSolution + HasPerformanceSessions = true + EndGlobalSection + GlobalSection(Performance) = preSolution + HasPerformanceSessions = true + EndGlobalSection EndGlobal diff --git a/src/windows/Stella.vcxproj b/src/windows/Stella.vcxproj index c01db9034..e01e34941 100644 --- a/src/windows/Stella.vcxproj +++ b/src/windows/Stella.vcxproj @@ -9,6 +9,14 @@ Debug x64 + + Profile + Win32 + + + Profile + x64 + Release Win32 @@ -30,6 +38,11 @@ MultiByte v141_xp + + Application + MultiByte + v141_xp + Application MultiByte @@ -40,6 +53,11 @@ MultiByte v141_xp + + Application + MultiByte + v141_xp + Application MultiByte @@ -52,6 +70,10 @@ + + + + @@ -60,6 +82,10 @@ + + + + @@ -74,9 +100,13 @@ $(Platform)\$(Configuration)\ true Release\ + Release\ Release\ + Release\ $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ AllRules.ruleset @@ -84,11 +114,17 @@ AllRules.ruleset + AllRules.ruleset + + AllRules.ruleset + AllRules.ruleset + + $(ProjectDir)\SDL\lib\x86;$(LibraryPath) @@ -98,6 +134,10 @@ $(ProjectDir)\SDL\lib\x86;$(LibraryPath) $(ProjectDir)\SDL\include;$(IncludePath) + + $(ProjectDir)\SDL\lib\x86;$(LibraryPath) + $(ProjectDir)\SDL\include;$(IncludePath) + $(ProjectDir)\SDL\lib\x64;$(LibraryPath) $(ProjectDir)\SDL\include;$(IncludePath) @@ -106,6 +146,10 @@ $(ProjectDir)\SDL\lib\x64;$(LibraryPath) $(ProjectDir)\SDL\include;$(IncludePath) + + $(ProjectDir)\SDL\lib\x64;$(LibraryPath) + $(ProjectDir)\SDL\include;$(IncludePath) + Disabled @@ -208,7 +252,78 @@ Default + + + true + false + ..\yacc;..\emucore;..\emucore\tia;..\emucore\tia\frame-manager;..\common;..\common\tv_filters;..\gui;..\debugger\gui;..\debugger;..\windows;..\cheat;..\zlib;..\libpng;%(AdditionalIncludeDirectories) + BSPF_WINDOWS;WIN32;NDEBUG;JOYSTICK_SUPPORT;DEBUGGER_SUPPORT;WINDOWED_SUPPORT;SOUND_SUPPORT;CHEATCODE_SUPPORT;%(PreprocessorDefinitions) + MultiThreadedDLL + false + + + Level4 + ProgramDatabase + $(IntDir)%(RelativeDir) + StreamingSIMDExtensions + stdcpp17 + true + 4100;4127;4146;4244;%(DisableSpecificWarnings) + CompileAsCpp + NoListing + + + SDL2.lib;SDL2main.lib;SDL2main.lib;%(AdditionalDependencies) + $(OutDir)Stella.exe + true + Windows + true + true + false + + + MachineX86 + Default + + + + X64 + + + Full + Default + true + ..\yacc;..\emucore;..\emucore\tia;..\emucore\tia\frame-manager;..\common;..\common\tv_filters;..\gui;..\debugger\gui;..\debugger;..\windows;..\cheat;..\zlib;..\libpng;%(AdditionalIncludeDirectories) + BSPF_WINDOWS;WIN32;NDEBUG;JOYSTICK_SUPPORT;DEBUGGER_SUPPORT;WINDOWED_SUPPORT;SOUND_SUPPORT;CHEATCODE_SUPPORT;%(PreprocessorDefinitions) + MultiThreadedDLL + false + + + Level4 + None + $(IntDir)%(RelativeDir) + stdcpp17 + true + 4100;4127;4146;4244;%(DisableSpecificWarnings) + CompileAsCpp + NoListing + + + SDL2.lib;SDL2main.lib;%(AdditionalDependencies) + $(OutDir)Stella.exe + false + Windows + true + true + false + + + MachineX64 + Default + + + X64 @@ -234,7 +349,7 @@ SDL2.lib;SDL2main.lib;%(AdditionalDependencies) $(OutDir)Stella.exe - false + DebugFull Windows true true @@ -515,302 +630,422 @@ CompileAsC CompileAsC + CompileAsC CompileAsC CompileAsC + CompileAsC Level2 Level2 + Level2 Level2 Level2 + Level2 CompileAsC CompileAsC + CompileAsC CompileAsC CompileAsC + CompileAsC Level2 Level2 + Level2 Level2 Level2 + Level2 CompileAsC CompileAsC + CompileAsC CompileAsC CompileAsC + CompileAsC Level2 Level2 + Level2 Level2 Level2 + Level2 CompileAsC CompileAsC + CompileAsC CompileAsC CompileAsC + CompileAsC Level2 Level2 + Level2 Level2 Level2 + Level2 CompileAsC CompileAsC + CompileAsC CompileAsC CompileAsC + CompileAsC Level2 Level2 + Level2 Level2 Level2 + Level2 CompileAsC CompileAsC + CompileAsC CompileAsC CompileAsC + CompileAsC Level2 Level2 + Level2 Level2 Level2 + Level2 CompileAsC CompileAsC + CompileAsC CompileAsC CompileAsC + CompileAsC Level2 Level2 + Level2 Level2 Level2 + Level2 CompileAsC CompileAsC + CompileAsC CompileAsC CompileAsC + CompileAsC Level2 Level2 + Level2 Level2 Level2 + Level2 CompileAsC CompileAsC + CompileAsC CompileAsC CompileAsC + CompileAsC Level2 Level2 + Level2 Level2 Level2 + Level2 CompileAsC CompileAsC + CompileAsC CompileAsC CompileAsC + CompileAsC Level2 Level2 + Level2 Level2 Level2 + Level2 CompileAsC CompileAsC + CompileAsC CompileAsC CompileAsC + CompileAsC Level2 Level2 + Level2 Level2 Level2 + Level2 CompileAsC CompileAsC + CompileAsC CompileAsC CompileAsC + CompileAsC Level2 Level2 + Level2 Level2 Level2 + Level2 CompileAsC CompileAsC + CompileAsC CompileAsC CompileAsC + CompileAsC Level2 Level2 + Level2 Level2 Level2 + Level2 CompileAsC CompileAsC + CompileAsC CompileAsC CompileAsC + CompileAsC Level2 Level2 + Level2 Level2 Level2 + Level2 CompileAsC CompileAsC + CompileAsC CompileAsC CompileAsC + CompileAsC Level2 Level2 + Level2 Level2 Level2 + Level2 Level2 Level2 + Level2 Level2 Level2 + Level2 CompileAsC CompileAsC + CompileAsC CompileAsC CompileAsC + CompileAsC Level2 Level2 + Level2 Level2 Level2 + Level2 CompileAsC CompileAsC + CompileAsC CompileAsC CompileAsC + CompileAsC Level2 Level2 + Level2 Level2 Level2 + Level2 CompileAsC CompileAsC + CompileAsC CompileAsC CompileAsC + CompileAsC Level2 Level2 + Level2 Level2 Level2 + Level2 CompileAsC CompileAsC + CompileAsC CompileAsC CompileAsC + CompileAsC Level2 Level2 + Level2 Level2 Level2 + Level2 CompileAsC CompileAsC + CompileAsC CompileAsC CompileAsC + CompileAsC Level2 Level2 + Level2 Level2 Level2 + Level2 CompileAsC CompileAsC + CompileAsC CompileAsC CompileAsC + CompileAsC Level2 Level2 + Level2 Level2 Level2 + Level2 CompileAsC CompileAsC + CompileAsC CompileAsC CompileAsC + CompileAsC Level2 Level2 + Level2 Level2 Level2 + Level2 CompileAsC CompileAsC + CompileAsC CompileAsC CompileAsC + CompileAsC Level2 Level2 + Level2 Level2 Level2 + Level2 CompileAsC CompileAsC + CompileAsC CompileAsC CompileAsC + CompileAsC Level2 Level2 + Level2 Level2 Level2 + Level2 CompileAsC CompileAsC + CompileAsC CompileAsC CompileAsC + CompileAsC Level2 Level2 + Level2 Level2 Level2 + Level2 CompileAsC CompileAsC + CompileAsC CompileAsC CompileAsC + CompileAsC Level2 Level2 + Level2 Level2 Level2 + Level2 CompileAsC CompileAsC + CompileAsC CompileAsC CompileAsC + CompileAsC Level2 Level2 + Level2 Level2 Level2 + Level2 CompileAsC CompileAsC + CompileAsC CompileAsC CompileAsC + CompileAsC Level2 Level2 + Level2 Level2 Level2 + Level2 CompileAsC CompileAsC + CompileAsC CompileAsC CompileAsC + CompileAsC Level2 Level2 + Level2 Level2 Level2 + Level2 CompileAsC CompileAsC + CompileAsC CompileAsC CompileAsC + CompileAsC