سؤال

By downloading and uploading 5MB, 10MB, 20MB, 50MB, and 100MB files. How can the throughput be calculated?

thanks,

هل كانت مفيدة؟

المحلول

throughput = bytes_downloaded / (time_now - time_started);

If that's not enough to solve the problem, you need to be much more detailed in your question. Post the code you've written so far, and explain why it isn't working.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top