Skip to content

Commit 19474df

Browse files
rdementiopcm
authored andcommitted
rename Intel PCM -> PCM
Change-Id: Ib57e1274afe749bce33e341d7e77b6c814779e74
1 parent 1274b31 commit 19474df

31 files changed

+251
-286
lines changed

Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# The PROJECT_NAME tag is a single word (or a sequence of words surrounded
1818
# by quotes) that should identify the project.
1919

20-
PROJECT_NAME = "Intel(r) Performance Counter Monitor"
20+
PROJECT_NAME = "Processor Counter Monitor"
2121

2222
# The PROJECT_NUMBER tag can be used to enter a project or revision number.
2323
# This could be handy for archiving the generated documentation or

KSysGuard HOWTO.docx

-1.97 KB
Binary file not shown.

KSysGuard HOWTO.pdf

174 KB
Binary file not shown.
File renamed without changes.
File renamed without changes.

Intelpcm.dll/Intelpcm.cpp renamed to PCM-Lib_Win/pcm-lib.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1515
** Written by Otto Bruggeman
1616
*/
1717

18-
// Intelpcm.cpp : Defines the exported functions for the DLL application.
18+
// pcm-lib.cpp : Defines the exported functions for the DLL application.
1919
//
2020

2121

22-
#include "Intelpcm.h"
22+
#include "pcm-lib.h"
2323

2424

Intelpcm.dll/Intelpcm.h renamed to PCM-Lib_Win/pcm-lib.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1616
*/
1717

1818
// The following ifdef block is the standard way of creating macros which make exporting
19-
// from a DLL simpler. All files within this DLL are compiled with the INTELPCM_EXPORTS
19+
// from a DLL simpler. All files within this DLL are compiled with the PCM_EXPORTS
2020
// symbol defined on the command line. this symbol should not be defined on any project
2121
// that uses this DLL. This way any other project whose source files include this file see
22-
// INTELPCM_API functions as being imported from a DLL, whereas this DLL sees symbols
22+
// PCM_API functions as being imported from a DLL, whereas this DLL sees symbols
2323
// defined with this macro as being exported.
24-
#ifdef INTELPCM_EXPORTS
25-
#define INTELPCM_API __declspec(dllexport)
24+
#ifdef PCM_EXPORTS
25+
#define PCM_API __declspec(dllexport)
2626
#else
27-
#define INTELPCM_API __declspec(dllimport)
27+
#define PCM_API __declspec(dllimport)
2828
#endif
2929

3030
#include "..\cpucounters.h"

Intelpcm.dll/Intelpcm.dll.vcxproj renamed to PCM-Lib_Win/pcm-lib.vcxproj

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
</ItemGroup>
3737
<PropertyGroup Label="Globals">
3838
<ProjectGuid>{A4206CE7-A913-42ED-B3B9-F7CF5076633B}</ProjectGuid>
39-
<RootNamespace>Intelpcm.dll</RootNamespace>
39+
<RootNamespace>pcm.dll</RootNamespace>
4040
<Keyword>Win32Proj</Keyword>
4141
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
4242
</PropertyGroup>
@@ -162,7 +162,7 @@
162162
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
163163
<ClCompile>
164164
<Optimization>Disabled</Optimization>
165-
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;INTELPCM_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
165+
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;PCM_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
166166
<MinimalRebuild>true</MinimalRebuild>
167167
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
168168
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
@@ -174,7 +174,7 @@
174174
<GenerateDebugInformation>true</GenerateDebugInformation>
175175
<SubSystem>Windows</SubSystem>
176176
<TargetMachine>MachineX86</TargetMachine>
177-
<ImportLibrary>$(TargetDir)Intelpcm.lib</ImportLibrary>
177+
<ImportLibrary>$(TargetDir)pcm.lib</ImportLibrary>
178178
</Link>
179179
</ItemDefinitionGroup>
180180
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
@@ -183,7 +183,7 @@
183183
</Midl>
184184
<ClCompile>
185185
<Optimization>Disabled</Optimization>
186-
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;INTELPCM_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
186+
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;PCM_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
187187
<MinimalRebuild>true</MinimalRebuild>
188188
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
189189
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
@@ -192,7 +192,7 @@
192192
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
193193
</ClCompile>
194194
<Link>
195-
<OutputFile>$(OutDir)$(ProjectName)</OutputFile>
195+
<OutputFile>$(OutDir)$(ProjectName)$(TargetExt)</OutputFile>
196196
<GenerateDebugInformation>true</GenerateDebugInformation>
197197
<SubSystem>Windows</SubSystem>
198198
<TargetMachine>MachineX64</TargetMachine>
@@ -202,7 +202,7 @@
202202
<ClCompile>
203203
<Optimization>MaxSpeed</Optimization>
204204
<IntrinsicFunctions>true</IntrinsicFunctions>
205-
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;INTELPCM_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
205+
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;PCM_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
206206
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
207207
<FunctionLevelLinking>true</FunctionLevelLinking>
208208
<PrecompiledHeader />
@@ -215,7 +215,7 @@
215215
<OptimizeReferences>true</OptimizeReferences>
216216
<EnableCOMDATFolding>true</EnableCOMDATFolding>
217217
<TargetMachine>MachineX86</TargetMachine>
218-
<ImportLibrary>$(TargetDir)Intelpcm.lib</ImportLibrary>
218+
<ImportLibrary>$(TargetDir)pcm.lib</ImportLibrary>
219219
</Link>
220220
</ItemDefinitionGroup>
221221
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
@@ -225,28 +225,28 @@
225225
<ClCompile>
226226
<Optimization>MaxSpeed</Optimization>
227227
<IntrinsicFunctions>true</IntrinsicFunctions>
228-
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;INTELPCM_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
228+
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;PCM_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
229229
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
230230
<FunctionLevelLinking>true</FunctionLevelLinking>
231231
<PrecompiledHeader />
232232
<WarningLevel>Level3</WarningLevel>
233233
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
234234
</ClCompile>
235235
<Link>
236-
<OutputFile>$(OutDir)$(ProjectName)</OutputFile>
236+
<OutputFile>$(OutDir)$(ProjectName)$(TargetExt)</OutputFile>
237237
<GenerateDebugInformation>true</GenerateDebugInformation>
238238
<SubSystem>Windows</SubSystem>
239239
<OptimizeReferences />
240240
<EnableCOMDATFolding />
241241
<LinkTimeCodeGeneration />
242242
<TargetMachine>MachineX64</TargetMachine>
243-
<ImportLibrary>$(TargetDir)Intelpcm.lib</ImportLibrary>
243+
<ImportLibrary>$(TargetDir)pcm.lib</ImportLibrary>
244244
</Link>
245245
</ItemDefinitionGroup>
246246
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug64|Win32'">
247247
<ClCompile>
248248
<Optimization>Disabled</Optimization>
249-
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;INTELPCM_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
249+
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;PCM_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
250250
<MinimalRebuild>true</MinimalRebuild>
251251
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
252252
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
@@ -258,7 +258,7 @@
258258
<GenerateDebugInformation>true</GenerateDebugInformation>
259259
<SubSystem>Windows</SubSystem>
260260
<TargetMachine>MachineX86</TargetMachine>
261-
<ImportLibrary>$(TargetDir)Intelpcm.lib</ImportLibrary>
261+
<ImportLibrary>$(TargetDir)pcm.lib</ImportLibrary>
262262
</Link>
263263
</ItemDefinitionGroup>
264264
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug64|x64'">
@@ -267,7 +267,7 @@
267267
</Midl>
268268
<ClCompile>
269269
<Optimization>Disabled</Optimization>
270-
<PreprocessorDefinitions>_DEBUG;_WINDOWS;_USRDLL;INTELPCM_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
270+
<PreprocessorDefinitions>_DEBUG;_WINDOWS;_USRDLL;PCM_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
271271
<MinimalRebuild>true</MinimalRebuild>
272272
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
273273
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
@@ -276,18 +276,18 @@
276276
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
277277
</ClCompile>
278278
<Link>
279-
<OutputFile>$(OutDir)$(ProjectName)</OutputFile>
279+
<OutputFile>$(OutDir)$(ProjectName)$(TargetExt)</OutputFile>
280280
<GenerateDebugInformation>true</GenerateDebugInformation>
281281
<SubSystem>Windows</SubSystem>
282-
<ImportLibrary>$(TargetDir)Intelpcm.lib</ImportLibrary>
282+
<ImportLibrary>$(TargetDir)pcm.lib</ImportLibrary>
283283
<TargetMachine>MachineX64</TargetMachine>
284284
</Link>
285285
</ItemDefinitionGroup>
286286
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release64|Win32'">
287287
<ClCompile>
288288
<Optimization>MaxSpeed</Optimization>
289289
<IntrinsicFunctions>true</IntrinsicFunctions>
290-
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;INTELPCM_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
290+
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;PCM_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
291291
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
292292
<FunctionLevelLinking>true</FunctionLevelLinking>
293293
<PrecompiledHeader />
@@ -300,7 +300,7 @@
300300
<OptimizeReferences>true</OptimizeReferences>
301301
<EnableCOMDATFolding>true</EnableCOMDATFolding>
302302
<TargetMachine>MachineX86</TargetMachine>
303-
<ImportLibrary>$(TargetDir)Intelpcm.lib</ImportLibrary>
303+
<ImportLibrary>$(TargetDir)pcm.lib</ImportLibrary>
304304
</Link>
305305
</ItemDefinitionGroup>
306306
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release64|x64'">
@@ -312,20 +312,20 @@
312312
<IntrinsicFunctions>true</IntrinsicFunctions>
313313
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
314314
<WholeProgramOptimization>false</WholeProgramOptimization>
315-
<PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;INTELPCM_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
315+
<PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;PCM_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
316316
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
317317
<FunctionLevelLinking>true</FunctionLevelLinking>
318318
<PrecompiledHeader />
319319
<WarningLevel>Level3</WarningLevel>
320320
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
321321
</ClCompile>
322322
<Link>
323-
<OutputFile>$(OutDir)$(ProjectName)</OutputFile>
323+
<OutputFile>$(OutDir)$(ProjectName)$(TargetExt)</OutputFile>
324324
<GenerateDebugInformation>true</GenerateDebugInformation>
325325
<SubSystem>Windows</SubSystem>
326326
<OptimizeReferences>true</OptimizeReferences>
327327
<EnableCOMDATFolding>true</EnableCOMDATFolding>
328-
<ImportLibrary>$(TargetDir)Intelpcm.lib</ImportLibrary>
328+
<ImportLibrary>$(TargetDir)pcm.lib</ImportLibrary>
329329
<TargetMachine>MachineX64</TargetMachine>
330330
</Link>
331331
</ItemDefinitionGroup>
@@ -357,22 +357,22 @@
357357
</PrecompiledHeader>
358358
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</CompileAsManaged>
359359
</ClCompile>
360-
<ClCompile Include="Intelpcm.cpp" />
360+
<ClCompile Include="pcm-lib.cpp" />
361361
<ClCompile Include="..\winpmem\winpmem.cpp" />
362362
<ClCompile Include="..\msr.cpp" />
363363
<ClCompile Include="..\pci.cpp" />
364364
<ClCompile Include="..\client_bw.cpp" />
365365
<ClCompile Include="..\utils.cpp" />
366366
<ClCompile Include="..\PCM_Win\restrictDriverAccess.cpp">
367-
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</CompileAsManaged>
368-
<ExceptionHandling Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Async</ExceptionHandling>
369-
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</CompileAsManaged>
370-
<ExceptionHandling Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Async</ExceptionHandling>
367+
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</CompileAsManaged>
368+
<ExceptionHandling Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Async</ExceptionHandling>
369+
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</CompileAsManaged>
370+
<ExceptionHandling Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Async</ExceptionHandling>
371371
</ClCompile>
372372
</ItemGroup>
373373
<ItemGroup>
374374
<ClInclude Include="..\cpucounters.h" />
375-
<ClInclude Include="Intelpcm.h" />
375+
<ClInclude Include="pcm-lib.h" />
376376
<ClInclude Include="..\msr.h" />
377377
<ClInclude Include="..\pci.h" />
378378
<ClInclude Include="..\client_bw.h" />
@@ -384,4 +384,4 @@
384384
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
385385
<ImportGroup Label="ExtensionTargets">
386386
</ImportGroup>
387-
</Project>
387+
</Project>
File renamed without changes.

PCM-Service_Win/PCMInstaller.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ namespace PMUService {
8282
this->serviceInstaller1->Description = L"This service provides performance counters for perfmon to show hardware events ov"
8383
L"er time such as Clockticks, Instruction Retired, Cache Misses and Memory Bandwi"
8484
L"dth.";
85-
this->serviceInstaller1->DisplayName = L"Intel Performance Counter Monitor Service";
85+
this->serviceInstaller1->DisplayName = L"Processor Counter Monitor Service";
8686
this->serviceInstaller1->ServiceName = L"PCMService";
8787
this->serviceInstaller1->StartType = System::ServiceProcess::ServiceStartMode::Automatic;
8888
//

0 commit comments

Comments
 (0)