Changed the maximum buffer size for double buffering of controls that isn't disposed after each draw call to the size of the screen. This should reduce the memory allocation and disposing on each sensor update. Also page faults are no longer increasing with this change.
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
4 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6 <ProductVersion>9.0.30729</ProductVersion>
7 <SchemaVersion>2.0</SchemaVersion>
8 <ProjectGuid>{B0397530-545A-471D-BB74-027AE456DF1A}</ProjectGuid>
9 <OutputType>Library</OutputType>
10 <AppDesignerFolder>Properties</AppDesignerFolder>
11 <RootNamespace>OpenHardwareMonitor</RootNamespace>
12 <AssemblyName>OpenHardwareMonitorLib</AssemblyName>
13 <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
14 <FileAlignment>512</FileAlignment>
17 <OldToolsVersion>3.5</OldToolsVersion>
18 <UpgradeBackupLocation />
19 <PublishUrl>publish\</PublishUrl>
20 <Install>true</Install>
21 <InstallFrom>Disk</InstallFrom>
22 <UpdateEnabled>false</UpdateEnabled>
23 <UpdateMode>Foreground</UpdateMode>
24 <UpdateInterval>7</UpdateInterval>
25 <UpdateIntervalUnits>Days</UpdateIntervalUnits>
26 <UpdatePeriodically>false</UpdatePeriodically>
27 <UpdateRequired>false</UpdateRequired>
28 <MapFileExtensions>true</MapFileExtensions>
29 <ApplicationRevision>0</ApplicationRevision>
30 <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
31 <IsWebBootstrapper>false</IsWebBootstrapper>
32 <UseApplicationTrust>false</UseApplicationTrust>
33 <BootstrapperEnabled>true</BootstrapperEnabled>
35 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
36 <DebugSymbols>true</DebugSymbols>
37 <DebugType>full</DebugType>
38 <Optimize>false</Optimize>
39 <OutputPath>Bin\Debug\</OutputPath>
40 <DefineConstants>TRACE;DEBUG</DefineConstants>
41 <ErrorReport>prompt</ErrorReport>
42 <WarningLevel>4</WarningLevel>
43 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
45 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
46 <DebugType>none</DebugType>
47 <Optimize>true</Optimize>
48 <OutputPath>Bin\Release\</OutputPath>
49 <DefineConstants>TRACE</DefineConstants>
50 <ErrorReport>prompt</ErrorReport>
51 <WarningLevel>4</WarningLevel>
52 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
55 <Reference Include="System" />
56 <Reference Include="System.Management" />
59 <Compile Include="Collections\RingCollection.cs" />
60 <Compile Include="Hardware\ATI\ADL.cs" />
61 <Compile Include="Hardware\ATI\ATIGPU.cs" />
62 <Compile Include="Hardware\ATI\ATIGroup.cs" />
63 <Compile Include="Hardware\Control.cs" />
64 <Compile Include="Hardware\IControl.cs" />
65 <Compile Include="Hardware\IOControlCode.cs" />
66 <Compile Include="Hardware\Computer.cs" />
67 <Compile Include="Hardware\CPU\AMDCPU.cs" />
68 <Compile Include="Hardware\CPU\GenericCPU.cs" />
69 <Compile Include="Hardware\CPU\AMD0FCPU.cs" />
70 <Compile Include="Hardware\CPU\AMD10CPU.cs" />
71 <Compile Include="Hardware\CPU\CPUGroup.cs" />
72 <Compile Include="Hardware\CPU\CPUID.cs" />
73 <Compile Include="Hardware\CPU\CPULoad.cs" />
74 <Compile Include="Hardware\CPU\IntelCPU.cs" />
75 <Compile Include="Hardware\LPC\NCT677X.cs" />
76 <Compile Include="Hardware\Opcode.cs" />
77 <Compile Include="Hardware\Ring0.cs" />
78 <Compile Include="Hardware\KernelDriver.cs" />
79 <Compile Include="Hardware\Hardware.cs" />
80 <Compile Include="Hardware\HDD\HDD.cs" />
81 <Compile Include="Hardware\HDD\HDDGroup.cs" />
82 <Compile Include="Hardware\HDD\SMART.cs" />
83 <Compile Include="Hardware\Heatmaster\Heatmaster.cs" />
84 <Compile Include="Hardware\Heatmaster\HeatmasterGroup.cs" />
85 <Compile Include="Hardware\IComputer.cs" />
86 <Compile Include="Hardware\Identifier.cs" />
87 <Compile Include="Hardware\IElement.cs" />
88 <Compile Include="Hardware\IGroup.cs" />
89 <Compile Include="Hardware\IHardware.cs" />
90 <Compile Include="Hardware\IParameter.cs" />
91 <Compile Include="Hardware\ISensor.cs" />
92 <Compile Include="Hardware\IVisitor.cs" />
93 <Compile Include="Hardware\LPC\Chip.cs" />
94 <Compile Include="Hardware\LPC\F718XX.cs" />
95 <Compile Include="Hardware\LPC\ISuperIO.cs" />
96 <Compile Include="Hardware\LPC\IT87XX.cs" />
97 <Compile Include="Hardware\LPC\LMSensors.cs" />
98 <Compile Include="Hardware\LPC\LPCIO.cs" />
99 <Compile Include="Hardware\LPC\W836XX.cs" />
100 <Compile Include="Hardware\Mainboard\Mainboard.cs" />
101 <Compile Include="Hardware\Mainboard\MainboardGroup.cs" />
102 <Compile Include="Hardware\Mainboard\Manufacturer.cs" />
103 <Compile Include="Hardware\Mainboard\Model.cs" />
104 <Compile Include="Hardware\Mainboard\SMBIOS.cs" />
105 <Compile Include="Hardware\Mainboard\SuperIOHardware.cs" />
106 <Compile Include="Hardware\Nvidia\NVAPI.cs" />
107 <Compile Include="Hardware\Nvidia\NvidiaGPU.cs" />
108 <Compile Include="Hardware\Nvidia\NvidiaGroup.cs" />
109 <Compile Include="Hardware\Parameter.cs" />
110 <Compile Include="Hardware\Sensor.cs" />
111 <Compile Include="Hardware\SensorVisitor.cs" />
112 <Compile Include="Hardware\TBalancer\FTD2XX.cs" />
113 <Compile Include="Hardware\TBalancer\TBalancer.cs" />
114 <Compile Include="Hardware\TBalancer\TBalancerGroup.cs" />
115 <Compile Include="Hardware\ISettings.cs" />
116 <Compile Include="Hardware\HexStringArray.cs" />
117 <Compile Include="Collections\IReadOnlyArray.cs" />
118 <Compile Include="Collections\ListSet.cs" />
119 <Compile Include="Hardware\PInvokeDelegateFactory.cs" />
120 <Compile Include="Collections\ReadOnlyArray.cs" />
121 <Compile Include="Properties\AssemblyLibInfo.cs" />
122 <Compile Include="Properties\AssemblyVersion.cs" />
123 <Compile Include="Hardware\ThreadAffinity.cs" />
126 <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
127 <Visible>False</Visible>
128 <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
129 <Install>false</Install>
130 </BootstrapperPackage>
131 <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
132 <Visible>False</Visible>
133 <ProductName>.NET Framework 3.5 SP1</ProductName>
134 <Install>true</Install>
135 </BootstrapperPackage>
136 <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
137 <Visible>False</Visible>
138 <ProductName>Windows Installer 3.1</ProductName>
139 <Install>true</Install>
140 </BootstrapperPackage>
143 <EmbeddedResource Include="Hardware\WinRing0.sys" />
144 <EmbeddedResource Include="Hardware\WinRing0x64.sys" />
146 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
147 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
148 Other similar extension points exist, see Microsoft.Common.targets.
149 <Target Name="BeforeBuild">
151 <Target Name="AfterBuild">