Files
UnrealEngine/Engine/Source/Developer/TraceInsights/Private/Insights/ContextSwitches/ViewModels/ContextSwitchTimingEvent.cpp
2025-05-18 13:04:45 +08:00

36 lines
1.5 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "ContextSwitchTimingEvent.h"
namespace UE::Insights::ContextSwitches
{
////////////////////////////////////////////////////////////////////////////////////////////////////
// FContextSwitchTimingEvent
////////////////////////////////////////////////////////////////////////////////////////////////////
INSIGHTS_IMPLEMENT_RTTI(FContextSwitchTimingEvent)
////////////////////////////////////////////////////////////////////////////////////////////////////
FContextSwitchTimingEvent::FContextSwitchTimingEvent(const TSharedRef<const FBaseTimingTrack> InTrack, double InStartTime, double InEndTime, uint32 InDepth)
: FTimingEvent(InTrack, InStartTime, InEndTime, InDepth)
{}
////////////////////////////////////////////////////////////////////////////////////////////////////
// FCpuCoreTimingEvent
////////////////////////////////////////////////////////////////////////////////////////////////////
INSIGHTS_IMPLEMENT_RTTI(FCpuCoreTimingEvent)
////////////////////////////////////////////////////////////////////////////////////////////////////
FCpuCoreTimingEvent::FCpuCoreTimingEvent(const TSharedRef<const FBaseTimingTrack> InTrack, double InStartTime, double InEndTime, uint32 InDepth)
: FTimingEvent(InTrack, InStartTime, InEndTime, InDepth)
{}
////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////
} // namespace UE::Insights::ContextSwitches