Skip to content

kitelightning/SuperluminalPlugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instructions

Enable the plugin and pass this flag: -Superluminal

IMPORTANT: If you have FRAMEPRO_ENABLED turned on, you will exclude all external profilers

UE4 creates several unique names for a bunch of stat named events (e.g. Slate widgets, "Frame N", etc). To minimize the impact this has on the profiler (imho, the unique names are overkill), do one of either:

  1. YourGame.Target.cs:

    BuildEnvironment = TargetBuildEnvironment.Unique;
    GlobalDefinitions.Add("PLATFORM_LIMIT_PROFILER_UNIQUE_NAMED_EVENTS=1");
    GlobalDefinitions.Add("SLATE_VERBOSE_NAMED_EVENTS=0");
  2. Core.Build.cs:

    PublicDefinitions.Add("PLATFORM_LIMIT_PROFILER_UNIQUE_NAMED_EVENTS=1");
    PublicDefinitions.Add("SLATE_VERBOSE_NAMED_EVENTS=0");

If you want to emit scopes to Superluminal based on UE4's cycle stats, pass -statnamedevents

  • Note: This adds a lot of overhead