forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9259 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
e66eccef5f
commit
37849c807e
|
@ -1665,6 +1665,7 @@ void Comm::set_processors(int narg, char **arg)
|
||||||
bigint Comm::memory_usage()
|
bigint Comm::memory_usage()
|
||||||
{
|
{
|
||||||
bigint bytes = 0;
|
bigint bytes = 0;
|
||||||
|
bytes += nprocs * sizeof(int); // grid2proc
|
||||||
for (int i = 0; i < nswap; i++)
|
for (int i = 0; i < nswap; i++)
|
||||||
bytes += memory->usage(sendlist[i],maxsendlist[i]);
|
bytes += memory->usage(sendlist[i],maxsendlist[i]);
|
||||||
bytes += memory->usage(buf_send,maxsend+BUFEXTRA);
|
bytes += memory->usage(buf_send,maxsend+BUFEXTRA);
|
||||||
|
|
Loading…
Reference in New Issue