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:
anthony bills
2019-04-04 10:19:53 -04:00
parent 62415df1dc
commit a4dbacea38

View File

@@ -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))
{