mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
initial folders
This commit is contained in:
+34
-34
@@ -1,35 +1,35 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
<connectionStrings>
|
<connectionStrings>
|
||||||
<!-- the app uses the TicketReservations conn str.
|
<!-- the app uses the TicketReservations conn str.
|
||||||
-->
|
-->
|
||||||
<add name="TicketReservations" connectionString="Server=.;Database=TicketReservations;Integrated Security=True" providerName="System.Data.SqlClient" />
|
<add name="TicketReservations" connectionString="Server=.;Database=TicketReservations;Integrated Security=True" providerName="System.Data.SqlClient" />
|
||||||
</connectionStrings>
|
</connectionStrings>
|
||||||
<appSettings>
|
<appSettings>
|
||||||
<!-- For Azure DB, recommend to reduce the ThreadCount-->
|
<!-- For Azure DB, recommend to reduce the ThreadCount-->
|
||||||
<add key="ThreadCount" value="80" />
|
<add key="ThreadCount" value="80" />
|
||||||
<add key="ReadsPerWrite" value="1" />
|
<add key="ReadsPerWrite" value="1" />
|
||||||
<add key="RequestCount" value="100000" />
|
<add key="RequestCount" value="100000" />
|
||||||
<add key="RowCount" value="10" />
|
<add key="RowCount" value="10" />
|
||||||
<add key="TransactionCount" value="1" />
|
<add key="TransactionCount" value="1" />
|
||||||
<add key="WorkloadIndex" value="0" />
|
<add key="WorkloadIndex" value="0" />
|
||||||
<add key="MaxTps" value="100" />
|
<add key="MaxTps" value="100" />
|
||||||
<add key="MaxLatchWaits" value="20000" />
|
<add key="MaxLatchWaits" value="20000" />
|
||||||
<add key="ClientSettingsProvider.ServiceUri" value="" />
|
<add key="ClientSettingsProvider.ServiceUri" value="" />
|
||||||
</appSettings>
|
</appSettings>
|
||||||
<startup>
|
<startup>
|
||||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />
|
||||||
</startup>
|
</startup>
|
||||||
<system.web>
|
<system.web>
|
||||||
<membership defaultProvider="ClientAuthenticationMembershipProvider">
|
<membership defaultProvider="ClientAuthenticationMembershipProvider">
|
||||||
<providers>
|
<providers>
|
||||||
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
|
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
|
||||||
</providers>
|
</providers>
|
||||||
</membership>
|
</membership>
|
||||||
<roleManager defaultProvider="ClientRoleProvider" enabled="true">
|
<roleManager defaultProvider="ClientRoleProvider" enabled="true">
|
||||||
<providers>
|
<providers>
|
||||||
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
|
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
|
||||||
</providers>
|
</providers>
|
||||||
</roleManager>
|
</roleManager>
|
||||||
</system.web>
|
</system.web>
|
||||||
</configuration>
|
</configuration>
|
||||||
+206
-206
@@ -1,207 +1,207 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||||
<ProductVersion>8.0.30703</ProductVersion>
|
<ProductVersion>8.0.30703</ProductVersion>
|
||||||
<SchemaVersion>2.0</SchemaVersion>
|
<SchemaVersion>2.0</SchemaVersion>
|
||||||
<ProjectGuid>{2881A3C4-9153-46F2-8196-9929ED9C17D6}</ProjectGuid>
|
<ProjectGuid>{2881A3C4-9153-46F2-8196-9929ED9C17D6}</ProjectGuid>
|
||||||
<OutputType>WinExe</OutputType>
|
<OutputType>WinExe</OutputType>
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
<RootNamespace>DemoWorkload</RootNamespace>
|
<RootNamespace>DemoWorkload</RootNamespace>
|
||||||
<AssemblyName>DemoWorkload</AssemblyName>
|
<AssemblyName>DemoWorkload</AssemblyName>
|
||||||
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
|
||||||
<TargetFrameworkProfile>
|
<TargetFrameworkProfile>
|
||||||
</TargetFrameworkProfile>
|
</TargetFrameworkProfile>
|
||||||
<FileAlignment>512</FileAlignment>
|
<FileAlignment>512</FileAlignment>
|
||||||
<PublishUrl>publish\</PublishUrl>
|
<PublishUrl>publish\</PublishUrl>
|
||||||
<Install>true</Install>
|
<Install>true</Install>
|
||||||
<InstallFrom>Disk</InstallFrom>
|
<InstallFrom>Disk</InstallFrom>
|
||||||
<UpdateEnabled>false</UpdateEnabled>
|
<UpdateEnabled>false</UpdateEnabled>
|
||||||
<UpdateMode>Foreground</UpdateMode>
|
<UpdateMode>Foreground</UpdateMode>
|
||||||
<UpdateInterval>7</UpdateInterval>
|
<UpdateInterval>7</UpdateInterval>
|
||||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||||
<UpdatePeriodically>false</UpdatePeriodically>
|
<UpdatePeriodically>false</UpdatePeriodically>
|
||||||
<UpdateRequired>false</UpdateRequired>
|
<UpdateRequired>false</UpdateRequired>
|
||||||
<MapFileExtensions>true</MapFileExtensions>
|
<MapFileExtensions>true</MapFileExtensions>
|
||||||
<ApplicationRevision>0</ApplicationRevision>
|
<ApplicationRevision>0</ApplicationRevision>
|
||||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||||
<UseApplicationTrust>false</UseApplicationTrust>
|
<UseApplicationTrust>false</UseApplicationTrust>
|
||||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
<CodeAnalysisRuleSet>DemoWorkload.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>DemoWorkload.ruleset</CodeAnalysisRuleSet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
<CodeAnalysisRuleSet>DemoWorkload.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>DemoWorkload.ruleset</CodeAnalysisRuleSet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<CodeAnalysisLogFile>bin\Debug\WindowsFormsApplication2.exe.CodeAnalysisLog.xml</CodeAnalysisLogFile>
|
<CodeAnalysisLogFile>bin\Debug\WindowsFormsApplication2.exe.CodeAnalysisLog.xml</CodeAnalysisLogFile>
|
||||||
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
|
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
|
||||||
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
|
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<CodeAnalysisRuleSet>DemoWorkload.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>DemoWorkload.ruleset</CodeAnalysisRuleSet>
|
||||||
<CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
|
<CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
|
||||||
<CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
|
<CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
|
||||||
<CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
|
<CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
|
||||||
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
|
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
<RunCodeAnalysis>true</RunCodeAnalysis>
|
<RunCodeAnalysis>true</RunCodeAnalysis>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<CodeAnalysisLogFile>bin\Release\WindowsFormsApplication2.exe.CodeAnalysisLog.xml</CodeAnalysisLogFile>
|
<CodeAnalysisLogFile>bin\Release\WindowsFormsApplication2.exe.CodeAnalysisLog.xml</CodeAnalysisLogFile>
|
||||||
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
|
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
|
||||||
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
|
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<CodeAnalysisRuleSet>DemoWorkload.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>DemoWorkload.ruleset</CodeAnalysisRuleSet>
|
||||||
<CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
|
<CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
|
||||||
<CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
|
<CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
|
||||||
<CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
|
<CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
|
||||||
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
|
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<ApplicationIcon>Resources\sqlserver.ico</ApplicationIcon>
|
<ApplicationIcon>Resources\sqlserver.ico</ApplicationIcon>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<SignAssembly>false</SignAssembly>
|
<SignAssembly>false</SignAssembly>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<SignManifests>false</SignManifests>
|
<SignManifests>false</SignManifests>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<AssemblyOriginatorKeyFile>
|
<AssemblyOriginatorKeyFile>
|
||||||
</AssemblyOriginatorKeyFile>
|
</AssemblyOriginatorKeyFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="CircularGauge, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="CircularGauge, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\CircularGauge.1.0.0\Lib\Net40-Client\CircularGauge.dll</HintPath>
|
<HintPath>..\packages\CircularGauge.1.0.0\Lib\Net40-Client\CircularGauge.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="PresentationCore" />
|
<Reference Include="PresentationCore" />
|
||||||
<Reference Include="PresentationFramework" />
|
<Reference Include="PresentationFramework" />
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.configuration" />
|
<Reference Include="System.configuration" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
<Reference Include="System.Data.Entity" />
|
<Reference Include="System.Data.Entity" />
|
||||||
<Reference Include="System.Runtime.Serialization" />
|
<Reference Include="System.Runtime.Serialization" />
|
||||||
<Reference Include="System.Security" />
|
<Reference Include="System.Security" />
|
||||||
<Reference Include="System.Web.Extensions" />
|
<Reference Include="System.Web.Extensions" />
|
||||||
<Reference Include="System.Windows.Forms.DataVisualization" />
|
<Reference Include="System.Windows.Forms.DataVisualization" />
|
||||||
<Reference Include="System.Xml.Linq" />
|
<Reference Include="System.Xml.Linq" />
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
<Reference Include="System.Data" />
|
<Reference Include="System.Data" />
|
||||||
<Reference Include="System.Deployment" />
|
<Reference Include="System.Deployment" />
|
||||||
<Reference Include="System.Drawing" />
|
<Reference Include="System.Drawing" />
|
||||||
<Reference Include="System.Windows.Forms" />
|
<Reference Include="System.Windows.Forms" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
<Reference Include="UIAutomationProvider" />
|
<Reference Include="UIAutomationProvider" />
|
||||||
<Reference Include="UIAutomationTypes" />
|
<Reference Include="UIAutomationTypes" />
|
||||||
<Reference Include="WindowsBase" />
|
<Reference Include="WindowsBase" />
|
||||||
<Reference Include="WindowsFormsIntegration" />
|
<Reference Include="WindowsFormsIntegration" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="UIControls.cs" />
|
<Compile Include="UIControls.cs" />
|
||||||
<Compile Include="FrmConfig.cs">
|
<Compile Include="FrmConfig.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="FrmConfig.Designer.cs">
|
<Compile Include="FrmConfig.Designer.cs">
|
||||||
<DependentUpon>FrmConfig.cs</DependentUpon>
|
<DependentUpon>FrmConfig.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="FrmMain.cs">
|
<Compile Include="FrmMain.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="FrmMain.Designer.cs">
|
<Compile Include="FrmMain.Designer.cs">
|
||||||
<DependentUpon>FrmMain.cs</DependentUpon>
|
<DependentUpon>FrmMain.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Program.cs" />
|
<Compile Include="Program.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
<EmbeddedResource Include="FrmConfig.resx">
|
<EmbeddedResource Include="FrmConfig.resx">
|
||||||
<DependentUpon>FrmConfig.cs</DependentUpon>
|
<DependentUpon>FrmConfig.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="FrmMain.resx">
|
<EmbeddedResource Include="FrmMain.resx">
|
||||||
<DependentUpon>FrmMain.cs</DependentUpon>
|
<DependentUpon>FrmMain.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="Properties\Resources.resx">
|
<EmbeddedResource Include="Properties\Resources.resx">
|
||||||
<Generator>ResXFileCodeGenerator</Generator>
|
<Generator>ResXFileCodeGenerator</Generator>
|
||||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<Compile Include="Properties\Resources.Designer.cs">
|
<Compile Include="Properties\Resources.Designer.cs">
|
||||||
<AutoGen>True</AutoGen>
|
<AutoGen>True</AutoGen>
|
||||||
<DependentUpon>Resources.resx</DependentUpon>
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
<DesignTime>True</DesignTime>
|
<DesignTime>True</DesignTime>
|
||||||
</Compile>
|
</Compile>
|
||||||
<None Include="App.Config" />
|
<None Include="App.Config" />
|
||||||
<None Include="DemoWorkload.ruleset" />
|
<None Include="DemoWorkload.ruleset" />
|
||||||
<None Include="packages.config" />
|
<None Include="packages.config" />
|
||||||
<None Include="Properties\Settings.settings">
|
<None Include="Properties\Settings.settings">
|
||||||
<Generator>SettingsSingleFileGenerator</Generator>
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||||
</None>
|
</None>
|
||||||
<Compile Include="Properties\Settings.Designer.cs">
|
<Compile Include="Properties\Settings.Designer.cs">
|
||||||
<AutoGen>True</AutoGen>
|
<AutoGen>True</AutoGen>
|
||||||
<DependentUpon>Settings.settings</DependentUpon>
|
<DependentUpon>Settings.settings</DependentUpon>
|
||||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||||
</Compile>
|
</Compile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="Resources\SQLBackground.jpg" />
|
<None Include="Resources\SQLBackground.jpg" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="Resources\sqlserver.ico" />
|
<None Include="Resources\sqlserver.ico" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<WCFMetadata Include="Service References\" />
|
<WCFMetadata Include="Service References\" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<BootstrapperPackage Include=".NETFramework,Version=v4.6">
|
<BootstrapperPackage Include=".NETFramework,Version=v4.6">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
<ProductName>Microsoft .NET Framework 4.6 %28x86 and x64%29</ProductName>
|
<ProductName>Microsoft .NET Framework 4.6 %28x86 and x64%29</ProductName>
|
||||||
<Install>true</Install>
|
<Install>true</Install>
|
||||||
</BootstrapperPackage>
|
</BootstrapperPackage>
|
||||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||||
<Install>false</Install>
|
<Install>false</Install>
|
||||||
</BootstrapperPackage>
|
</BootstrapperPackage>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup />
|
<ItemGroup />
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
<Target Name="BeforeBuild">
|
<Target Name="BeforeBuild">
|
||||||
</Target>
|
</Target>
|
||||||
<Target Name="AfterBuild">
|
<Target Name="AfterBuild">
|
||||||
</Target>
|
</Target>
|
||||||
-->
|
-->
|
||||||
</Project>
|
</Project>
|
||||||
+478
-478
@@ -1,478 +1,478 @@
|
|||||||
namespace DemoWorkload
|
namespace DemoWorkload
|
||||||
{
|
{
|
||||||
partial class FrmMain
|
partial class FrmMain
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required designer variable.
|
/// Required designer variable.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private System.ComponentModel.IContainer components = null;
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Clean up any resources being used.
|
/// Clean up any resources being used.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
protected override void Dispose(bool disposing)
|
protected override void Dispose(bool disposing)
|
||||||
{
|
{
|
||||||
if (disposing && (components != null))
|
if (disposing && (components != null))
|
||||||
{
|
{
|
||||||
components.Dispose();
|
components.Dispose();
|
||||||
}
|
}
|
||||||
base.Dispose(disposing);
|
base.Dispose(disposing);
|
||||||
}
|
}
|
||||||
|
|
||||||
#region Windows Form Designer generated code
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required method for Designer support - do not modify
|
/// Required method for Designer support - do not modify
|
||||||
/// the contents of this method with the code editor.
|
/// the contents of this method with the code editor.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
|
System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
|
||||||
System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend();
|
System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend();
|
||||||
System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series();
|
System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series();
|
||||||
System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint1 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0D, 0D);
|
System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint1 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0D, 0D);
|
||||||
System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea2 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
|
System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea2 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
|
||||||
System.Windows.Forms.DataVisualization.Charting.Series series2 = new System.Windows.Forms.DataVisualization.Charting.Series();
|
System.Windows.Forms.DataVisualization.Charting.Series series2 = new System.Windows.Forms.DataVisualization.Charting.Series();
|
||||||
System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint2 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0D, 1D);
|
System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint2 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0D, 1D);
|
||||||
System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea3 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
|
System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea3 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
|
||||||
System.Windows.Forms.DataVisualization.Charting.Series series3 = new System.Windows.Forms.DataVisualization.Charting.Series();
|
System.Windows.Forms.DataVisualization.Charting.Series series3 = new System.Windows.Forms.DataVisualization.Charting.Series();
|
||||||
System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint3 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0D, 1D);
|
System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint3 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0D, 1D);
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain));
|
||||||
this.btnRun = new System.Windows.Forms.Button();
|
this.btnRun = new System.Windows.Forms.Button();
|
||||||
this.btnStop = new System.Windows.Forms.Button();
|
this.btnStop = new System.Windows.Forms.Button();
|
||||||
this.lbResults = new System.Windows.Forms.Label();
|
this.lbResults = new System.Windows.Forms.Label();
|
||||||
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
||||||
this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.configurationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.configurationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.ErrorMessages = new System.Windows.Forms.TextBox();
|
this.ErrorMessages = new System.Windows.Forms.TextBox();
|
||||||
this.chtTPS = new System.Windows.Forms.DataVisualization.Charting.Chart();
|
this.chtTPS = new System.Windows.Forms.DataVisualization.Charting.Chart();
|
||||||
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
|
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
|
||||||
this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
|
this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
|
||||||
this.lblTime = new System.Windows.Forms.ToolStripStatusLabel();
|
this.lblTime = new System.Windows.Forms.ToolStripStatusLabel();
|
||||||
this.toolStripStatusLabel3 = new System.Windows.Forms.ToolStripStatusLabel();
|
this.toolStripStatusLabel3 = new System.Windows.Forms.ToolStripStatusLabel();
|
||||||
this.lblThreads = new System.Windows.Forms.ToolStripStatusLabel();
|
this.lblThreads = new System.Windows.Forms.ToolStripStatusLabel();
|
||||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||||
this.label4 = new System.Windows.Forms.Label();
|
this.label4 = new System.Windows.Forms.Label();
|
||||||
this.speedDialPanel = new System.Windows.Forms.Panel();
|
this.speedDialPanel = new System.Windows.Forms.Panel();
|
||||||
this.label2 = new System.Windows.Forms.Label();
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
this.btnToggle = new System.Windows.Forms.Button();
|
this.btnToggle = new System.Windows.Forms.Button();
|
||||||
this.chtLatches = new System.Windows.Forms.DataVisualization.Charting.Chart();
|
this.chtLatches = new System.Windows.Forms.DataVisualization.Charting.Chart();
|
||||||
this.chtCPU = new System.Windows.Forms.DataVisualization.Charting.Chart();
|
this.chtCPU = new System.Windows.Forms.DataVisualization.Charting.Chart();
|
||||||
this.label3 = new System.Windows.Forms.Label();
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
this.menuStrip1.SuspendLayout();
|
this.menuStrip1.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.chtTPS)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.chtTPS)).BeginInit();
|
||||||
this.statusStrip1.SuspendLayout();
|
this.statusStrip1.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||||
this.splitContainer1.Panel1.SuspendLayout();
|
this.splitContainer1.Panel1.SuspendLayout();
|
||||||
this.splitContainer1.Panel2.SuspendLayout();
|
this.splitContainer1.Panel2.SuspendLayout();
|
||||||
this.splitContainer1.SuspendLayout();
|
this.splitContainer1.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.chtLatches)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.chtLatches)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.chtCPU)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.chtCPU)).BeginInit();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// btnRun
|
// btnRun
|
||||||
//
|
//
|
||||||
this.btnRun.BackColor = System.Drawing.Color.White;
|
this.btnRun.BackColor = System.Drawing.Color.White;
|
||||||
this.btnRun.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnRun.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||||
this.btnRun.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.btnRun.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.btnRun.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
this.btnRun.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
||||||
this.btnRun.Location = new System.Drawing.Point(801, 20);
|
this.btnRun.Location = new System.Drawing.Point(801, 20);
|
||||||
this.btnRun.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.btnRun.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.btnRun.Name = "btnRun";
|
this.btnRun.Name = "btnRun";
|
||||||
this.btnRun.Size = new System.Drawing.Size(112, 37);
|
this.btnRun.Size = new System.Drawing.Size(112, 37);
|
||||||
this.btnRun.TabIndex = 3;
|
this.btnRun.TabIndex = 3;
|
||||||
this.btnRun.Text = "Start";
|
this.btnRun.Text = "Start";
|
||||||
this.btnRun.UseVisualStyleBackColor = false;
|
this.btnRun.UseVisualStyleBackColor = false;
|
||||||
this.btnRun.Click += new System.EventHandler(this.OnRunClick);
|
this.btnRun.Click += new System.EventHandler(this.OnRunClick);
|
||||||
//
|
//
|
||||||
// btnStop
|
// btnStop
|
||||||
//
|
//
|
||||||
this.btnStop.BackColor = System.Drawing.Color.White;
|
this.btnStop.BackColor = System.Drawing.Color.White;
|
||||||
this.btnStop.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnStop.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||||
this.btnStop.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.btnStop.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.btnStop.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
this.btnStop.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
||||||
this.btnStop.Location = new System.Drawing.Point(923, 20);
|
this.btnStop.Location = new System.Drawing.Point(923, 20);
|
||||||
this.btnStop.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.btnStop.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.btnStop.Name = "btnStop";
|
this.btnStop.Name = "btnStop";
|
||||||
this.btnStop.Size = new System.Drawing.Size(109, 37);
|
this.btnStop.Size = new System.Drawing.Size(109, 37);
|
||||||
this.btnStop.TabIndex = 25;
|
this.btnStop.TabIndex = 25;
|
||||||
this.btnStop.Tag = "Data";
|
this.btnStop.Tag = "Data";
|
||||||
this.btnStop.Text = "Stop";
|
this.btnStop.Text = "Stop";
|
||||||
this.btnStop.UseVisualStyleBackColor = false;
|
this.btnStop.UseVisualStyleBackColor = false;
|
||||||
this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
|
this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
|
||||||
//
|
//
|
||||||
// lbResults
|
// lbResults
|
||||||
//
|
//
|
||||||
this.lbResults.BackColor = System.Drawing.Color.Transparent;
|
this.lbResults.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.lbResults.Font = new System.Drawing.Font("Microsoft Sans Serif", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.lbResults.Font = new System.Drawing.Font("Microsoft Sans Serif", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.lbResults.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(166)))));
|
this.lbResults.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(166)))));
|
||||||
this.lbResults.Location = new System.Drawing.Point(-47, 4);
|
this.lbResults.Location = new System.Drawing.Point(-47, 4);
|
||||||
this.lbResults.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
this.lbResults.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.lbResults.Name = "lbResults";
|
this.lbResults.Name = "lbResults";
|
||||||
this.lbResults.Size = new System.Drawing.Size(313, 65);
|
this.lbResults.Size = new System.Drawing.Size(313, 65);
|
||||||
this.lbResults.TabIndex = 31;
|
this.lbResults.TabIndex = 31;
|
||||||
this.lbResults.Text = "Baseline";
|
this.lbResults.Text = "Baseline";
|
||||||
this.lbResults.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
this.lbResults.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
//
|
//
|
||||||
// menuStrip1
|
// menuStrip1
|
||||||
//
|
//
|
||||||
this.menuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
|
this.menuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
|
||||||
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
this.optionsToolStripMenuItem});
|
this.optionsToolStripMenuItem});
|
||||||
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.menuStrip1.Name = "menuStrip1";
|
this.menuStrip1.Name = "menuStrip1";
|
||||||
this.menuStrip1.Padding = new System.Windows.Forms.Padding(8, 1, 0, 1);
|
this.menuStrip1.Padding = new System.Windows.Forms.Padding(8, 1, 0, 1);
|
||||||
this.menuStrip1.Size = new System.Drawing.Size(1087, 26);
|
this.menuStrip1.Size = new System.Drawing.Size(1087, 26);
|
||||||
this.menuStrip1.TabIndex = 32;
|
this.menuStrip1.TabIndex = 32;
|
||||||
this.menuStrip1.Text = "menuStrip1";
|
this.menuStrip1.Text = "menuStrip1";
|
||||||
//
|
//
|
||||||
// optionsToolStripMenuItem
|
// optionsToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.optionsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.optionsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
this.configurationToolStripMenuItem,
|
this.configurationToolStripMenuItem,
|
||||||
this.exitToolStripMenuItem});
|
this.exitToolStripMenuItem});
|
||||||
this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem";
|
this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem";
|
||||||
this.optionsToolStripMenuItem.Size = new System.Drawing.Size(73, 24);
|
this.optionsToolStripMenuItem.Size = new System.Drawing.Size(73, 24);
|
||||||
this.optionsToolStripMenuItem.Text = "Options";
|
this.optionsToolStripMenuItem.Text = "Options";
|
||||||
//
|
//
|
||||||
// configurationToolStripMenuItem
|
// configurationToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.configurationToolStripMenuItem.Name = "configurationToolStripMenuItem";
|
this.configurationToolStripMenuItem.Name = "configurationToolStripMenuItem";
|
||||||
this.configurationToolStripMenuItem.Size = new System.Drawing.Size(175, 26);
|
this.configurationToolStripMenuItem.Size = new System.Drawing.Size(175, 26);
|
||||||
this.configurationToolStripMenuItem.Text = "Configuration";
|
this.configurationToolStripMenuItem.Text = "Configuration";
|
||||||
this.configurationToolStripMenuItem.Click += new System.EventHandler(this.configurationToolStripMenuItem_Click);
|
this.configurationToolStripMenuItem.Click += new System.EventHandler(this.configurationToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// exitToolStripMenuItem
|
// exitToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
|
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
|
||||||
this.exitToolStripMenuItem.Size = new System.Drawing.Size(175, 26);
|
this.exitToolStripMenuItem.Size = new System.Drawing.Size(175, 26);
|
||||||
this.exitToolStripMenuItem.Text = "Exit";
|
this.exitToolStripMenuItem.Text = "Exit";
|
||||||
this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
|
this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// ErrorMessages
|
// ErrorMessages
|
||||||
//
|
//
|
||||||
this.ErrorMessages.Location = new System.Drawing.Point(1128, 97);
|
this.ErrorMessages.Location = new System.Drawing.Point(1128, 97);
|
||||||
this.ErrorMessages.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.ErrorMessages.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.ErrorMessages.Multiline = true;
|
this.ErrorMessages.Multiline = true;
|
||||||
this.ErrorMessages.Name = "ErrorMessages";
|
this.ErrorMessages.Name = "ErrorMessages";
|
||||||
this.ErrorMessages.ReadOnly = true;
|
this.ErrorMessages.ReadOnly = true;
|
||||||
this.ErrorMessages.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
this.ErrorMessages.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
||||||
this.ErrorMessages.Size = new System.Drawing.Size(479, 334);
|
this.ErrorMessages.Size = new System.Drawing.Size(479, 334);
|
||||||
this.ErrorMessages.TabIndex = 5;
|
this.ErrorMessages.TabIndex = 5;
|
||||||
this.ErrorMessages.TabStop = false;
|
this.ErrorMessages.TabStop = false;
|
||||||
//
|
//
|
||||||
// chtTPS
|
// chtTPS
|
||||||
//
|
//
|
||||||
this.chtTPS.BackColor = System.Drawing.Color.Transparent;
|
this.chtTPS.BackColor = System.Drawing.Color.Transparent;
|
||||||
chartArea1.AxisX.IntervalType = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Seconds;
|
chartArea1.AxisX.IntervalType = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Seconds;
|
||||||
chartArea1.AxisX.MajorGrid.Enabled = false;
|
chartArea1.AxisX.MajorGrid.Enabled = false;
|
||||||
chartArea1.AxisX.MajorGrid.Interval = 0D;
|
chartArea1.AxisX.MajorGrid.Interval = 0D;
|
||||||
chartArea1.AxisX.MajorGrid.IntervalOffset = 0D;
|
chartArea1.AxisX.MajorGrid.IntervalOffset = 0D;
|
||||||
chartArea1.AxisX.MajorGrid.IntervalType = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Auto;
|
chartArea1.AxisX.MajorGrid.IntervalType = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Auto;
|
||||||
chartArea1.AxisX.MajorTickMark.Enabled = false;
|
chartArea1.AxisX.MajorTickMark.Enabled = false;
|
||||||
chartArea1.AxisX.Maximum = 100D;
|
chartArea1.AxisX.Maximum = 100D;
|
||||||
chartArea1.AxisX.Minimum = 0D;
|
chartArea1.AxisX.Minimum = 0D;
|
||||||
chartArea1.AxisY.MajorGrid.Enabled = false;
|
chartArea1.AxisY.MajorGrid.Enabled = false;
|
||||||
chartArea1.AxisY.Minimum = 0D;
|
chartArea1.AxisY.Minimum = 0D;
|
||||||
chartArea1.BackColor = System.Drawing.Color.Transparent;
|
chartArea1.BackColor = System.Drawing.Color.Transparent;
|
||||||
chartArea1.Name = "ChartArea1";
|
chartArea1.Name = "ChartArea1";
|
||||||
this.chtTPS.ChartAreas.Add(chartArea1);
|
this.chtTPS.ChartAreas.Add(chartArea1);
|
||||||
legend1.BackColor = System.Drawing.Color.Transparent;
|
legend1.BackColor = System.Drawing.Color.Transparent;
|
||||||
legend1.Enabled = false;
|
legend1.Enabled = false;
|
||||||
legend1.Name = "Legend1";
|
legend1.Name = "Legend1";
|
||||||
this.chtTPS.Legends.Add(legend1);
|
this.chtTPS.Legends.Add(legend1);
|
||||||
this.chtTPS.Location = new System.Drawing.Point(449, 110);
|
this.chtTPS.Location = new System.Drawing.Point(449, 110);
|
||||||
this.chtTPS.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.chtTPS.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.chtTPS.Name = "chtTPS";
|
this.chtTPS.Name = "chtTPS";
|
||||||
this.chtTPS.Palette = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.None;
|
this.chtTPS.Palette = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.None;
|
||||||
series1.ChartArea = "ChartArea1";
|
series1.ChartArea = "ChartArea1";
|
||||||
series1.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Area;
|
series1.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Area;
|
||||||
series1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(166)))));
|
series1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(166)))));
|
||||||
series1.Legend = "Legend1";
|
series1.Legend = "Legend1";
|
||||||
series1.MarkerBorderWidth = 3;
|
series1.MarkerBorderWidth = 3;
|
||||||
series1.Name = "TPS";
|
series1.Name = "TPS";
|
||||||
series1.Points.Add(dataPoint1);
|
series1.Points.Add(dataPoint1);
|
||||||
this.chtTPS.Series.Add(series1);
|
this.chtTPS.Series.Add(series1);
|
||||||
this.chtTPS.Size = new System.Drawing.Size(464, 330);
|
this.chtTPS.Size = new System.Drawing.Size(464, 330);
|
||||||
this.chtTPS.TabIndex = 33;
|
this.chtTPS.TabIndex = 33;
|
||||||
this.chtTPS.Text = "chart1";
|
this.chtTPS.Text = "chart1";
|
||||||
//
|
//
|
||||||
// statusStrip1
|
// statusStrip1
|
||||||
//
|
//
|
||||||
this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
|
this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
|
||||||
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
this.toolStripStatusLabel1,
|
this.toolStripStatusLabel1,
|
||||||
this.lblTime,
|
this.lblTime,
|
||||||
this.toolStripStatusLabel3,
|
this.toolStripStatusLabel3,
|
||||||
this.lblThreads});
|
this.lblThreads});
|
||||||
this.statusStrip1.Location = new System.Drawing.Point(0, 796);
|
this.statusStrip1.Location = new System.Drawing.Point(0, 796);
|
||||||
this.statusStrip1.Name = "statusStrip1";
|
this.statusStrip1.Name = "statusStrip1";
|
||||||
this.statusStrip1.Padding = new System.Windows.Forms.Padding(1, 0, 19, 0);
|
this.statusStrip1.Padding = new System.Windows.Forms.Padding(1, 0, 19, 0);
|
||||||
this.statusStrip1.Size = new System.Drawing.Size(1087, 25);
|
this.statusStrip1.Size = new System.Drawing.Size(1087, 25);
|
||||||
this.statusStrip1.TabIndex = 35;
|
this.statusStrip1.TabIndex = 35;
|
||||||
this.statusStrip1.Text = "statusStrip1";
|
this.statusStrip1.Text = "statusStrip1";
|
||||||
//
|
//
|
||||||
// toolStripStatusLabel1
|
// toolStripStatusLabel1
|
||||||
//
|
//
|
||||||
this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
|
this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
|
||||||
this.toolStripStatusLabel1.Size = new System.Drawing.Size(101, 20);
|
this.toolStripStatusLabel1.Size = new System.Drawing.Size(101, 20);
|
||||||
this.toolStripStatusLabel1.Text = "Elapsed Time:";
|
this.toolStripStatusLabel1.Text = "Elapsed Time:";
|
||||||
//
|
//
|
||||||
// lblTime
|
// lblTime
|
||||||
//
|
//
|
||||||
this.lblTime.Name = "lblTime";
|
this.lblTime.Name = "lblTime";
|
||||||
this.lblTime.Size = new System.Drawing.Size(17, 20);
|
this.lblTime.Size = new System.Drawing.Size(17, 20);
|
||||||
this.lblTime.Text = "0";
|
this.lblTime.Text = "0";
|
||||||
//
|
//
|
||||||
// toolStripStatusLabel3
|
// toolStripStatusLabel3
|
||||||
//
|
//
|
||||||
this.toolStripStatusLabel3.Name = "toolStripStatusLabel3";
|
this.toolStripStatusLabel3.Name = "toolStripStatusLabel3";
|
||||||
this.toolStripStatusLabel3.Size = new System.Drawing.Size(122, 20);
|
this.toolStripStatusLabel3.Size = new System.Drawing.Size(122, 20);
|
||||||
this.toolStripStatusLabel3.Text = "Running Threads:";
|
this.toolStripStatusLabel3.Text = "Running Threads:";
|
||||||
//
|
//
|
||||||
// lblThreads
|
// lblThreads
|
||||||
//
|
//
|
||||||
this.lblThreads.Name = "lblThreads";
|
this.lblThreads.Name = "lblThreads";
|
||||||
this.lblThreads.Size = new System.Drawing.Size(17, 20);
|
this.lblThreads.Size = new System.Drawing.Size(17, 20);
|
||||||
this.lblThreads.Text = "0";
|
this.lblThreads.Text = "0";
|
||||||
//
|
//
|
||||||
// splitContainer1
|
// splitContainer1
|
||||||
//
|
//
|
||||||
this.splitContainer1.BackColor = System.Drawing.Color.Transparent;
|
this.splitContainer1.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.splitContainer1.Location = new System.Drawing.Point(0, 31);
|
this.splitContainer1.Location = new System.Drawing.Point(0, 31);
|
||||||
this.splitContainer1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.splitContainer1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.splitContainer1.Name = "splitContainer1";
|
this.splitContainer1.Name = "splitContainer1";
|
||||||
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
||||||
//
|
//
|
||||||
// splitContainer1.Panel1
|
// splitContainer1.Panel1
|
||||||
//
|
//
|
||||||
this.splitContainer1.Panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
|
this.splitContainer1.Panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
|
||||||
this.splitContainer1.Panel1.Controls.Add(this.label4);
|
this.splitContainer1.Panel1.Controls.Add(this.label4);
|
||||||
this.splitContainer1.Panel1.Controls.Add(this.speedDialPanel);
|
this.splitContainer1.Panel1.Controls.Add(this.speedDialPanel);
|
||||||
this.splitContainer1.Panel1.Controls.Add(this.label2);
|
this.splitContainer1.Panel1.Controls.Add(this.label2);
|
||||||
this.splitContainer1.Panel1.Controls.Add(this.label1);
|
this.splitContainer1.Panel1.Controls.Add(this.label1);
|
||||||
this.splitContainer1.Panel1.Controls.Add(this.btnToggle);
|
this.splitContainer1.Panel1.Controls.Add(this.btnToggle);
|
||||||
this.splitContainer1.Panel1.Controls.Add(this.chtTPS);
|
this.splitContainer1.Panel1.Controls.Add(this.chtTPS);
|
||||||
this.splitContainer1.Panel1.Controls.Add(this.btnRun);
|
this.splitContainer1.Panel1.Controls.Add(this.btnRun);
|
||||||
this.splitContainer1.Panel1.Controls.Add(this.btnStop);
|
this.splitContainer1.Panel1.Controls.Add(this.btnStop);
|
||||||
this.splitContainer1.Panel1.Controls.Add(this.lbResults);
|
this.splitContainer1.Panel1.Controls.Add(this.lbResults);
|
||||||
//
|
//
|
||||||
// splitContainer1.Panel2
|
// splitContainer1.Panel2
|
||||||
//
|
//
|
||||||
this.splitContainer1.Panel2.Controls.Add(this.chtLatches);
|
this.splitContainer1.Panel2.Controls.Add(this.chtLatches);
|
||||||
this.splitContainer1.Panel2.Controls.Add(this.chtCPU);
|
this.splitContainer1.Panel2.Controls.Add(this.chtCPU);
|
||||||
this.splitContainer1.Size = new System.Drawing.Size(1048, 806);
|
this.splitContainer1.Size = new System.Drawing.Size(1048, 806);
|
||||||
this.splitContainer1.SplitterDistance = 490;
|
this.splitContainer1.SplitterDistance = 490;
|
||||||
this.splitContainer1.SplitterWidth = 5;
|
this.splitContainer1.SplitterWidth = 5;
|
||||||
this.splitContainer1.TabIndex = 39;
|
this.splitContainer1.TabIndex = 39;
|
||||||
//
|
//
|
||||||
// label4
|
// label4
|
||||||
//
|
//
|
||||||
this.label4.AutoSize = true;
|
this.label4.AutoSize = true;
|
||||||
this.label4.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.label4.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||||
this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.label4.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
this.label4.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
||||||
this.label4.Location = new System.Drawing.Point(156, 400);
|
this.label4.Location = new System.Drawing.Point(156, 400);
|
||||||
this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.label4.Name = "label4";
|
this.label4.Name = "label4";
|
||||||
this.label4.Size = new System.Drawing.Size(158, 17);
|
this.label4.Size = new System.Drawing.Size(158, 17);
|
||||||
this.label4.TabIndex = 45;
|
this.label4.TabIndex = 45;
|
||||||
this.label4.Text = "Transactions/sec x1000";
|
this.label4.Text = "Transactions/sec x1000";
|
||||||
//
|
//
|
||||||
// speedDialPanel
|
// speedDialPanel
|
||||||
//
|
//
|
||||||
this.speedDialPanel.Location = new System.Drawing.Point(28, 106);
|
this.speedDialPanel.Location = new System.Drawing.Point(28, 106);
|
||||||
this.speedDialPanel.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.speedDialPanel.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||||
this.speedDialPanel.Name = "speedDialPanel";
|
this.speedDialPanel.Name = "speedDialPanel";
|
||||||
this.speedDialPanel.Size = new System.Drawing.Size(425, 320);
|
this.speedDialPanel.Size = new System.Drawing.Size(425, 320);
|
||||||
this.speedDialPanel.TabIndex = 43;
|
this.speedDialPanel.TabIndex = 43;
|
||||||
//
|
//
|
||||||
// label2
|
// label2
|
||||||
//
|
//
|
||||||
this.label2.AutoSize = true;
|
this.label2.AutoSize = true;
|
||||||
this.label2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.label2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||||
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.label2.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
this.label2.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
||||||
this.label2.Location = new System.Drawing.Point(472, 85);
|
this.label2.Location = new System.Drawing.Point(472, 85);
|
||||||
this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.label2.Name = "label2";
|
this.label2.Name = "label2";
|
||||||
this.label2.Size = new System.Drawing.Size(148, 20);
|
this.label2.Size = new System.Drawing.Size(148, 20);
|
||||||
this.label2.TabIndex = 42;
|
this.label2.TabIndex = 42;
|
||||||
this.label2.Text = "Transactions / sec";
|
this.label2.Text = "Transactions / sec";
|
||||||
//
|
//
|
||||||
// label1
|
// label1
|
||||||
//
|
//
|
||||||
this.label1.AutoSize = true;
|
this.label1.AutoSize = true;
|
||||||
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.label1.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
this.label1.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
||||||
this.label1.Location = new System.Drawing.Point(27, 84);
|
this.label1.Location = new System.Drawing.Point(27, 84);
|
||||||
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.label1.Name = "label1";
|
this.label1.Name = "label1";
|
||||||
this.label1.Size = new System.Drawing.Size(310, 20);
|
this.label1.Size = new System.Drawing.Size(310, 20);
|
||||||
this.label1.TabIndex = 41;
|
this.label1.TabIndex = 41;
|
||||||
this.label1.Text = "Increase in performance since last reset";
|
this.label1.Text = "Increase in performance since last reset";
|
||||||
//
|
//
|
||||||
// btnToggle
|
// btnToggle
|
||||||
//
|
//
|
||||||
this.btnToggle.BackColor = System.Drawing.Color.White;
|
this.btnToggle.BackColor = System.Drawing.Color.White;
|
||||||
this.btnToggle.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnToggle.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||||
this.btnToggle.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.btnToggle.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.btnToggle.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
this.btnToggle.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
||||||
this.btnToggle.Location = new System.Drawing.Point(24, 446);
|
this.btnToggle.Location = new System.Drawing.Point(24, 446);
|
||||||
this.btnToggle.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.btnToggle.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.btnToggle.Name = "btnToggle";
|
this.btnToggle.Name = "btnToggle";
|
||||||
this.btnToggle.Size = new System.Drawing.Size(199, 37);
|
this.btnToggle.Size = new System.Drawing.Size(199, 37);
|
||||||
this.btnToggle.TabIndex = 39;
|
this.btnToggle.TabIndex = 39;
|
||||||
this.btnToggle.Text = "Show diagnostics ";
|
this.btnToggle.Text = "Show diagnostics ";
|
||||||
this.btnToggle.UseVisualStyleBackColor = false;
|
this.btnToggle.UseVisualStyleBackColor = false;
|
||||||
this.btnToggle.Click += new System.EventHandler(this.btnToggle_Click);
|
this.btnToggle.Click += new System.EventHandler(this.btnToggle_Click);
|
||||||
//
|
//
|
||||||
// chtLatches
|
// chtLatches
|
||||||
//
|
//
|
||||||
chartArea2.AxisX.Enabled = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False;
|
chartArea2.AxisX.Enabled = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False;
|
||||||
chartArea2.AxisX.LabelStyle.Enabled = false;
|
chartArea2.AxisX.LabelStyle.Enabled = false;
|
||||||
chartArea2.AxisX.LineColor = System.Drawing.Color.White;
|
chartArea2.AxisX.LineColor = System.Drawing.Color.White;
|
||||||
chartArea2.AxisX.LineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.NotSet;
|
chartArea2.AxisX.LineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.NotSet;
|
||||||
chartArea2.AxisX.LineWidth = 0;
|
chartArea2.AxisX.LineWidth = 0;
|
||||||
chartArea2.AxisX.MajorGrid.Enabled = false;
|
chartArea2.AxisX.MajorGrid.Enabled = false;
|
||||||
chartArea2.AxisX.MajorTickMark.Enabled = false;
|
chartArea2.AxisX.MajorTickMark.Enabled = false;
|
||||||
chartArea2.AxisY.LineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.NotSet;
|
chartArea2.AxisY.LineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.NotSet;
|
||||||
chartArea2.AxisY.MajorGrid.Enabled = false;
|
chartArea2.AxisY.MajorGrid.Enabled = false;
|
||||||
chartArea2.AxisY.MajorTickMark.Enabled = false;
|
chartArea2.AxisY.MajorTickMark.Enabled = false;
|
||||||
chartArea2.AxisY.Maximum = 170000D;
|
chartArea2.AxisY.Maximum = 170000D;
|
||||||
chartArea2.AxisY.Minimum = 0D;
|
chartArea2.AxisY.Minimum = 0D;
|
||||||
chartArea2.AxisY.Title = "Current latches / sec";
|
chartArea2.AxisY.Title = "Current latches / sec";
|
||||||
chartArea2.AxisY.TitleFont = new System.Drawing.Font("Microsoft Sans Serif", 10F);
|
chartArea2.AxisY.TitleFont = new System.Drawing.Font("Microsoft Sans Serif", 10F);
|
||||||
chartArea2.AxisY.TitleForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
chartArea2.AxisY.TitleForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
||||||
chartArea2.BorderWidth = 0;
|
chartArea2.BorderWidth = 0;
|
||||||
chartArea2.Name = "ChartArea1";
|
chartArea2.Name = "ChartArea1";
|
||||||
this.chtLatches.ChartAreas.Add(chartArea2);
|
this.chtLatches.ChartAreas.Add(chartArea2);
|
||||||
this.chtLatches.Location = new System.Drawing.Point(0, 148);
|
this.chtLatches.Location = new System.Drawing.Point(0, 148);
|
||||||
this.chtLatches.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.chtLatches.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.chtLatches.Name = "chtLatches";
|
this.chtLatches.Name = "chtLatches";
|
||||||
series2.ChartArea = "ChartArea1";
|
series2.ChartArea = "ChartArea1";
|
||||||
series2.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Bar;
|
series2.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Bar;
|
||||||
series2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(73)))), ((int)(((byte)(0)))));
|
series2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(73)))), ((int)(((byte)(0)))));
|
||||||
series2.Name = "Latches";
|
series2.Name = "Latches";
|
||||||
series2.Points.Add(dataPoint2);
|
series2.Points.Add(dataPoint2);
|
||||||
this.chtLatches.Series.Add(series2);
|
this.chtLatches.Series.Add(series2);
|
||||||
this.chtLatches.Size = new System.Drawing.Size(913, 103);
|
this.chtLatches.Size = new System.Drawing.Size(913, 103);
|
||||||
this.chtLatches.TabIndex = 42;
|
this.chtLatches.TabIndex = 42;
|
||||||
this.chtLatches.Text = "chart1";
|
this.chtLatches.Text = "chart1";
|
||||||
//
|
//
|
||||||
// chtCPU
|
// chtCPU
|
||||||
//
|
//
|
||||||
this.chtCPU.BackColor = System.Drawing.Color.Transparent;
|
this.chtCPU.BackColor = System.Drawing.Color.Transparent;
|
||||||
chartArea3.AxisX.LabelStyle.Enabled = false;
|
chartArea3.AxisX.LabelStyle.Enabled = false;
|
||||||
chartArea3.AxisX.LineColor = System.Drawing.Color.White;
|
chartArea3.AxisX.LineColor = System.Drawing.Color.White;
|
||||||
chartArea3.AxisX.MajorGrid.Enabled = false;
|
chartArea3.AxisX.MajorGrid.Enabled = false;
|
||||||
chartArea3.AxisX.MajorTickMark.Enabled = false;
|
chartArea3.AxisX.MajorTickMark.Enabled = false;
|
||||||
chartArea3.AxisX.MaximumAutoSize = 10F;
|
chartArea3.AxisX.MaximumAutoSize = 10F;
|
||||||
chartArea3.AxisY.LineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.NotSet;
|
chartArea3.AxisY.LineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.NotSet;
|
||||||
chartArea3.AxisY.MajorGrid.Enabled = false;
|
chartArea3.AxisY.MajorGrid.Enabled = false;
|
||||||
chartArea3.AxisY.MajorTickMark.Enabled = false;
|
chartArea3.AxisY.MajorTickMark.Enabled = false;
|
||||||
chartArea3.AxisY.Maximum = 100D;
|
chartArea3.AxisY.Maximum = 100D;
|
||||||
chartArea3.AxisY.Minimum = 0D;
|
chartArea3.AxisY.Minimum = 0D;
|
||||||
chartArea3.AxisY.Title = "Current % CPU Usage";
|
chartArea3.AxisY.Title = "Current % CPU Usage";
|
||||||
chartArea3.AxisY.TitleForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
chartArea3.AxisY.TitleForeColor = System.Drawing.SystemColors.ControlDarkDark;
|
||||||
chartArea3.BackColor = System.Drawing.Color.White;
|
chartArea3.BackColor = System.Drawing.Color.White;
|
||||||
chartArea3.BorderColor = System.Drawing.Color.White;
|
chartArea3.BorderColor = System.Drawing.Color.White;
|
||||||
chartArea3.Name = "ChartArea1";
|
chartArea3.Name = "ChartArea1";
|
||||||
chartArea3.Position.Auto = false;
|
chartArea3.Position.Auto = false;
|
||||||
chartArea3.Position.Height = 30F;
|
chartArea3.Position.Height = 30F;
|
||||||
chartArea3.Position.Width = 77.49682F;
|
chartArea3.Position.Width = 77.49682F;
|
||||||
chartArea3.Position.X = 3F;
|
chartArea3.Position.X = 3F;
|
||||||
chartArea3.Position.Y = 1F;
|
chartArea3.Position.Y = 1F;
|
||||||
this.chtCPU.ChartAreas.Add(chartArea3);
|
this.chtCPU.ChartAreas.Add(chartArea3);
|
||||||
this.chtCPU.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.chtCPU.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.chtCPU.Location = new System.Drawing.Point(0, 0);
|
this.chtCPU.Location = new System.Drawing.Point(0, 0);
|
||||||
this.chtCPU.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.chtCPU.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.chtCPU.Name = "chtCPU";
|
this.chtCPU.Name = "chtCPU";
|
||||||
this.chtCPU.Palette = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.None;
|
this.chtCPU.Palette = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.None;
|
||||||
series3.ChartArea = "ChartArea1";
|
series3.ChartArea = "ChartArea1";
|
||||||
series3.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Bar;
|
series3.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Bar;
|
||||||
series3.Color = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(198)))), ((int)(((byte)(0)))));
|
series3.Color = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(198)))), ((int)(((byte)(0)))));
|
||||||
series3.Name = "CPUUsage";
|
series3.Name = "CPUUsage";
|
||||||
series3.Points.Add(dataPoint3);
|
series3.Points.Add(dataPoint3);
|
||||||
this.chtCPU.Series.Add(series3);
|
this.chtCPU.Series.Add(series3);
|
||||||
this.chtCPU.Size = new System.Drawing.Size(1048, 311);
|
this.chtCPU.Size = new System.Drawing.Size(1048, 311);
|
||||||
this.chtCPU.TabIndex = 41;
|
this.chtCPU.TabIndex = 41;
|
||||||
//
|
//
|
||||||
// label3
|
// label3
|
||||||
//
|
//
|
||||||
this.label3.AutoSize = true;
|
this.label3.AutoSize = true;
|
||||||
this.label3.BackColor = System.Drawing.Color.Transparent;
|
this.label3.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.label3.Location = new System.Drawing.Point(1124, 49);
|
this.label3.Location = new System.Drawing.Point(1124, 49);
|
||||||
this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||||
this.label3.Name = "label3";
|
this.label3.Name = "label3";
|
||||||
this.label3.Size = new System.Drawing.Size(112, 17);
|
this.label3.Size = new System.Drawing.Size(112, 17);
|
||||||
this.label3.TabIndex = 11;
|
this.label3.TabIndex = 11;
|
||||||
this.label3.Text = "Error Messages:";
|
this.label3.Text = "Error Messages:";
|
||||||
//
|
//
|
||||||
// FrmMain
|
// FrmMain
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.BackColor = System.Drawing.Color.White;
|
this.BackColor = System.Drawing.Color.White;
|
||||||
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
||||||
this.ClientSize = new System.Drawing.Size(1087, 821);
|
this.ClientSize = new System.Drawing.Size(1087, 821);
|
||||||
this.Controls.Add(this.statusStrip1);
|
this.Controls.Add(this.statusStrip1);
|
||||||
this.Controls.Add(this.splitContainer1);
|
this.Controls.Add(this.splitContainer1);
|
||||||
this.Controls.Add(this.label3);
|
this.Controls.Add(this.label3);
|
||||||
this.Controls.Add(this.ErrorMessages);
|
this.Controls.Add(this.ErrorMessages);
|
||||||
this.Controls.Add(this.menuStrip1);
|
this.Controls.Add(this.menuStrip1);
|
||||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||||
this.MainMenuStrip = this.menuStrip1;
|
this.MainMenuStrip = this.menuStrip1;
|
||||||
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.Name = "FrmMain";
|
this.Name = "FrmMain";
|
||||||
this.Text = "Blue Yonder Ticket Reservation Simulator";
|
this.Text = "Blue Yonder Ticket Reservation Simulator";
|
||||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmMain_FormClosing);
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmMain_FormClosing);
|
||||||
this.Load += new System.EventHandler(this.FrmMain_Load);
|
this.Load += new System.EventHandler(this.FrmMain_Load);
|
||||||
this.menuStrip1.ResumeLayout(false);
|
this.menuStrip1.ResumeLayout(false);
|
||||||
this.menuStrip1.PerformLayout();
|
this.menuStrip1.PerformLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.chtTPS)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.chtTPS)).EndInit();
|
||||||
this.statusStrip1.ResumeLayout(false);
|
this.statusStrip1.ResumeLayout(false);
|
||||||
this.statusStrip1.PerformLayout();
|
this.statusStrip1.PerformLayout();
|
||||||
this.splitContainer1.Panel1.ResumeLayout(false);
|
this.splitContainer1.Panel1.ResumeLayout(false);
|
||||||
this.splitContainer1.Panel1.PerformLayout();
|
this.splitContainer1.Panel1.PerformLayout();
|
||||||
this.splitContainer1.Panel2.ResumeLayout(false);
|
this.splitContainer1.Panel2.ResumeLayout(false);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
||||||
this.splitContainer1.ResumeLayout(false);
|
this.splitContainer1.ResumeLayout(false);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.chtLatches)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.chtLatches)).EndInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.chtCPU)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.chtCPU)).EndInit();
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
this.PerformLayout();
|
this.PerformLayout();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private System.Windows.Forms.Button btnRun;
|
private System.Windows.Forms.Button btnRun;
|
||||||
private System.Windows.Forms.Button btnStop;
|
private System.Windows.Forms.Button btnStop;
|
||||||
private System.Windows.Forms.Label lbResults;
|
private System.Windows.Forms.Label lbResults;
|
||||||
private System.Windows.Forms.MenuStrip menuStrip1;
|
private System.Windows.Forms.MenuStrip menuStrip1;
|
||||||
private System.Windows.Forms.ToolStripMenuItem optionsToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem optionsToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem configurationToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem configurationToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
|
||||||
private System.Windows.Forms.TextBox ErrorMessages;
|
private System.Windows.Forms.TextBox ErrorMessages;
|
||||||
private System.Windows.Forms.DataVisualization.Charting.Chart chtTPS;
|
private System.Windows.Forms.DataVisualization.Charting.Chart chtTPS;
|
||||||
private System.Windows.Forms.StatusStrip statusStrip1;
|
private System.Windows.Forms.StatusStrip statusStrip1;
|
||||||
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
|
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
|
||||||
private System.Windows.Forms.ToolStripStatusLabel lblTime;
|
private System.Windows.Forms.ToolStripStatusLabel lblTime;
|
||||||
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel3;
|
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel3;
|
||||||
private System.Windows.Forms.ToolStripStatusLabel lblThreads;
|
private System.Windows.Forms.ToolStripStatusLabel lblThreads;
|
||||||
private System.Windows.Forms.SplitContainer splitContainer1;
|
private System.Windows.Forms.SplitContainer splitContainer1;
|
||||||
private System.Windows.Forms.Button btnToggle;
|
private System.Windows.Forms.Button btnToggle;
|
||||||
private System.Windows.Forms.DataVisualization.Charting.Chart chtCPU;
|
private System.Windows.Forms.DataVisualization.Charting.Chart chtCPU;
|
||||||
private System.Windows.Forms.Label label3;
|
private System.Windows.Forms.Label label3;
|
||||||
private System.Windows.Forms.Label label1;
|
private System.Windows.Forms.Label label1;
|
||||||
private System.Windows.Forms.Label label2;
|
private System.Windows.Forms.Label label2;
|
||||||
private System.Windows.Forms.DataVisualization.Charting.Chart chtLatches;
|
private System.Windows.Forms.DataVisualization.Charting.Chart chtLatches;
|
||||||
private System.Windows.Forms.Panel speedDialPanel;
|
private System.Windows.Forms.Panel speedDialPanel;
|
||||||
private System.Windows.Forms.Label label4;
|
private System.Windows.Forms.Label label4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
+39
-39
@@ -1,39 +1,39 @@
|
|||||||
using System.Resources;
|
using System.Resources;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
// General Information about an assembly is controlled through the following
|
// General Information about an assembly is controlled through the following
|
||||||
// set of attributes. Change these attribute values to modify the information
|
// set of attributes. Change these attribute values to modify the information
|
||||||
// associated with an assembly.
|
// associated with an assembly.
|
||||||
[assembly: AssemblyTitle("DemoWorkload")]
|
[assembly: AssemblyTitle("DemoWorkload")]
|
||||||
[assembly: AssemblyDescription("")]
|
[assembly: AssemblyDescription("")]
|
||||||
[assembly: AssemblyConfiguration("")]
|
[assembly: AssemblyConfiguration("")]
|
||||||
[assembly: AssemblyCompany("Microsoft")]
|
[assembly: AssemblyCompany("Microsoft")]
|
||||||
[assembly: AssemblyProduct("DemoWorkload")]
|
[assembly: AssemblyProduct("DemoWorkload")]
|
||||||
[assembly: AssemblyCopyright("Copyright © Microsoft 2016")]
|
[assembly: AssemblyCopyright("Copyright © Microsoft 2016")]
|
||||||
[assembly: AssemblyTrademark("")]
|
[assembly: AssemblyTrademark("")]
|
||||||
[assembly: AssemblyCulture("")]
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
// Setting ComVisible to false makes the types in this assembly not visible
|
// Setting ComVisible to false makes the types in this assembly not visible
|
||||||
// to COM components. If you need to access a type in this assembly from
|
// to COM components. If you need to access a type in this assembly from
|
||||||
// COM, set the ComVisible attribute to true on that type.
|
// COM, set the ComVisible attribute to true on that type.
|
||||||
[assembly: ComVisible(false)]
|
[assembly: ComVisible(false)]
|
||||||
|
|
||||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||||
[assembly: Guid("b5dbed29-db11-442b-bd31-d0e6e97feff7")]
|
[assembly: Guid("b5dbed29-db11-442b-bd31-d0e6e97feff7")]
|
||||||
|
|
||||||
// Version information for an assembly consists of the following four values:
|
// Version information for an assembly consists of the following four values:
|
||||||
//
|
//
|
||||||
// Major Version
|
// Major Version
|
||||||
// Minor Version
|
// Minor Version
|
||||||
// Build Number
|
// Build Number
|
||||||
// Revision
|
// Revision
|
||||||
//
|
//
|
||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.0.0.0")]
|
[assembly: AssemblyVersion("1.0.0.0")]
|
||||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||||
[assembly: NeutralResourcesLanguage("en-US")]
|
[assembly: NeutralResourcesLanguage("en-US")]
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 43 KiB |
+75
-75
@@ -1,76 +1,76 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
|
||||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
<Name>TicketReservations</Name>
|
<Name>TicketReservations</Name>
|
||||||
<SchemaVersion>2.0</SchemaVersion>
|
<SchemaVersion>2.0</SchemaVersion>
|
||||||
<ProjectVersion>4.1</ProjectVersion>
|
<ProjectVersion>4.1</ProjectVersion>
|
||||||
<ProjectGuid>{38641248-77ea-479b-b496-3eda463acead}</ProjectGuid>
|
<ProjectGuid>{38641248-77ea-479b-b496-3eda463acead}</ProjectGuid>
|
||||||
<DSP>Microsoft.Data.Tools.Schema.Sql.Sql130DatabaseSchemaProvider</DSP>
|
<DSP>Microsoft.Data.Tools.Schema.Sql.Sql130DatabaseSchemaProvider</DSP>
|
||||||
<OutputType>Database</OutputType>
|
<OutputType>Database</OutputType>
|
||||||
<RootPath>
|
<RootPath>
|
||||||
</RootPath>
|
</RootPath>
|
||||||
<RootNamespace>TicketReservations</RootNamespace>
|
<RootNamespace>TicketReservations</RootNamespace>
|
||||||
<AssemblyName>TicketReservations</AssemblyName>
|
<AssemblyName>TicketReservations</AssemblyName>
|
||||||
<ModelCollation>1033,CI</ModelCollation>
|
<ModelCollation>1033,CI</ModelCollation>
|
||||||
<DefaultFileStructure>BySchemaAndSchemaType</DefaultFileStructure>
|
<DefaultFileStructure>BySchemaAndSchemaType</DefaultFileStructure>
|
||||||
<DeployToDatabase>True</DeployToDatabase>
|
<DeployToDatabase>True</DeployToDatabase>
|
||||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||||
<TargetLanguage>CS</TargetLanguage>
|
<TargetLanguage>CS</TargetLanguage>
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
<SqlServerVerification>False</SqlServerVerification>
|
<SqlServerVerification>False</SqlServerVerification>
|
||||||
<IncludeCompositeObjects>True</IncludeCompositeObjects>
|
<IncludeCompositeObjects>True</IncludeCompositeObjects>
|
||||||
<TargetDatabaseSet>True</TargetDatabaseSet>
|
<TargetDatabaseSet>True</TargetDatabaseSet>
|
||||||
<DefaultCollation>SQL_Latin1_General_CP1_CI_AS</DefaultCollation>
|
<DefaultCollation>SQL_Latin1_General_CP1_CI_AS</DefaultCollation>
|
||||||
<DefaultFilegroup>PRIMARY</DefaultFilegroup>
|
<DefaultFilegroup>PRIMARY</DefaultFilegroup>
|
||||||
<MemoryOptimizedElevateToSnapshot>True</MemoryOptimizedElevateToSnapshot>
|
<MemoryOptimizedElevateToSnapshot>True</MemoryOptimizedElevateToSnapshot>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
<BuildScriptName>$(MSBuildProjectName).sql</BuildScriptName>
|
<BuildScriptName>$(MSBuildProjectName).sql</BuildScriptName>
|
||||||
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>
|
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DefineDebug>false</DefineDebug>
|
<DefineDebug>false</DefineDebug>
|
||||||
<DefineTrace>true</DefineTrace>
|
<DefineTrace>true</DefineTrace>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
<BuildScriptName>$(MSBuildProjectName).sql</BuildScriptName>
|
<BuildScriptName>$(MSBuildProjectName).sql</BuildScriptName>
|
||||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
<DefineDebug>true</DefineDebug>
|
<DefineDebug>true</DefineDebug>
|
||||||
<DefineTrace>true</DefineTrace>
|
<DefineTrace>true</DefineTrace>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">11.0</VisualStudioVersion>
|
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">11.0</VisualStudioVersion>
|
||||||
<!-- Default to the v11.0 targets path if the targets file for the current VS version is not found -->
|
<!-- Default to the v11.0 targets path if the targets file for the current VS version is not found -->
|
||||||
<SSDTExists Condition="Exists('$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets')">True</SSDTExists>
|
<SSDTExists Condition="Exists('$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets')">True</SSDTExists>
|
||||||
<VisualStudioVersion Condition="'$(SSDTExists)' == ''">11.0</VisualStudioVersion>
|
<VisualStudioVersion Condition="'$(SSDTExists)' == ''">11.0</VisualStudioVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Condition="'$(SQLDBExtensionsRefPath)' != ''" Project="$(SQLDBExtensionsRefPath)\Microsoft.Data.Tools.Schema.SqlTasks.targets" />
|
<Import Condition="'$(SQLDBExtensionsRefPath)' != ''" Project="$(SQLDBExtensionsRefPath)\Microsoft.Data.Tools.Schema.SqlTasks.targets" />
|
||||||
<Import Condition="'$(SQLDBExtensionsRefPath)' == ''" Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets" />
|
<Import Condition="'$(SQLDBExtensionsRefPath)' == ''" Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets" />
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Folder Include="Properties" />
|
<Folder Include="Properties" />
|
||||||
<Folder Include="dbo\" />
|
<Folder Include="dbo\" />
|
||||||
<Folder Include="dbo\Tables\" />
|
<Folder Include="dbo\Tables\" />
|
||||||
<Folder Include="dbo\Stored Procedures\" />
|
<Folder Include="dbo\Stored Procedures\" />
|
||||||
<Folder Include="dbo\Sequences\" />
|
<Folder Include="dbo\Sequences\" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Build Include="dbo\Tables\TicketReservationDetail.sql" />
|
<Build Include="dbo\Tables\TicketReservationDetail.sql" />
|
||||||
<Build Include="dbo\Stored Procedures\InsertReservationDetails.sql" />
|
<Build Include="dbo\Stored Procedures\InsertReservationDetails.sql" />
|
||||||
<Build Include="dbo\Stored Procedures\BatchInsertReservations.sql" />
|
<Build Include="dbo\Stored Procedures\BatchInsertReservations.sql" />
|
||||||
<Build Include="dbo\Stored Procedures\ReadMultipleReservations.sql" />
|
<Build Include="dbo\Stored Procedures\ReadMultipleReservations.sql" />
|
||||||
<Build Include="dbo\Stored Procedures\Demo_Reset.sql" />
|
<Build Include="dbo\Stored Procedures\Demo_Reset.sql" />
|
||||||
<Build Include="dbo\Sequences\TicketReservationSequence.sql" />
|
<Build Include="dbo\Sequences\TicketReservationSequence.sql" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
+28
-28
@@ -1,28 +1,28 @@
|
|||||||
-- helper stored procedure to
|
-- helper stored procedure to
|
||||||
|
|
||||||
CREATE PROCEDURE BatchInsertReservations(@ServerTransactions int, @RowsPerTransaction int, @ThreadID int)
|
CREATE PROCEDURE BatchInsertReservations(@ServerTransactions int, @RowsPerTransaction int, @ThreadID int)
|
||||||
AS
|
AS
|
||||||
BEGIN
|
BEGIN
|
||||||
DECLARE @tranCount int = 0;
|
DECLARE @tranCount int = 0;
|
||||||
DECLARE @TS Datetime2;
|
DECLARE @TS Datetime2;
|
||||||
DECLARE @Char_TS NVARCHAR(23);
|
DECLARE @Char_TS NVARCHAR(23);
|
||||||
DECLARE @CurrentSeq int = 0;
|
DECLARE @CurrentSeq int = 0;
|
||||||
|
|
||||||
SET @TS = SYSDATETIME();
|
SET @TS = SYSDATETIME();
|
||||||
SET @Char_TS = CAST(@TS AS NVARCHAR(23));
|
SET @Char_TS = CAST(@TS AS NVARCHAR(23));
|
||||||
WHILE (@tranCount < @ServerTransactions)
|
WHILE (@tranCount < @ServerTransactions)
|
||||||
BEGIN
|
BEGIN
|
||||||
BEGIN TRY
|
BEGIN TRY
|
||||||
BEGIN TRAN
|
BEGIN TRAN
|
||||||
SET @CurrentSeq = NEXT VALUE FOR TicketReservationSequence ;
|
SET @CurrentSeq = NEXT VALUE FOR TicketReservationSequence ;
|
||||||
EXEC InsertReservationDetails @CurrentSeq, @RowsPerTransaction, @Char_TS, @ThreadID;
|
EXEC InsertReservationDetails @CurrentSeq, @RowsPerTransaction, @Char_TS, @ThreadID;
|
||||||
COMMIT TRAN
|
COMMIT TRAN
|
||||||
END TRY
|
END TRY
|
||||||
BEGIN CATCH
|
BEGIN CATCH
|
||||||
IF XACT_STATE() = -1
|
IF XACT_STATE() = -1
|
||||||
ROLLBACK TRAN
|
ROLLBACK TRAN
|
||||||
;THROW
|
;THROW
|
||||||
END CATCH
|
END CATCH
|
||||||
SET @tranCount += 1;
|
SET @tranCount += 1;
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
+29
-29
@@ -1,30 +1,30 @@
|
|||||||
|
|
||||||
CREATE PROCEDURE InsertReservationDetails(@TicketReservationID int, @LineCount int, @Comment NVARCHAR(1000), @FlightID int)
|
CREATE PROCEDURE InsertReservationDetails(@TicketReservationID int, @LineCount int, @Comment NVARCHAR(1000), @FlightID int)
|
||||||
AS
|
AS
|
||||||
BEGIN
|
BEGIN
|
||||||
DECLARE @loop int = 0;
|
DECLARE @loop int = 0;
|
||||||
WHILE (@loop < @LineCount)
|
WHILE (@loop < @LineCount)
|
||||||
BEGIN
|
BEGIN
|
||||||
INSERT INTO dbo.TicketReservationDetail (TicketReservationID, Quantity, FlightID, Comment)
|
INSERT INTO dbo.TicketReservationDetail (TicketReservationID, Quantity, FlightID, Comment)
|
||||||
VALUES(@TicketReservationID, @loop % 8 + 1, @FlightID, @Comment);
|
VALUES(@TicketReservationID, @loop % 8 + 1, @FlightID, @Comment);
|
||||||
SET @loop += 1;
|
SET @loop += 1;
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
-- natively compiled version of the stored procedure:
|
-- natively compiled version of the stored procedure:
|
||||||
CREATE PROCEDURE InsertReservationDetails(@TicketReservationID int, @LineCount int, @Comment NVARCHAR(1000), @FlightID int)
|
CREATE PROCEDURE InsertReservationDetails(@TicketReservationID int, @LineCount int, @Comment NVARCHAR(1000), @FlightID int)
|
||||||
WITH NATIVE_COMPILATION, SCHEMABINDING
|
WITH NATIVE_COMPILATION, SCHEMABINDING
|
||||||
as
|
as
|
||||||
BEGIN ATOMIC WITH (TRANSACTION ISOLATION LEVEL=SNAPSHOT, LANGUAGE=N'English')
|
BEGIN ATOMIC WITH (TRANSACTION ISOLATION LEVEL=SNAPSHOT, LANGUAGE=N'English')
|
||||||
|
|
||||||
|
|
||||||
DECLARE @loop int = 0;
|
DECLARE @loop int = 0;
|
||||||
while (@loop < @LineCount)
|
while (@loop < @LineCount)
|
||||||
BEGIN
|
BEGIN
|
||||||
INSERT INTO dbo.TicketReservationDetail (TicketReservationID, Quantity, FlightID, Comment) VALUES(@TicketReservationID, @loop % 8 + 1, @FlightID, @Comment);
|
INSERT INTO dbo.TicketReservationDetail (TicketReservationID, Quantity, FlightID, Comment) VALUES(@TicketReservationID, @loop % 8 + 1, @FlightID, @Comment);
|
||||||
SET @loop += 1;
|
SET @loop += 1;
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
*/
|
*/
|
||||||
+28
-28
@@ -1,28 +1,28 @@
|
|||||||
CREATE PROCEDURE ReadMultipleReservations(@ServerTransactions int, @RowsPerTransaction int, @ThreadID int)
|
CREATE PROCEDURE ReadMultipleReservations(@ServerTransactions int, @RowsPerTransaction int, @ThreadID int)
|
||||||
AS
|
AS
|
||||||
BEGIN
|
BEGIN
|
||||||
DECLARE @tranCount int = 0;
|
DECLARE @tranCount int = 0;
|
||||||
DECLARE @CurrentSeq int = 0;
|
DECLARE @CurrentSeq int = 0;
|
||||||
DECLARE @Sum int = 0;
|
DECLARE @Sum int = 0;
|
||||||
DECLARE @loop int = 0;
|
DECLARE @loop int = 0;
|
||||||
WHILE (@tranCount < @ServerTransactions)
|
WHILE (@tranCount < @ServerTransactions)
|
||||||
BEGIN
|
BEGIN
|
||||||
BEGIN TRY
|
BEGIN TRY
|
||||||
SELECT @CurrentSeq = RAND() * IDENT_CURRENT(N'dbo.TicketReservationDetail')
|
SELECT @CurrentSeq = RAND() * IDENT_CURRENT(N'dbo.TicketReservationDetail')
|
||||||
SET @loop = 0
|
SET @loop = 0
|
||||||
BEGIN TRAN
|
BEGIN TRAN
|
||||||
WHILE (@loop < @RowsPerTransaction)
|
WHILE (@loop < @RowsPerTransaction)
|
||||||
BEGIN
|
BEGIN
|
||||||
SELECT @Sum += FlightID from dbo.TicketReservationDetail where TicketReservationDetailID = @CurrentSeq - @loop;
|
SELECT @Sum += FlightID from dbo.TicketReservationDetail where TicketReservationDetailID = @CurrentSeq - @loop;
|
||||||
SET @loop += 1;
|
SET @loop += 1;
|
||||||
END
|
END
|
||||||
COMMIT TRAN
|
COMMIT TRAN
|
||||||
END TRY
|
END TRY
|
||||||
BEGIN CATCH
|
BEGIN CATCH
|
||||||
IF XACT_STATE() = -1
|
IF XACT_STATE() = -1
|
||||||
ROLLBACK TRAN
|
ROLLBACK TRAN
|
||||||
;THROW
|
;THROW
|
||||||
END CATCH
|
END CATCH
|
||||||
SET @tranCount += 1;
|
SET @tranCount += 1;
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
+18
-18
@@ -1,18 +1,18 @@
|
|||||||
CREATE TABLE [dbo].[TicketReservationDetail] (
|
CREATE TABLE [dbo].[TicketReservationDetail] (
|
||||||
TicketReservationID BIGINT NOT NULL,
|
TicketReservationID BIGINT NOT NULL,
|
||||||
TicketReservationDetailID BIGINT IDENTITY NOT NULL,
|
TicketReservationDetailID BIGINT IDENTITY NOT NULL,
|
||||||
Quantity INT NOT NULL,
|
Quantity INT NOT NULL,
|
||||||
FlightID INT NOT NULL,
|
FlightID INT NOT NULL,
|
||||||
Comment NVARCHAR (1000),
|
Comment NVARCHAR (1000),
|
||||||
-- disk-based table:
|
-- disk-based table:
|
||||||
CONSTRAINT [PK_TicketReservationDetail] PRIMARY KEY CLUSTERED (TicketReservationDetailID)
|
CONSTRAINT [PK_TicketReservationDetail] PRIMARY KEY CLUSTERED (TicketReservationDetailID)
|
||||||
);
|
);
|
||||||
|
|
||||||
-- for memory-optimized, replace the last two lines with the following:
|
-- for memory-optimized, replace the last two lines with the following:
|
||||||
-- CONSTRAINT [PK_TicketReservationDetail] PRIMARY KEY NONCLUSTERED (TicketReservationDetailID)
|
-- CONSTRAINT [PK_TicketReservationDetail] PRIMARY KEY NONCLUSTERED (TicketReservationDetailID)
|
||||||
--) WITH (MEMORY_OPTIMIZED=ON);
|
--) WITH (MEMORY_OPTIMIZED=ON);
|
||||||
--GO
|
--GO
|
||||||
|
|
||||||
-- For SQL Server, include the following filegroup. For Azure DB, leave out the filegroup
|
-- For SQL Server, include the following filegroup. For Azure DB, leave out the filegroup
|
||||||
-- ALTER DATABASE [$(DatabaseName)] ADD FILEGROUP [mod] CONTAINS MEMORY_OPTIMIZED_DATA
|
-- ALTER DATABASE [$(DatabaseName)] ADD FILEGROUP [mod] CONTAINS MEMORY_OPTIMIZED_DATA
|
||||||
|
|
||||||
Reference in New Issue
Block a user