|
|
lucid
0.0.1
Lifting-based Uncertain Control Invariant Dynamics
|
Namespaces | |
| namespace | lucid |
| Root namespace for the lucid library. | |
| namespace | lucid::metrics |
| Collection of metric measuring functions. | |
Functions | |
| size_t | lucid::metrics::get_current_rss () |
| Get the current Resident Set Size (RSS) in bytes. | |
| size_t | lucid::metrics::get_peak_rss () |
| Get the peak Resident Set Size (RSS) in bytes. | |
| double | lucid::metrics::bytes_to (std::size_t size_in_bytes, MemoryUnit unit) |
| Convert a size in bytes to the specified memory unit. | |
| MemoryUnit | lucid::metrics::get_suggested_memory_unit (std::size_t size_in_bytes) |
| Suggest the most appropriate memory unit for a given size in bytes. | |
| double | lucid::metrics::time_to (double duration_in_seconds, TimeUnit unit) |
| Convert a duration in seconds to the specified time unit. | |
| TimeUnit | lucid::metrics::get_suggested_time_unit (double duration_in_seconds) |
| Suggest the most appropriate time unit for a given duration in seconds. | |
Adapted from https://maxliani.wordpress.com/2020/05/02/dev-tracking-memory-usage-part-1/