You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Compile out some csv profiler ensures in shipping builds
[FYI] ben.woodhouse #ROBOMERGE-OWNER: ben.marsh #ROBOMERGE-AUTHOR: bart.hawthorne #ROBOMERGE-SOURCE: CL 5713957 via CL 5713961 via CL 5714341 via CL 5714931 via CL 5716577 via CL 5716660 #ROBOMERGE-BOT: BUILD (Main -> Dev-Build) [CL 5722698 by bart hawthorne in Dev-Build branch]
This commit is contained in:
@@ -2013,7 +2013,9 @@ void FCsvProfilerThreadDataProcessor::Process(FCsvProcessThreadDataStats& OutSta
|
||||
|
||||
if (ThreadMarkers.Num() > 0)
|
||||
{
|
||||
#if !UE_BUILD_SHIPPING
|
||||
ensure(ThreadMarkers[0].GetTimestamp() >= LastProcessedTimestamp);
|
||||
#endif
|
||||
LastProcessedTimestamp = ThreadMarkers.Last().GetTimestamp();
|
||||
}
|
||||
|
||||
@@ -2108,8 +2110,10 @@ void FCsvProfilerThreadDataProcessor::Process(FCsvProcessThreadDataStats& OutSta
|
||||
// AEnd would be missing
|
||||
if (FrameNumber >= 0 && bFoundStart)
|
||||
{
|
||||
#if !UE_BUILD_SHIPPING
|
||||
ensure(Marker.RawStatID == StartMarker.RawStatID);
|
||||
ensure(Marker.GetTimestamp() >= StartMarker.GetTimestamp());
|
||||
#endif
|
||||
if (Marker.GetTimestamp() > StartMarker.GetTimestamp())
|
||||
{
|
||||
uint64 ElapsedCycles = Marker.GetTimestamp() - StartMarker.GetTimestamp();
|
||||
|
||||
Reference in New Issue
Block a user