|
ppforest2 v0.1.0
Projection Pursuit Decision Trees and Random Forests
|
System-level utilities (process memory measurement). More...
Functions | |
| long | get_peak_rss_bytes () |
| Get the peak resident set size (RSS) of the current process in bytes. | |
System-level utilities (process memory measurement).
| long ppforest2::sys::get_peak_rss_bytes | ( | ) |
Get the peak resident set size (RSS) of the current process in bytes.
Uses platform-specific APIs: GetProcessMemoryInfo on Windows, getrusage on POSIX (macOS reports bytes, Linux reports KB * 1024).