#include #include #include #include #include #include #include using namespace std; uint32_t BUFF_SIZE=1000*4; // chunk size to read in bytes void Usage(string maess=""); void ParseCommandLineArguments(int narg, char *argv[]); //---------------------------- // Usage //---------------------------- void Usage(string mess) { cout << endl; cout << "Usage:" <1){ double rate = (double)Nread_total/tdiff_total; rate /= 1024.0*1024.0; cout << " " << rate << " MB/sec \r"; cout.flush(); Nread_total = 0; tdiff_total = 0; } } return 0; }