Skip to content

Commit 2699601

Browse files
committed
Merge branch 'main' into feature/ipm-cli
2 parents 69c273a + f32521c commit 2699601

File tree

117 files changed

+7070
-4959
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+7070
-4959
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,8 @@ PresentMon/ddETWExternalEvents.h
5757
PresentMon/ddETWExternalEvents.rc
5858

5959
PresentMon/ddETWExternalEventsTEMP.BIN
60+
61+
# Local runsettings files (user-specific test configurations)
62+
*.local.runsettings
63+
64+
Directory.Build.props

ETLTrimmer/main.cpp

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,15 @@ class TempFile
297297
}
298298
~TempFile()
299299
{
300-
std::filesystem::remove((const wchar_t*)name_);
300+
pmquell(std::filesystem::remove((const wchar_t*)name_))
301301
}
302+
303+
TempFile() = default;
304+
TempFile(const TempFile&) = delete;
305+
TempFile& operator=(const TempFile&) = delete;
306+
TempFile(TempFile&&) = delete;
307+
TempFile& operator=(TempFile&&) = delete;
308+
302309
private:
303310
CComBSTR name_ = "null-log.etl.tmp";
304311
};
@@ -374,6 +381,8 @@ int main(int argc, const char** argv)
374381
traceConsumer.mTrackGPUVideo = true; // ... GPU video work (separately from non-video GPU work).
375382
traceConsumer.mTrackInput = true; // ... keyboard/mouse latency.
376383
traceConsumer.mTrackFrameType = true; // ... the frame type communicated through the Intel-PresentMon provider.
384+
traceConsumer.mTrackAppTiming = true; // ... app timing data communicated through the Intel-PresentMon provider.
385+
traceConsumer.mTrackPcLatency = true; // ... Nvidia PCL stats.
377386
EnableProvidersListing(0, nullptr, &traceConsumer, true, true, pFilter);
378387
}
379388

IntelPresentMon/AppCef/AppCef.rc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ IDI_ICON1 ICON "flask.ico"
6161
//
6262

6363
VS_VERSION_INFO VERSIONINFO
64-
FILEVERSION 1,0,4,0
65-
PRODUCTVERSION 2,3,1,0
64+
FILEVERSION 1,0,5,0
65+
PRODUCTVERSION 2,4,0,0
6666
FILEFLAGSMASK 0x3fL
6767
#ifdef _DEBUG
6868
FILEFLAGS 0x1L
@@ -79,12 +79,12 @@ BEGIN
7979
BEGIN
8080
VALUE "CompanyName", "Intel(R) Corporation"
8181
VALUE "FileDescription", "Intel(R) PresentMon application"
82-
VALUE "FileVersion", "1.0.4.0"
82+
VALUE "FileVersion", "1.0.5.0"
8383
VALUE "InternalName", "CefNano.exe"
8484
VALUE "LegalCopyright", "Copyright (C) 2017-2025"
8585
VALUE "OriginalFilename", "CefNano.exe"
8686
VALUE "ProductName", "Intel(R) PresentMon"
87-
VALUE "ProductVersion", "2.3.1.0"
87+
VALUE "ProductVersion", "2.4.0.0"
8888
END
8989
END
9090
BLOCK "VarFileInfo"

IntelPresentMon/AppCef/ipm-ui-vue/BlockLists/TargetBlockList.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ bethesdanethelper.exe
2525
bethesdanetlauncher.exe
2626
blend.exe
2727
blender.exe
28+
bootstrapperui_v2.exe
2829
bsglauncher.exe
2930
calculator.exe
3031
calculatorapp.exe

IntelPresentMon/AppCef/ipm-ui-vue/package-lock.json

Lines changed: 8 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

IntelPresentMon/AppCef/ipm-ui-vue/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"sass": "^1.86.3",
3131
"sass-loader": "^16.0.5",
3232
"typescript": "~5.8.0",
33-
"vite": "^6.3.5",
33+
"vite": "^6.3.6",
3434
"vite-plugin-vue-devtools": "^7.7.2",
3535
"vue-tsc": "^2.2.8"
3636
}

IntelPresentMon/AppCef/ipm-ui-vue/src/views/FlashConfigView.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ watch(
9797

9898
<v-row class="mt-8">
9999
<v-col cols="3">
100-
Rainbow Flash
101-
<p class="text-medium-emphasis text-caption mb-0">Cycle through a rainbow of colors instead of using above flash color.</p>
100+
Rainbow Strip
101+
<p class="text-medium-emphasis text-caption mb-0">Draw a strip on the left-hand side of the screen that cycles through colors every frame.</p>
102102
</v-col>
103103
<v-col cols="9">
104104
<v-switch v-model="prefs.preferences.flashInjectionUseRainbow" label="Enable"></v-switch>

IntelPresentMon/CommonUtilities/CommonUtilities.vcxproj.filters

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,6 @@
171171
<ClInclude Include="log\TimePoint.h">
172172
<Filter>Header Files</Filter>
173173
</ClInclude>
174-
<ClInclude Include="Math.h">
175-
<Filter>Header Files</Filter>
176-
</ClInclude>
177174
<ClInclude Include="log\Subsystem.h">
178175
<Filter>Header Files</Filter>
179176
</ClInclude>
@@ -234,6 +231,9 @@
234231
<ClInclude Include="ref\GeneratedReflectionHelpers.h">
235232
<Filter>Header Files</Filter>
236233
</ClInclude>
234+
<ClInclude Include="Math.h">
235+
<Filter>Header Files</Filter>
236+
</ClInclude>
237237
<ClInclude Include="win\MessageBox.h">
238238
<Filter>Header Files</Filter>
239239
</ClInclude>

IntelPresentMon/CommonUtilities/Math.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#pragma once
22
#include <cmath>
33
#include <limits>
4+
#include <algorithm>
45

56
namespace pmon::util
67
{
@@ -53,4 +54,9 @@ namespace pmon::util
5354
const auto conversionFactor = srcFactor / dstFactor;
5455
return To(fromExtended * conversionFactor);
5556
}
57+
template<typename T>
58+
T CalculateEma(T prevEma, T newSample, T alpha)
59+
{
60+
return prevEma + alpha * (newSample - prevEma);
61+
}
5662
}

IntelPresentMon/CommonUtilities/Meta.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
namespace pmon::util
66
{
7+
// Helper: dependent_false for static_assert in templates.
8+
template<typename T>
9+
struct dependent_false : std::false_type {};
10+
711
// deconstruct member pointer into the object type the pointer works with and the member type
812
template <typename T> struct MemberPointerInfo;
913
template <typename S, typename M>

0 commit comments

Comments
 (0)