Files
UnrealEngine/Engine/Source/Developer/TraceInsights/Public/Insights/ViewModels/ThreadTrackEvent.h
2025-05-18 13:04:45 +08:00

31 lines
823 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
// TraceInsights
#include "Insights/ViewModels/TimingEvent.h"
////////////////////////////////////////////////////////////////////////////////////////////////////
class TRACEINSIGHTS_API FThreadTrackEvent : public FTimingEvent
{
INSIGHTS_DECLARE_RTTI(FThreadTrackEvent, FTimingEvent)
public:
FThreadTrackEvent(const TSharedRef<const FBaseTimingTrack> InTrack, double InStartTime, double InEndTime, uint32 InDepth);
virtual ~FThreadTrackEvent() {}
uint32 GetTimerIndex() const;
void SetTimerIndex(uint32 InTimerIndex);
uint32 GetTimerId() const;
void SetTimerId(uint32 InTimerId);
private:
uint32 TimerIndex = 0;
};
////////////////////////////////////////////////////////////////////////////////////////////////////