Reading the timeStampCounterMultiplier right at the beginning when the time stamp counter is estimated instead of reading it at each update. Refactored the IntelCPU code a bit.
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
4 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6 <ProjectGuid>{F5E0C1F7-9E9B-46F2-AC88-8C9C1C923880}</ProjectGuid>
7 <ProductVersion>9.0.30729</ProductVersion>
8 <SchemaVersion>2.0</SchemaVersion>
9 <OutputType>WinExe</OutputType>
10 <NoStandardLibraries>false</NoStandardLibraries>
11 <AssemblyName>OpenHardwareMonitor</AssemblyName>
12 <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
13 <FileAlignment>512</FileAlignment>
14 <RootNamespace>OpenHardwareMonitor</RootNamespace>
15 <ApplicationIcon>Resources\icon.ico</ApplicationIcon>
16 <ApplicationManifest>Resources\app.manifest</ApplicationManifest>
17 <StartupObject>OpenHardwareMonitor.Program</StartupObject>
20 <OldToolsVersion>3.5</OldToolsVersion>
21 <UpgradeBackupLocation />
22 <PublishUrl>publish\</PublishUrl>
23 <Install>true</Install>
24 <InstallFrom>Disk</InstallFrom>
25 <UpdateEnabled>false</UpdateEnabled>
26 <UpdateMode>Foreground</UpdateMode>
27 <UpdateInterval>7</UpdateInterval>
28 <UpdateIntervalUnits>Days</UpdateIntervalUnits>
29 <UpdatePeriodically>false</UpdatePeriodically>
30 <UpdateRequired>false</UpdateRequired>
31 <MapFileExtensions>true</MapFileExtensions>
32 <ApplicationRevision>0</ApplicationRevision>
33 <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
34 <IsWebBootstrapper>false</IsWebBootstrapper>
35 <UseApplicationTrust>false</UseApplicationTrust>
36 <BootstrapperEnabled>true</BootstrapperEnabled>
38 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
39 <DebugSymbols>true</DebugSymbols>
40 <DebugType>full</DebugType>
41 <Optimize>false</Optimize>
42 <OutputPath>Bin\Debug\</OutputPath>
43 <DefineConstants>TRACE;DEBUG</DefineConstants>
44 <ErrorReport>prompt</ErrorReport>
45 <WarningLevel>4</WarningLevel>
46 <UseVSHostingProcess>false</UseVSHostingProcess>
47 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
49 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
50 <DebugType>none</DebugType>
51 <Optimize>true</Optimize>
52 <OutputPath>Bin\Release\</OutputPath>
53 <DefineConstants>TRACE</DefineConstants>
54 <ErrorReport>prompt</ErrorReport>
55 <WarningLevel>4</WarningLevel>
56 <UseVSHostingProcess>false</UseVSHostingProcess>
57 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
60 <Reference Include="System" />
61 <Reference Include="System.Drawing" />
62 <Reference Include="System.Windows.Forms" />
63 <Reference Include="System.Xml" />
64 <Reference Include="Aga.Controls, Version=1.7.0.0, Culture=neutral, PublicKeyToken=fcc90fbf924463a3">
65 <SpecificVersion>False</SpecificVersion>
66 <HintPath>External\Aga.Controls.dll</HintPath>
70 <Compile Include="GUI\GadgetWindow.cs" />
71 <Compile Include="GUI\Gadget.cs" />
72 <Compile Include="GUI\HardwareTypeImage.cs" />
73 <Compile Include="GUI\PlotPanel.cs">
74 <SubType>UserControl</SubType>
76 <Compile Include="GUI\ReportForm.cs">
77 <SubType>Form</SubType>
79 <Compile Include="GUI\ReportForm.Designer.cs">
80 <DependentUpon>ReportForm.cs</DependentUpon>
82 <Compile Include="GUI\CrashForm.cs">
83 <SubType>Form</SubType>
85 <Compile Include="GUI\CrashForm.Designer.cs">
86 <DependentUpon>CrashForm.cs</DependentUpon>
88 <Compile Include="GUI\Node.cs" />
89 <Compile Include="GUI\ParameterForm.cs">
90 <SubType>Form</SubType>
92 <Compile Include="GUI\ParameterForm.Designer.cs">
93 <DependentUpon>ParameterForm.cs</DependentUpon>
95 <Compile Include="GUI\SensorGadget.cs" />
96 <Compile Include="GUI\SensorNotifyIcon.cs" />
97 <Compile Include="GUI\ShowDesktop.cs" />
98 <Compile Include="GUI\SplitContainerAdv.cs">
99 <SubType>Component</SubType>
101 <Compile Include="GUI\SystemTray.cs" />
102 <Compile Include="GUI\StartupManager.cs" />
103 <Compile Include="GUI\TaskScheduler.cs" />
104 <Compile Include="GUI\TreeModel.cs" />
105 <Compile Include="GUI\TypeNode.cs" />
106 <Compile Include="GUI\UnitManager.cs" />
107 <Compile Include="GUI\UpdateVisitor.cs" />
108 <Compile Include="GUI\UserOption.cs" />
109 <Compile Include="Properties\AssemblyVersion.cs" />
110 <Compile Include="Utilities\PersistentSettings.cs" />
111 <Compile Include="Properties\AssemblyInfo.cs" />
112 <Compile Include="GUI\AboutBox.cs">
113 <SubType>Form</SubType>
115 <Compile Include="GUI\AboutBox.Designer.cs">
116 <DependentUpon>AboutBox.cs</DependentUpon>
118 <Compile Include="GUI\HardwareNode.cs" />
119 <Compile Include="GUI\MainForm.cs">
120 <SubType>Form</SubType>
122 <Compile Include="GUI\MainForm.Designer.cs">
123 <DependentUpon>MainForm.cs</DependentUpon>
125 <Compile Include="Program.cs" />
126 <Compile Include="GUI\SensorNode.cs" />
127 <Compile Include="Utilities\EmbeddedResources.cs" />
128 <Compile Include="Utilities\IconFactory.cs" />
131 <EmbeddedResource Include="GUI\AboutBox.resx">
132 <DependentUpon>AboutBox.cs</DependentUpon>
133 <SubType>Designer</SubType>
135 <EmbeddedResource Include="Resources\ati.png">
137 <EmbeddedResource Include="Resources\bigng.png" />
138 <EmbeddedResource Include="Resources\clock.png" />
139 <EmbeddedResource Include="Resources\computer.png" />
140 <EmbeddedResource Include="Resources\cpu.png" />
141 <EmbeddedResource Include="Resources\fan.png" />
142 <EmbeddedResource Include="Resources\temperature.png" />
145 <EmbeddedResource Include="Resources\chip.png" />
146 <EmbeddedResource Include="Resources\hdd.png" />
147 <EmbeddedResource Include="Resources\load.png" />
148 <EmbeddedResource Include="Resources\voltage.png" />
149 <EmbeddedResource Include="Resources\nvidia.png" />
152 <None Include="App.config" />
153 <None Include="Resources\app.manifest" />
154 <None Include="Resources\icon.ico" />
157 <EmbeddedResource Include="Resources\smallicon.ico" />
160 <EmbeddedResource Include="GUI\ParameterForm.resx">
161 <DependentUpon>ParameterForm.cs</DependentUpon>
163 <EmbeddedResource Include="Resources\flow.png" />
166 <EmbeddedResource Include="GUI\CrashForm.resx">
167 <DependentUpon>CrashForm.cs</DependentUpon>
169 <EmbeddedResource Include="Resources\mainboard.png" />
172 <EmbeddedResource Include="GUI\MainForm.resx">
173 <DependentUpon>MainForm.cs</DependentUpon>
175 <EmbeddedResource Include="GUI\ReportForm.resx">
176 <DependentUpon>ReportForm.cs</DependentUpon>
178 <EmbeddedResource Include="Resources\control.png" />
181 <ProjectReference Include="OpenHardwareMonitorLib.csproj">
182 <Project>{B0397530-545A-471D-BB74-027AE456DF1A}</Project>
183 <Name>OpenHardwareMonitorLib</Name>
187 <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
188 <Visible>False</Visible>
189 <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
190 <Install>false</Install>
191 </BootstrapperPackage>
192 <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
193 <Visible>False</Visible>
194 <ProductName>.NET Framework 3.5 SP1</ProductName>
195 <Install>true</Install>
196 </BootstrapperPackage>
197 <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
198 <Visible>False</Visible>
199 <ProductName>Windows Installer 3.1</ProductName>
200 <Install>true</Install>
201 </BootstrapperPackage>
204 <EmbeddedResource Include="Resources\barback.png" />
205 <EmbeddedResource Include="Resources\barblue.png" />
206 <EmbeddedResource Include="Resources\gadget.png" />
209 <EmbeddedResource Include="Resources\level.png" />
211 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
213 <VisualStudio AllowExistingFolder="true" />
218 <PostBuildEvent>copy "$(ProjectDir)External\*.*" "$(TargetDir)"
219 copy "$(ProjectDir)Licenses\*.*" "$(TargetDir)"</PostBuildEvent>