Commit Graph

32 Commits

Author SHA1 Message Date
Lauren Barnes
6248f8d412 Replacing legacy EditorStyle calls with AppStyle
#preflight 6272a74d2f6d177be3c6fdda
#rb Matt.Kuhlenschmidt

#ROBOMERGE-OWNER: Lauren.Barnes
#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20057269 via CL 20070159 via CL 20072035 via CL 20072203
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
#ROBOMERGE-CONFLICT from-shelf

[CL 20105363 by Lauren Barnes in ue5-main branch]
2022-05-09 13:12:28 -04:00
ionut matasaru
9c022068d3 [Insights]
- Added Exec() API to IUnrealInsightsModule and to IInsightsComponent (i.e. each component can now expose custom commands).
  - Extended "-ExecOnAnalysisCompleteCmd" command line argument to be used also without AutomationTesting, to run custom commands exposed by Insights components.
  - Added custom response file support for "-ExecOnAnalysisCompleteCmd" command line argument (using @=file syntax).
  - Fixed -AutoQuit command line argument to work also without AutomationTesting.

#rb Catalin.Dragoiu
#preflight 62260251e543538b3e2ea3f8

[CL 19284189 by ionut matasaru in ue5-main branch]
2022-03-07 08:10:36 -05:00
ionut matasaru
dda435206d [Insights] Fixed Unreal Insights (Session Browser) app to re-focus if it was already running.
#jira UE-136108
#rb none

#ROBOMERGE-AUTHOR: ionut.matasaru
#ROBOMERGE-SOURCE: CL 18430329 in //UE5/Release-5.0/... via CL 18435294
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18435523 by ionut matasaru in ue5-release-engine-test branch]
2021-12-10 17:46:06 -05:00
andriy tylychko
6bf3101dcd deprecated FTicker and family and replaced by thread-safe FTSTicker
#jira UE-120090
#rb francis.hurteau


#ROBOMERGE-SOURCE: CL 17176325 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17176374 by andriy tylychko in ue5-release-engine-test branch]
2021-08-16 11:09:22 -04:00
ionut matasaru
df61063a5e [Insights]
- Added "-NoUI" command line argument to be able to run analysis for a session without the UI to be created (useful when used together with -AutoQuit).
  - Added a log message (emitted when analysis completes) with session duration, analysis duration and analysis speed.

#rb Catalin.Dragoiu

#ROBOMERGE-SOURCE: CL 16994511 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16994515 by ionut matasaru in ue5-release-engine-test branch]
2021-07-29 08:37:01 -04:00
ionut matasaru
d652fca555 [Insights]
- Enabled "HighDPI" support for Unreal Insights app.
  - Fixed size and location of app windows (for both browser and viewer modes) when high dpi is enabled and DPIScaleFactor is not 1.
  - Added name of trace in the application's title.

#rb Catalin.Dragoiu

#ROBOMERGE-SOURCE: CL 16882805 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16882816 by ionut matasaru in ue5-release-engine-test branch]
2021-07-19 08:55:22 -04:00
ionut matasaru
a51bcbd384 [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

#ROBOMERGE-SOURCE: CL 16726078 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16726101 by ionut matasaru in ue5-release-engine-test branch]
2021-06-21 06:29:41 -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