Update FileResourceRequest.cpp Update AssetResourceRequest.cpp Update FileResourceRequest.cpp Update HTTPResourceRequest.cpp Update AssetResourceRequest.cpp Update AssetResourceRequest.cpp Update FileResourceRequest.cpp Update AssetResourceRequest.cpp Update AssetResourceRequest.cpp Update FileResourceRequest.cpp Update FileResourceRequest.cpp Update HTTPResourceRequest.cpp Update FileResourceRequest.cpp Update FileResourceRequest.cpp Update Application.cpp Update Application.cpp
Showing the changes to interface/src/Application.cpp (1 of 5 files). Show all
Unified · Split
| @@ -1466,6 +1466,14 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo · 1465 unmodified lines | |||
| 1466 | properties["atp_mapping_requests"] = atpMappingRequests; | 1466 | properties["atp_mapping_requests"] = atpMappingRequests; |
| 1467 | 1467 | ||
| 1468 | properties["throttled"] = _displayPlugin ? _displayPlugin->isThrottled() : false; | 1468 | properties["throttled"] = _displayPlugin ? _displayPlugin->isThrottled() : false; |
| 1469 | |||
| 1470 | QJsonObject bytesDownloaded; | ||
| 1471 | bytesDownloaded["atp"] = statTracker->getStat(STAT_ATP_RESOURCE_TOTAL_BYTES).toInt(); | ||
| 1472 | bytesDownloaded["http"] = statTracker->getStat(STAT_HTTP_RESOURCE_TOTAL_BYTES).toInt(); | ||
| 1473 | bytesDownloaded["file"] = statTracker->getStat(STAT_FILE_RESOURCE_TOTAL_BYTES).toInt(); | ||
| 1474 | bytesDownloaded["total"] = bytesDownloaded["atp"].toInt() + bytesDownloaded["http"].toInt() | ||
| 1475 | + bytesDownloaded["file"].toInt(); | ||
| 1476 | properties["bytesDownloaded"] = bytesDownloaded; | ||
| 1469 | 1477 | ||
| 1470 | auto myAvatar = getMyAvatar(); | 1478 | auto myAvatar = getMyAvatar(); |
| 1471 | glm::vec3 avatarPosition = myAvatar->getPosition(); | 1479 | glm::vec3 avatarPosition = myAvatar->getPosition(); |