You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Revert stats fix 5554525 as it made comparing RT times difficult and also includes time stalled on the rhithread.
[REVIEW] #ROBOMERGE-SOURCE: CL 5735961 via CL 5735966 via CL 5735970 via CL 5735971 via CL 5737382 [CL 5737397 by anthony bills in Main branch]
This commit is contained in:
@@ -609,9 +609,11 @@ public:
|
||||
}
|
||||
#endif
|
||||
|
||||
TStatId StatName;
|
||||
TStatId StallStatId;
|
||||
bool bCountAsStall = false;
|
||||
#if STATS
|
||||
TStatId StatName;
|
||||
FCycleCounter ProcessingTasks;
|
||||
if (ThreadId == ENamedThreads::GameThread)
|
||||
{
|
||||
StatName = GET_STATID(STAT_TaskGraph_GameTasks);
|
||||
@@ -627,19 +629,12 @@ public:
|
||||
}
|
||||
// else StatName = none, we need to let the scope empty so that the render thread submits tasks in a timely manner.
|
||||
}
|
||||
#if STATS
|
||||
else if (ThreadId != ENamedThreads::StatsThread)
|
||||
#else
|
||||
else
|
||||
#endif
|
||||
{
|
||||
StatName = GET_STATID(STAT_TaskGraph_OtherTasks);
|
||||
StallStatId = GET_STATID(STAT_TaskGraph_OtherStalls);
|
||||
bCountAsStall = true;
|
||||
}
|
||||
|
||||
#if STATS
|
||||
FCycleCounter ProcessingTasks;
|
||||
bool bTasksOpen = false;
|
||||
if (FThreadStats::IsCollectingData(StatName))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user