remember latency

This commit is contained in:
arm64v8a
2022-09-11 11:48:38 +08:00
parent a7fe8de6a5
commit fd13c92739
4 changed files with 30 additions and 3 deletions

View File

@@ -148,6 +148,7 @@ void MainWindow::speedtest_current_group(int mode) {
profile->latency = result.ms();
if (profile->latency == 0) profile->latency = -1; // sn
profile->full_test_report = result.full_report().c_str();
profile->Save();
runOnUiThread([=] {
if (!result.error().empty()) {