Commit Graph

63 Commits

Author SHA1 Message Date
Jeff Campeau
537b54b2e3 Use STAT_SecondsPerCycle to scale CVS stats instead of the host machine's default platform value.
[CL 2690867 by Jeff Campeau in Main branch]
2015-09-14 16:58:36 -04:00
Justin Hair
430142dfbc [AUTOMERGE]
This submission allows the end user to launch onto any platform using a profile created inside of the UFE.
Allows for easier scripting for testing and launching your project.

To run:
UnrealFrontend.exe -Run="LAUNCHPROFILE" -PROFILENAME="THE_NAME_OF_YOUR_CUSTOM_PROFILE"

**Changes and Additions**
Added LaunchFromProfileCommand.h/.cpp
--Checks if '-ProfileName=' is used and is correct.
--Loads the LaucherServicesModules and DeviceServicesModules
----Gets the Device Proxy Manager
----Gets the Profile Manager which is needed to find the named profile.
--A launcher is created that uses the profile and DeviceProxyManager to read the profile and trigger a build, cook, and launch of it.
--Logging from the launch will be shown in the command window.
--Keeps running until the launcher broadcasts that it has either completed or has been cancelled.

UnrealFrontendMain.cpp
Task Related:
--Added the launch profile command to the command if/else statement.
--Added helpful comments.
Improvements and General Fixes:
--Added a check to verify that a command is actually given with -Run.  Logs a warning if none exist.
--Fixed an issue where the -messaging command line check was returning incorrectly.  It will now only add '-messaging' if it actually does not exist in the command line already.
--Added a command line check where if you run with -run then -log will be appended to the command line if it isn't already.  This allows us to receive logging onscreen.

#CodeReview: adric.worley, justin.hair, marcus.wassmer, jason.bestimt, bob.ferreira, ben.salem, brad.angelcyk

--------
Integrated using branch UE4-Orion-To-UE4 of change#2675868 by Justin.Hair on 2015/09/01 14:50:30.

[CL 2680596 by Justin Hair in Main branch]
2015-09-04 12:55:44 -04:00
Dmitry Rekman
7962cac622 Linux: moved common startup code to a separate module.
- The code that handles initial setup (command line processing, rlimits and debugger) is now shared between engine, UFE and SlateViewer.

[CL 2679796 by Dmitry Rekman in Main branch]
2015-09-03 20:46:02 -04:00
Dmitry Rekman
8819455da2 UnrealFrontend: fix Linux build.
[CL 2672520 by Dmitry Rekman in Main branch]
2015-08-28 12:54:22 -04:00
Jamie Dale
543e06757e Ensured that Engine/Runtime modules don't depend on SlateReflector in a shipping build
Changed everything using SlateReflector to list it as a dynamic dependency. Nothing should ever need to link directly to SlateReflector as it just provides an interface for spawning the various debug UIs, such as the WidgetReflector.

Went through and made sure that the Engine/Runtime modules that use SlateReflector aren't using it in a shipping build. Also removed the testing code from AppFramework, and made sure that you can't try and spawn the test suite in a shipping build.

[CL 2660803 by Jamie Dale in Main branch]
2015-08-19 07:53:45 -04:00
buildmachine
ce42430211 Code documentation from CL#2636592
[CL 2636758 by buildmachine in Main branch]
2015-07-29 07:47:34 -04:00
Jaroslaw Surowiec
6309261cad Stats/Profiler - Refactored reading from a stats file (move memorydumpcommand to the profiler, all memory profiler funcionality move to the profiler module, can be accessed from the IProfilerModule, still wip)
[CL 2619747 by Jaroslaw Surowiec in Main branch]
2015-07-14 04:35:44 -04:00
Jaroslaw Surowiec
5f668c59b6 Stats/Profiler - Refactored reading from a stats file (move memorydumpcommand to the profiler, all memory profiler funcionality move to the profiler module, can be accessed from the IProfilerModule, still wip)
[CL 2617950 by Jaroslaw Surowiec in Main branch]
2015-07-13 06:39:32 -04:00
Jaroslaw Surowiec
5409dbfece Stats - Refactored reading from a stats file (asynchronous read/process raw stats) (WIP)
[CL 2616747 by Jaroslaw Surowiec in Main branch]
2015-07-10 11:18:26 -04:00
Jaroslaw Surowiec
fd5891e95f Stats - Refactored reading from a stats file (wip)
[CL 2616495 by Jaroslaw Surowiec in Main branch]
2015-07-10 07:02:04 -04:00
Jaroslaw Surowiec
8432067a59 Stats - Refactored reading from a stats file (wip)
[CL 2615237 by Jaroslaw Surowiec in Main branch]
2015-07-09 11:52:13 -04:00
Jaroslaw Surowiec
926f1c09c4 Profiler - Documentation pass, cleaned some code
[CL 2604312 by Jaroslaw Surowiec in Main branch]
2015-06-29 13:53:20 -04:00
Jaroslaw Surowiec
f3b8cdb78b Profiler - Moved some test code bo run only in the debug builds only
[CL 2603957 by Jaroslaw Surowiec in Main branch]
2015-06-29 10:30:56 -04:00
Jaroslaw Surowiec
d5e4473193 Profiler - Reverted decoded callstack, better for displaying in the external app, added first version of generating scoped tree allocations
[CL 2601023 by Jaroslaw Surowiec in Main branch]
2015-06-25 14:55:47 -04:00
Jaroslaw Surowiec
a30fc9f6e1 Profiler - Fixed CompareSnapshots_FName
[CL 2597511 by Jaroslaw Surowiec in Main branch]
2015-06-23 14:07:30 -04:00
Jaroslaw Surowiec
811bfb25a9 Profiler - First pass for snapshots for memory profiling
[CL 2597501 by Jaroslaw Surowiec in Main branch]
2015-06-23 13:58:12 -04:00
Jaroslaw Surowiec
a9818290d6 Compile fix
[CL 2583942 by Jaroslaw Surowiec in Main branch]
2015-06-11 05:42:38 -04:00
Jaroslaw Surowiec
aba055fbf8 Profiler - Removed unused code
[CL 2583939 by Jaroslaw Surowiec in Main branch]
2015-06-11 05:41:00 -04:00
Jaroslaw Surowiec
7c4a2cbf3e Stats - Updated comment
[CL 2582389 by Jaroslaw Surowiec in Main branch]
2015-06-10 04:22:16 -04:00
Peter Sauerbrei
07426ef2d3 Back out reading the command line txt file on windows and mac. Updated rocket determination by looking for a file in Engine/Build
UE-15396
#codereview ben.marsh

[CL 2552720 by Peter Sauerbrei in Main branch]
2015-05-15 10:23:40 -04:00
Peter Sauerbrei
df9cf40e72 addition of message to alert the user when they have not properly installed their certificates on the remote mac
UE-15490
#ios

[CL 2550177 by Peter Sauerbrei in Main branch]
2015-05-13 22:55:37 -04:00
Peter Sauerbrei
3373fa83c9 fixes for UFE not working properly in a binary release
UE-15538, UE-15528, UE-15487

[CL 2550020 by Peter Sauerbrei in Main branch]
2015-05-13 20:40:15 -04:00
paul fazio
45bf59dd2a Build ShaderCompileWorker, UnrealCEFSubProcess and UnrealFrontend from RootEditor node to Tools node
[CL 2545313 by paul fazio in Main branch]
2015-05-11 09:01:47 -04:00
Marc Audy
46fb5b8110 Fix UnrealFrontend shadow variables
#lockdown Zachary.EdgertonJones

[CL 2521955 by Marc Audy in Main branch]
2015-04-22 18:05:59 -04:00
Jaroslaw Surowiec
7dce7a29a2 Stats - Fixed not working UObject stats in the memory dump command
[CL 2510448 by Jaroslaw Surowiec in Main branch]
2015-04-13 12:24:20 -04:00