GlobalStats is used to track some summary statistics during file transfers. More...
#include <FCStateAndStats.hpp>
Public Member Functions | |
GlobalStats (void) | |
GlobalStats & | clear (void) |
Public Attributes | |
uint64_t | totalNumberOfFilesSent |
uint64_t | totalNumberOfFilesReceived |
uint64_t | remainingNumberOfFilesToSend |
uint64_t | remainingNumberOfFilesToReceive |
uint64_t | totalNumberOfPayloadBytesTransferred |
uint64_t | totalNumberOfPlayloadBytesSkipped |
Number of bytes that were skipped due to auto-resume of a previous partial file transfers. More... | |
uint64_t | remainingNumberOfPayloadBytesToTransfer |
uint64_t | bitsPerSecondAverageTransferRate |
std::chrono::high_resolution_clock::time_point | timeStarted |
absolute time More... | |
std::chrono::high_resolution_clock::duration | timeRemaining |
relative time, from now More... | |
GlobalStats is used to track some summary statistics during file transfers.
If access to the statistics is needed during the transfer (versus after the transfer has finished) then please see the statistics callback function fc::Control::setStatsCallback().
fc::GlobalStats::GlobalStats | ( | void | ) |
fc::GlobalStats & fc::GlobalStats::clear | ( | void | ) |
References bitsPerSecondAverageTransferRate, remainingNumberOfFilesToReceive, remainingNumberOfFilesToSend, remainingNumberOfPayloadBytesToTransfer, timeRemaining, totalNumberOfFilesReceived, totalNumberOfFilesSent, totalNumberOfPayloadBytesTransferred, and totalNumberOfPlayloadBytesSkipped.
uint64_t fc::GlobalStats::totalNumberOfFilesSent |
uint64_t fc::GlobalStats::totalNumberOfFilesReceived |
uint64_t fc::GlobalStats::remainingNumberOfFilesToSend |
uint64_t fc::GlobalStats::remainingNumberOfFilesToReceive |
uint64_t fc::GlobalStats::totalNumberOfPayloadBytesTransferred |
uint64_t fc::GlobalStats::totalNumberOfPlayloadBytesSkipped |
Number of bytes that were skipped due to auto-resume of a previous partial file transfers.
uint64_t fc::GlobalStats::remainingNumberOfPayloadBytesToTransfer |
uint64_t fc::GlobalStats::bitsPerSecondAverageTransferRate |
std::chrono::high_resolution_clock::time_point fc::GlobalStats::timeStarted |
absolute time
std::chrono::high_resolution_clock::duration fc::GlobalStats::timeRemaining |
relative time, from now