hi
can anyone here help me with a program to check the hard disk transfer rate?
is there anyone with suitable source codes?"
Printable View
hi
can anyone here help me with a program to check the hard disk transfer rate?
is there anyone with suitable source codes?"
This question is probably out of the scope of this board. Try searching google or something...
how about this:
but this probably isnt what you are looking for...Code:main()
{
FILE *fp = fopen("some_file", "rb");
char buf[10000000];
long st, ft;
st = time(NULL);
fread(buf, sizeof(buf), 1, fp);
ft = time(NULL);
printf("transfer rate = %fmb/sec", (float)10/(ft-st));
fclose(fp);
return 0;
}
It's a little primative and somewhat innacurate, but if you really need something roughly, I'd go with that...