Audacity 3.2.0
|
#include <NetworkUtils.h>
Public Types | |
using | Duration = std::chrono::milliseconds |
Public Member Functions | |
TransferStats & | SetBytesTransferred (int64_t bytesTransferred) |
TransferStats & | SetBlocksTransferred (int64_t blocksTransferred) |
TransferStats & | SetProjectFilesTransferred (int64_t projectFilesTransferred) |
TransferStats & | SetTransferDuration (Duration transferDuration) |
Public Attributes | |
int64_t | BytesTransferred {} |
int64_t | BlocksTransferred {} |
int64_t | ProjectFilesTransferred {} |
Duration | TransferDuration {} |
Definition at line 25 of file NetworkUtils.h.
using audacity::cloud::audiocom::TransferStats::Duration = std::chrono::milliseconds |
Definition at line 27 of file NetworkUtils.h.
TransferStats & audacity::cloud::audiocom::TransferStats::SetBlocksTransferred | ( | int64_t | blocksTransferred | ) |
Definition at line 134 of file NetworkUtils.cpp.
References BlocksTransferred.
Referenced by audacity::cloud::audiocom::sync::RemoteProjectSnapshot::GetTransferStats().
TransferStats & audacity::cloud::audiocom::TransferStats::SetBytesTransferred | ( | int64_t | bytesTransferred | ) |
Definition at line 128 of file NetworkUtils.cpp.
References BytesTransferred.
Referenced by audacity::cloud::audiocom::sync::RemoteProjectSnapshot::GetTransferStats().
TransferStats & audacity::cloud::audiocom::TransferStats::SetProjectFilesTransferred | ( | int64_t | projectFilesTransferred | ) |
Definition at line 141 of file NetworkUtils.cpp.
References ProjectFilesTransferred.
Referenced by audacity::cloud::audiocom::sync::RemoteProjectSnapshot::GetTransferStats().
TransferStats & audacity::cloud::audiocom::TransferStats::SetTransferDuration | ( | Duration | transferDuration | ) |
Definition at line 147 of file NetworkUtils.cpp.
References TransferDuration.
Referenced by audacity::cloud::audiocom::sync::RemoteProjectSnapshot::GetTransferStats().
int64_t audacity::cloud::audiocom::TransferStats::BlocksTransferred {} |
Definition at line 30 of file NetworkUtils.h.
Referenced by audacity::cloud::audiocom::CloudSyncService::ReportUploadStats(), and SetBlocksTransferred().
int64_t audacity::cloud::audiocom::TransferStats::BytesTransferred {} |
Definition at line 29 of file NetworkUtils.h.
Referenced by audacity::cloud::audiocom::sync::anonymous_namespace{CloudProjectOpenUtils.cpp}::LogTransferStats(), audacity::cloud::audiocom::CloudSyncService::ReportUploadStats(), and SetBytesTransferred().
int64_t audacity::cloud::audiocom::TransferStats::ProjectFilesTransferred {} |
Definition at line 31 of file NetworkUtils.h.
Referenced by audacity::cloud::audiocom::CloudSyncService::ReportUploadStats(), and SetProjectFilesTransferred().
Duration audacity::cloud::audiocom::TransferStats::TransferDuration {} |
Definition at line 33 of file NetworkUtils.h.
Referenced by audacity::cloud::audiocom::sync::anonymous_namespace{CloudProjectOpenUtils.cpp}::LogTransferStats(), and SetTransferDuration().