Skip to content

Commit 3aae1fc

Browse files
Merge pull request #348 from GameTechDev/bug/summary-perc
Summary Percentile Labels
2 parents 065d36d + fa37f3e commit 3aae1fc

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

IntelPresentMon/AppCef/Web/src/core/preferences.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,11 @@ const migrations: Migration[] = [
145145
{
146146
version: '0.18.0',
147147
migrate: (prefs: Preferences) => {
148-
console.info('Migrating preferences to 0.18.0 (manualEtwFlush enable/rate)');
148+
console.info('Migrating preferences to 0.18.0 (manualEtwFlush enable/rate, lower offset)');
149149
const def = makeDefaultPreferences();
150150
prefs.manualEtwFlush = def.manualEtwFlush;
151151
prefs.etwFlushPeriod = def.etwFlushPeriod;
152+
prefs.metricsOffset = def.metricsOffset;
152153
}
153154
},
154155
];

IntelPresentMon/Core/source/pmon/RawFrameDataWriter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,8 +361,8 @@ namespace p2c::pmon
361361
"Total Frames,"
362362
"Average FPS,"
363363
"Minimum FPS,"
364-
"99th Percentile FPS,"
365-
"95th Percentile FPS,"
364+
"1st Percentile FPS,"
365+
"5th Percentile FPS,"
366366
"Maximum FPS,"
367367
"AnimationErrorPerSecond,"
368368
"AnimationErrorPerFrame\n";

IntelPresentMon/PresentMonService/ActionServer.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ namespace pmon::svc
8080
// insert a session context object for this connection, will be initialized properly upon OpenSession action
8181
sessionId = pPipe->GetId();
8282
sessions[*sessionId].pPipe = pPipe;
83+
pmlog_info(std::format("Action pipe connected id:{}", *sessionId));
8384
// fork this acceptor coroutine
8485
as::co_spawn(ioctx_, AcceptConnection_(), as::detached);
8586
// run the action handler until client session is terminated
@@ -95,7 +96,7 @@ namespace pmon::svc
9596
clientPid = i->second.clientPid;
9697
}
9798
actionManager_.ctx_.DisposeSession(*sessionId);
98-
pmlog_info(std::format("Action pipe disconnected id:{} pid:{}", *sessionId, clientPid));
99+
pmlog_info(std::format("Action pipe disconnected, session closed id:{} pid:{}", *sessionId, clientPid));
99100
co_return;
100101
}
101102
pmlog_info("Sessionless pipe disconnected");

IntelPresentMon/PresentMonService/acts/OpenSession.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ namespace pmon::svc::acts
3636
stx.clientPid = in.clientPid;
3737
stx.clientBuildId = in.clientBuildId;
3838
ctx.pSvc->SignalClientSessionOpened();
39-
pmlog_dbg(std::format("Received open session action from {} BID={} vs {} (svc)",
40-
in.clientPid, in.clientBuildId, BuildIdShortHash()));
39+
pmlog_info(std::format("Open action for session #{} pid={}; [BID] cli={} svc={}",
40+
stx.pPipe->GetId(), in.clientPid, in.clientBuildId, BuildIdShortHash()));
4141
return Response{ .serviceBuildId = BuildIdShortHash() };
4242
}
4343
};

IntelPresentMon/PresentMonService/acts/StartTracking.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ namespace pmon::svc::acts
3939
}
4040
stx.trackedPids.insert(in.targetPid);
4141
const Response out{ .nsmFileName = std::move(nsmFileName) };
42-
pmlog_dbg(std::format("StartStreaming action from [{}] targetting [{}] assigned nsm [{}]",
42+
pmlog_info(std::format("StartTracking action from [{}] targeting [{}] assigned nsm [{}]",
4343
stx.clientPid, in.targetPid, out.nsmFileName));
4444
return out;
4545
}

IntelPresentMon/PresentMonService/acts/StopTracking.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace pmon::svc::acts
2727
{
2828
ctx.pPmon->StopStreaming(stx.clientPid, in.targetPid);
2929
stx.trackedPids.erase(in.targetPid);
30-
pmlog_dbg(std::format("StopStreaming action from [{}] un-targeting [{}]", stx.clientPid, in.targetPid));
30+
pmlog_info(std::format("StopTracking action from [{}] un-targeting [{}]", stx.clientPid, in.targetPid));
3131
return {};
3232
}
3333
};

0 commit comments

Comments
 (0)