Changeset 13550 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Oct 24, 2008 11:52:46 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp
r13221 r13550 2220 2220 if (details == VMINFO_MACHINEREADABLE) 2221 2221 { 2222 uint64_t ThroughputSend = 0; 2223 uint64_t ThroughputReceive = 0; 2224 if (EndTime != BeginTime) 2225 { 2226 ThroughputSend = (BytesSent * 1000) / (EndTime - BeginTime); 2227 ThroughputReceive = (BytesReceived * 1000) / (EndTime - BeginTime); 2228 } 2222 2229 RTPrintf("VRDPBytesSent=%llu\n", BytesSent); 2223 RTPrintf("VRDPThroughputSend=%llu\n", (BytesSent * 1000) / (EndTime - BeginTime));2230 RTPrintf("VRDPThroughputSend=%llu\n", ThroughputSend); 2224 2231 RTPrintf("VRDPBytesSentTotal=%llu\n", BytesSentTotal); 2225 2232 2226 2233 RTPrintf("VRDPBytesReceived=%llu\n", BytesReceived); 2227 RTPrintf("VRDPThroughputReceive=%llu\n", (BytesReceived * 1000) / (EndTime - BeginTime));2234 RTPrintf("VRDPThroughputReceive=%llu\n", ThroughputReceive); 2228 2235 RTPrintf("VRDPBytesReceivedTotal=%llu\n", BytesReceivedTotal); 2229 2236 } … … 7935 7942 listAffectedMetrics(aVirtualBox, 7936 7943 ComSafeArrayAsInParam(affectedMetrics)); 7937 7944 7938 7945 return 0; 7939 7946 }
Note:
See TracChangeset
for help on using the changeset viewer.