1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 15:55:37 +00:00

Integer wrap problem fixed.

This commit is contained in:
Peter Boyle 2015-05-29 14:11:34 +01:00
parent 445e38acf6
commit 9cfc180334

View File

@ -77,7 +77,8 @@ int main (int argc, char ** argv)
}
double stop=usecond();
double xbytes = Nloop*bytes*2*ncomm;
double dbytes = bytes;
double xbytes = Nloop*dbytes*2.0*ncomm;
double rbytes = xbytes;
double bidibytes = xbytes+rbytes;
@ -151,8 +152,9 @@ int main (int argc, char ** argv)
}
double stop=usecond();
double xbytes = Nloop*bytes*2*ncomm;
double dbytes = bytes;
double xbytes = Nloop*dbytes*2.0*ncomm;
double rbytes = xbytes;
double bidibytes = xbytes+rbytes;