3 #ifndef __MEMCONTROL_H__ 4 #define __MEMCONTROL_H__ void inc_tot_mem_used(int64_t a)
int64_t proc_bytes_used()
gives total memory used on this MPI process
void set_memcap(double cap)
sets what fraction of the memory capacity CTF can use
int64_t proc_bytes_available()
gives total memory available on this MPI process
int64_t proc_bytes_total()
gives total memory size per MPI process
void set_mem_size(int64_t size)
sets what fraction of the memory capacity CTF can use