You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- TraceServices: Changed ReadNetProfilerProvider, ReadMemoryProvider, ReadDiagnosticsProvider to return a pointer to the respective provider (instead of a reference). Can return nullptr. The UI should not assume the provider exists. - TraceServices: Added GetNetProfilerProviderName, GetMemoryProviderName, GetDiagnosticsProviderName, GetAllocationsProviderName to return name of respective provider. - TraceServices: Added ReadModuleProvider + GetModuleProviderName, ReadCallstacksProvider + GetCallstacksProviderName to access respective providers. - TraceServices: Added a default empty implementation to IModule for GenerateReports, GetLoggers and GetCommandLineArgument. - TraceServices: Changed FAnalysisService::StartAnalysis to not create default providers for Memory (LLM Stats), NetProfiler and Diagnostics, but to allow the respective modules (FMemoryModule, FNetProfilerModule, FDiagnosticsModule) to create the providers. - TraceInsights: Fixed UI code to check if the Memory, NetProfiler and Diagnostics provider are available. #rb Catalin.Dragoiu, Johan.Berg [CL 16967698 by ionut matasaru in ue5-main branch]
23 lines
517 B
C++
23 lines
517 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "TraceServices/ModuleService.h"
|
|
|
|
namespace TraceServices
|
|
{
|
|
|
|
class FMemoryModule
|
|
: public IModule
|
|
{
|
|
public:
|
|
#if WITH_EDITOR
|
|
virtual bool ShouldBeEnabledByDefault() const override { return false; }
|
|
#endif
|
|
virtual void GetModuleInfo(FModuleInfo& OutModuleInfo) override;
|
|
virtual void OnAnalysisBegin(IAnalysisSession& Session) override;
|
|
virtual void GetLoggers(TArray<const TCHAR*>& OutLoggers) override;
|
|
};
|
|
|
|
} // namespace TraceServices
|