XGC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

int get_local_cpu_mem_usage ( double &  total_db,
double &  free_db 
)

Here is the caller graph for this function:

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:

void print_mem_usage ( const std::string &  str)

Here is the call graph for this function:

Here is the caller graph for this function:

void print_mem_usage ( const std::string &  str,
int  comm_rank 
)

Here is the call graph for this function: