Commit Graph

26 Commits

Author SHA1 Message Date
ionut matasaru
16ed95ae22 [Insights]
Updated the name of the Windows event used to force single instance of UnrealInsights.exe (Browser Mode) and to control when to try to auto-connect. This change allows UnrealInsights.exe from UE5 to coexists with a running instance from UE4.
  Also updated the comments to better explain how the Windows event is used.
  Trace auto-connect behavior remains the same: a game runtime (editor excluded) will try to auto-connect with a local trace store (now hosted by the UnrealTraceServer.exe) if UnrealInsights (Browser Mode) is running.

#rb Martin.Ridgers

[CL 16726078 by ionut matasaru in ue5-main branch]
2021-06-21 06:27:51 -04:00
Steve Robb
9309254836 Removal of incorrect or unnecessary ESPMode::Fast usage.
#rb robert.manuszewski
#jira none

[CL 16095118 by Steve Robb in ue5-main branch]
2021-04-22 13:07:08 -04:00
danny couture
4e2385ea0a Throttle Insights rendering when application is idle to reduce GPU usage especially when multiple instance are running
- From 8% GPU to 0.2% per background instance on my 3070

#rb Ionut.Matasaru

[CL 16004391 by danny couture in ue5-main branch]
2021-04-14 09:17:09 -04:00
Matt Kuhlenschmidt
cf8bbcede7 deprecate Slates EnableMenuAnimations api. This feature has been disabled and has not worked since 4.0. Turning it on by accient causes massive issues with menus.
[CL 14844960 by Matt Kuhlenschmidt in ue5-main branch]
2020-12-03 13:16:18 -04:00
Catalin Dragoiu
9b9f72c074 [Insights] Forward -stompmalloc cmd line paramater to the session viewer
Remove option to run Session Viewer in the same process as the SessionBrowser
rb Ionut.Matasaru

[CL 14786651 by Catalin Dragoiu in ue5-main branch]
2020-11-19 10:43:57 -04:00
daren cheng
4ec48c9820 Edigrate 14629275.
Capture callstack in widget invalidation for leaf widgets.

#jira UE-101687
#rb Patrick.Boutot Phillip.Kavan

[CL 14631340 by daren cheng in ue5-main branch]
2020-11-02 14:48:49 -04:00
Catalin Dragoiu
b545dd9077 [Insights] Forward -InsightsTest and -DebugTools arguments from the Session Browser to the Session Viewer. Add options to enable Debug Tools and InsightsTest from the Session Browser UI.
#rb Ionut.Matasaru

[CL 14444838 by Catalin Dragoiu in ue5-main branch]
2020-10-08 06:37:09 -04:00
Catalin Dragoiu
800a92817d [Insights] Fix menu check boxes by incrementing GFrameCounter in the Insights main loop #rb none
[CL 14444628 by Catalin Dragoiu in ue5-main branch]
2020-10-08 05:07:59 -04:00
Marcus Wassmer
3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00
ionut matasaru
e784302e2a [Insights] Fixed slate app initialization for Unreal Insights.
#jira UE-94476
#rb none

[CL 13760279 by ionut matasaru in ue5-main branch]
2020-06-24 13:38:03 -04:00
Marc Audy
11f5b21210 Merging //UE5/Release-Engine-Staging @ 13752110 to Main (//UE5/Main)
#rnx

[CL 13753156 by Marc Audy in ue5-main branch]
2020-06-23 18:40:00 -04:00
Matt Kuhlenschmidt
60d7245918 Fix some standalone applications not starting up due to out of order core/editor style initialization
[CL 13545858 by Matt Kuhlenschmidt in ue5-main branch]
2020-05-26 10:28:30 -04:00
ionut matasaru
eee8fab6d0 [Insights]
- Bug fix: Browser: Renamed "..." button to "Explore" (Explore the Trace Store Directory). Also aligned the button to the right. (UE-89187)
  - Bug fix: Renamed command line params to analyze a session from "-TraceFile" / "-TraceId" to "-OpenTraceFile" / "-OpenTraceId" (in order to avoid conflict with "-TraceFile" cmd line param already in use to direct tracing to a file).

#jira UE-89187
#rb none

#ROBOMERGE-SOURCE: CL 11576085 in //UE4/Release-4.25/... via CL 11576094
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v654-11333218)

[CL 11585345 by ionut matasaru in Main branch]
2020-02-22 18:11:49 -05:00
Stefan Boberg
55a8b15f1f Copying //UE4/Dev-Core to Main (//UE4/Main)
#rb none

[CL 11258477 by Stefan Boberg in Main branch]
2020-02-05 14:26:36 -05:00
ionut matasaru
4147ef50b8 [Insights]
- Session Browser (start page): Updated layout.
  - Session Browser (start page): Changed "auto start analysis" checkbbox to be disabled by default. Also moved on same line with Open button.
  - Session Browser (start page): Fixed meta-data for trace sessions.
  - Counters: Changed double click on a counter to also turn visibility on for the Graph track in addition to adding a graph series for respective counter.
  - Timing view: Added workaround for cases where a log message has a null category name.
  - Added "TraceInsights" log category and a Log.h (to avoid using "TimingProfiler" category).
  - Split FTraceInsightsModule::StartAnalysisForTrace(const TCHAR* InStoreHost, uint32 InStorePort, uint32 InTraceId) into ConnectToStore(const TCHAR* InStoreHost, uint32 InStorePort) + StartAnalysisForTrace(InTraceId).

#rb none

[CL 11116473 by ionut matasaru in Dev-Core branch]
2020-01-27 12:21:11 -05:00
Jurre deBaare
73553e13a8 Gameplay Insights (Editor) changes:
- Introduce GameplayInsightsEditor module, allowing to compile non-editor functionality for UnrealInsights
- Enable GameplayInsights modules for UnrealInsights standalone project / tool
- Ensure that UnrealInsights load 'Default' phase plugins
- Split extendability for Major Insights tabs, into Configuration and Extenders
#rb Thomas.Sarkanen
#fyi Ionut.Matasaru

[CL 11104556 by Jurre deBaare in Dev-Core branch]
2020-01-24 09:34:25 -05:00
Martin Ridgers
76541cdbbc Restored auto-tracing on Windows if Insights is running.
#rb trivial
#rnx

[CL 11104065 by Martin Ridgers in Dev-Core branch]
2020-01-24 07:00:09 -05:00
ionut matasaru
55bd26b0d1 [Insights]
- Changed trace session management to use the new store API.
  - Removed Start/Stop recorder functionality.
  - Enabled TRACE_WITH_ASIO (will be removed in a following commit).
#rb none

[CL 11091497 by ionut matasaru in Dev-Core branch]
2020-01-23 05:11:17 -05:00
Jurre deBaare
528108f70c Unreal Insights channel filtering plugin:
- Adds a new tab to the Editor, "Trace Data Filtering"
- Tab allows for setting individual Trace Channel states, meaning whether or not they should output events
- Also allows for specifying Presets, defining groups of Channels that should be enabled together
- Enabled plugin for QAGame project
#rb Thomas.Sarkanen

[CL 11063734 by Jurre deBaare in Dev-Core branch]
2020-01-20 10:25:29 -05:00
ionut matasaru
ad4babbd8a [Insights] Added code to allow only a single instance of the Session Browser process.
#rb none

[CL 11028250 by ionut matasaru in Dev-Core branch]
2020-01-16 07:28:54 -05:00
ionut matasaru
535d52b4bf [Insights]
- Changed UnrealInsights to start in "Browser mode". When opening a trace file it will spawn a new UnrealInsights process.
  - Added "-Trace=.." command line parameter to force UnrealInsights to start analysis of the specified trace file (Start Page will not be displayed).
  - Added "-SingleProcess" command line parameter to force UnrealInsights to start analysis in same process (same as old behaviour).
  - Added  new "Session Info" tab with few metadata about session (currently only info about URI, analysis status and session duration are available).
  - Start Page: Added a fake splash screen to appear each time session analysis is started in separate process.
  - Start Page: Added auto-start analysis for live sessions (with possibility to set filter by platform and/or app name)
 -  Start Page: Added vertical scrollbar (visible when window height is reduced). Fixes UE-86471.
  - Increased version to 0.12.
#jira UE-86471
#rb none

[CL 10979021 by ionut matasaru in Dev-Core branch]
2020-01-14 04:50:47 -05:00
Ryan Durand
74c879d5f3 Updating copyrights for Engine Programs.
#rnx
#rb none
#jira none

#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869242 in //Fortnite/Release-12.00/... via CL 10869536
#ROBOMERGE-BOT: FORTNITE (Main -> Dev-EngineMerge) (v613-10869866)

[CL 10870960 by Ryan Durand in Main branch]
2019-12-26 23:06:02 -05:00
Stefan Boberg
1f813eb516 Copying //UE4/Dev-Core to Main (//UE4/Main)
#rb many

[CL 9405827 by Stefan Boberg in Main branch]
2019-10-03 16:26:48 -04:00
brandon schaefer
a715ea4f14 Deprecate GIsRequestingExit
Get GIsRequestingExit now by IsEngineRequestingExit()

Set GIsRequestingExit now by RequestEngineExit(const TCHAR* Reason) or RequestEngineExit(const FString& Reason)
NOTE If Reason is 4 or less chars it will generate an ensure to force a reason to exit

The reason behind this change is right now setting GIsRequestingExit to true can cause many things to break mainly early on and with out any sort of log warning we have entered this state. We should wrap this behind a function to allow for proper handling

#rb Chris.Babcock, Michael.Trepka, Michael.Noland
#jira UE-79933
[FYI] Michael.Noland


#ROBOMERGE-SOURCE: CL 8649683 via CL 8653683
#ROBOMERGE-BOT: (v417-8656536)

[CL 8658680 by brandon schaefer in Main branch]
2019-09-12 14:21:26 -04:00
Stefan Boberg
8607ecb30d Copying //UE4/Dev-Core to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 6815521 by Stefan Boberg in Main branch]
2019-06-03 15:32:00 -04:00