XGC1
Functions
memory_usage.hpp File Reference
#include <string>
#include "space_settings.hpp"
Include dependency graph for memory_usage.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void print_mem_usage (const std::string &str)
 
void print_mem_usage (const std::string &str, int comm_rank)
 
int get_local_cpu_mem_usage (double &total_db, double &free_db)
 
int get_local_gpu_mem_usage (double &total_db, double &free_db)
 

Function Documentation

◆ get_local_cpu_mem_usage()

int get_local_cpu_mem_usage ( double &  total_db,
double &  free_db 
)
Here is the caller graph for this function:

◆ get_local_gpu_mem_usage()

int get_local_gpu_mem_usage ( double &  total_db,
double &  free_db 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ print_mem_usage() [1/2]

void print_mem_usage ( const std::string &  str)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ print_mem_usage() [2/2]

void print_mem_usage ( const std::string &  str,
int  comm_rank 
)
Here is the call graph for this function: