diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-03-16 21:26:15 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-03-16 21:26:15 +0900 |
| commit | 1d9a4a8aec2483b112f4b8ec6d8f3d2f527c05ff (patch) | |
| tree | 42b368c158a1574202de9a28efa53e497b159c49 /src/NetStat.h | |
| parent | f0f1b8ef47c391550ff99982f1cad3dd4e1d410d (diff) | |
| parent | 60d0cb0e24974534c10f63cf6833119b6af7be2b (diff) | |
Merge branch 'oliviercommelarbre-optimize-concurrent-downloads'
Diffstat (limited to 'src/NetStat.h')
| -rw-r--r-- | src/NetStat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/NetStat.h b/src/NetStat.h index 90a8e9f0..cacf8b43 100644 --- a/src/NetStat.h +++ b/src/NetStat.h @@ -61,10 +61,14 @@ public: */ int calculateDownloadSpeed(); + int calculateNewestDownloadSpeed(int seconds); + int calculateAvgDownloadSpeed(); int calculateUploadSpeed(); + int calculateNewestUploadSpeed(int seconds); + int calculateAvgUploadSpeed(); void updateDownload(size_t bytes); |
