Skip to content

Libs/Optimize/Utils/MemoryUsage.h

Functions

Name
void process_mem_usage(double & vm_usage, double & resident_set)

Functions Documentation

function process_mem_usage

void process_mem_usage(
    double & vm_usage,
    double & resident_set
)

Source code

#pragma once

//TODO: Figure out memory logging in Windows or get rid of this
// Disabled by default because this code is *nix specific.
// #define LOG_MEMORY_USAGE

void process_mem_usage(double& vm_usage, double& resident_set);

Updated on 2024-03-17 at 12:58:44 -0600