Commit Graph

13 Commits

Author SHA1 Message Date
Jaroslaw Surowiec 27facd396a Profiler - Removed obsolete memory profiler code from the profiler session
[CL 2598600 by Jaroslaw Surowiec in Main branch]
2015-06-24 04:21:35 -04:00
PaulEremeeff 3d878d5a79 PR #996: Fixing PVS-Studio warnings (Contributed by PaulEremeeff)
I have reviewed each change carefully, but it is a large change and I could have missed something! Here is a summary of the types of changes in this CL:
 * Made nullptr checks consistent (the plurality of the changes are of this type)
 * Completed switch statements (IE, switch did not explicitly handle default case, but had unhandled enum entries - this is the second most popular type of fix)
 * Removed unused variables
 * Removed redundant initializations
 * WidgetNavigationCustomization.cpp was fixed by the owner
 * integers converted to floats where result was stored in a float
 * Removed redundent null checks (e.g. before delete statements)
 * Renamed variables to prevent non-obvious shadowing
 * Fixed use of bitwise & when checking for equality to an enum entry (which is often 0)
 * Fixes for some copy paste errors (e.g. FoliageEdMode.cpp)

[CL 2498053 by Dan Oconnor in Main branch]
2015-03-31 20:12:31 -04:00
Marc Audy badac1ff91 Improve loading of large profiler data sets by not using AddUnique
#codereview Jaroslaw.Surowiec

[CL 2493719 by Marc Audy in Main branch]
2015-03-27 10:11:00 -04:00
Jaroslaw Surowiec 318962f6f9 Stats - Core implementation of the malloc profiler using the stats system (usage: run game with "-memoryprofiler", type in console "stat stopfile" to stop profiling)
#codereview Robert.Manuszewski

[CL 2446757 by Jaroslaw Surowiec in Main branch]
2015-02-16 04:53:09 -05:00
Jaroslaw Surowiec 3071ee1789 Profiler - Fixed Filters'n'Presets not being updated
[CL 2416959 by Jaroslaw Surowiec in Main branch]
2015-01-23 11:46:28 -05:00
Steve Robb 0756ef15b9 Delegate comparisons deprecated, lots of other associated code deprecated, and lots of warning fixups:
* Multicast delegate Add* calls now return FDelegateHandles, and Remove* calls are now all deprecated, except for a new Remove function which takes a FDelegateHandle.
* New FConsoleManager::RegisterConsoleVariableSink_Handle and UnregisterConsoleVariableSink_Handle functions which work in terms of FConsoleVariableSinkHandle.
* Timer calls which don't take FTimerHandles are deprecated.
* FTicker::AddTicker now returns an FDelegateHandle and is removed by an overloaded Remove function.
* DEFINE_ONLINE_DELEGATE* macros now define _Handle variants of the Add/Remove functions which return/take handles.
* Various other handle-based registration changes.
* Some unity build fixes.
* Some simplification of delegate code.
* Fixes for lots of existing code to use handle-based registration and unregistration.

#codereview robert.manuszewski

[CL 2400883 by Steve Robb in Main branch]
2015-01-08 09:29:27 -05:00
Ben Marsh 149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Jaroslaw Surowiec 5da9559694 Profiler - Added first version of the thread view (to capture the data in the game use 'stat startfileraw')
#codereview Robert.Manuszewski

[CL 2066860 by Jaroslaw Surowiec in Main branch]
2014-05-08 08:00:35 -04:00
Jaroslaw Surowiec 34ec05e6a1 #UE4.Profiler (misc tweaks, basic support for the new view mode, added profiler stream class)
- Misc tweaks to make profiler more base on the new stats system
- Added a new view mode to the data graph, for the regular stats file it will be LineIndexBased, for the raw stats file it will be ThreadViewTimeBased
- Added profiler stream, a new class that will hold all data read from the raw stats file, hopefully will replace the current profiler data provider/ data source later
- Added basic support for the second profiler view mode

[CL 2054275 by Jaroslaw Surowiec in Main branch]
2014-04-23 20:14:38 -04:00
Jaroslaw Surowiec 933ca11147 #UE4
- Fixed profiler
  - Increased stack size used to generate the profiler event graph
  - Fixed a problem with tracking default stats when the metadata is not ready

#codereview Robert.Manuszewski

[CL 2048708 by Jaroslaw Surowiec in Main branch]
2014-04-23 19:20:24 -04:00
Jaroslaw Surowiec 1dccb1dedc #UE4.Profiler
- Added first version of the profiler mini-view
- Switched to SCOPE_LOG_TIME when measuring profiler's performance
- Misc fixed how the stats metadata is handled by the profiler
- Game thread is tracked by default

#codereview Robert.Manuszewski

[CL 2046766 by Jaroslaw Surowiec in Main branch]
2014-04-23 18:59:13 -04:00
UnrealBot db494a6e69 Engine source (Main branch up to CL 2037954) 2014-04-02 18:09:23 -04:00
Tim Sweeney 324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00