Jhonathan Abreu
a912638496
Move QuantConnect namespace's messages to Messages folder ( #6924 )
2023-02-10 10:41:05 -03:00
Martin-Molinero
0fa471f4e5
Resource related improvements ( #6683 )
...
Python Virtual Environments / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
- Add resource controls logs
- Make sure the OS CPU performance counter thread is only created when
desired, not in research
2022-10-12 17:25:56 -03:00
Martin-Molinero
284b26a9bd
Performance improvements and fixes ( #6330 )
...
Regression Tests / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
* Reuse GUID
* Reduce Lean task usage
* Reduce CPU usage
* Address reviews
2022-05-13 15:04:09 -03:00
Gerardo Salazar
aef2a47892
Updates CPU performance metrics gathering approach ( #5261 )
...
* Updates CPU performance metrics gathering for project modernization
* PerformanceCounters are not supported cross-platform in
.NET Core/5.0, which requires the use of an alternative method
in the gathering of performance metrics. Since no exposed .NET API
exists to gather these metrics without blocking, a new thread is
created to block the time necessary for the CPU performance to be
calculated.
* Address review: remove ResetEvent and make CpuPercent atomic
* Dispose of CpuPerformance instance before exiting Lean
* Minor tweak for Task and comment
Co-authored-by: Martin Molinero <martin.molinero1@gmail.com >
2021-02-05 20:23:30 -03:00
Martin Molinero
5faf7a0b55
Fix Mono reporting double CPU usage
2020-07-16 11:40:32 -03:00
Martin Molinero
ab81859896
Remove drive space information
2020-04-24 20:56:20 -03:00
Michael Handschuh
d709d1c4e0
Update Common to respect CA1304 and CA1305
...
Updates all occurrences of parsing/ToString-ing to go through the new
StringExtensions methods that use CultureInfo.InvariantCulture
See #3045
2019-09-12 14:13:24 -04:00
Stefano Raggi
a5c8a0325a
Remove TotalPhysicalMemory and FreePhysicalMemory from OS class
2019-01-11 19:52:55 +01:00
Stefano Raggi
d2c399d3d0
Remove unnecessary private properties from OS class
2019-01-11 16:32:22 +01:00
Stefano Raggi
a8d6f05825
Refactor and add error handling in OS class
2019-01-10 21:24:22 +01:00
Stefano Raggi
462ca4ecab
Add total application memory usage in Isolator logging
...
- Added logging of total memory usage, which includes both managed and unmanaged memory
- Fixed incorrect calculation of total physical memory for Windows
2019-01-10 15:33:10 +01:00
Michael Handschuh
818591e101
Revert "Isolator will now take into account unmanaged memory usage"
...
This reverts commit 221a90c81a .
Causing algorithms to fail. This wasn't intended to be merged until
after the pythonnet memory leak fix has been merged/deployed.
2018-07-23 12:18:38 -04:00
Martin Molinero
221a90c81a
Isolator will now take into account unmanaged memory usage
2018-07-19 18:54:40 -03:00
Juan José D'Ambrosio
6d702c0112
dependencies fix
2018-01-03 20:59:24 -03:00
Juan José D'Ambrosio
defd27d9b4
Update OS.cs
...
Fix private GetDrive method.
2018-01-03 20:27:52 -03:00
Stefano Raggi
0c8fce518d
Fix InvalidOperationException in OS.CpuUsage on Windows
2016-11-22 22:58:25 +01:00
jaredbroad
a293839ee7
Fix for incorrect CPU processor reading
2016-11-21 04:43:09 -05:00
Juan Manuel Alvarez
b3494afc47
Constants renamed to Globals.
...
Globals values can be reloaded from configuration.
2016-03-12 01:07:31 -03:00
QuantConnect
513859f18e
Added LEAN version to the server statistics, added quit state to acceptable exit conditions
2015-11-06 14:31:11 -05:00
snugs
e1938baafe
Clean up using directives
2015-09-01 22:17:35 -04:00
QuantConnect
fde0cbed3a
Strip out block quote section header comments
2015-06-13 16:04:27 -04:00
snugs
89b6e98af8
Fixes warnings mostly relating to xml comments
...
Also cleans up some block comments
Via PR#72 - thanks @ammachado!
2015-05-13 10:56:47 -04:00
Jared Broad
bdbb624772
Added KeepAlive.cs
2015-01-23 19:32:20 -03:00
Jared Broad
5eb6f2dd65
Added units and fixed daily performance unit scale
2015-01-23 18:38:01 -03:00
snugs
7182a444a5
Adds ServerStatistics to LiveResultPacket
2015-01-21 14:56:20 -03:00
Jared Broad
b3de520915
Initial commit
2015-01-12 12:03:33 -03:00