|
@@ -97,7 +97,7 @@ void workerThread()
|
|
|
cout << "\tRequests sent: " << reqId << endl;
|
|
|
cout << "\tResponses received: " << d.numberOfResponesReceived << endl;
|
|
|
cout << "\tRuntime(ms): " << (std::chrono::duration_cast<std::chrono::milliseconds>(endTime-startTime)).count() << endl;
|
|
|
- cout << "\tRequests sent per s: " << ((double)reqId) / (std::chrono::duration_cast<std::chrono::seconds>(endTime-startTime)).count() << endl;
|
|
|
+ cout << "\tRequests sent per s: " << ((double)reqId) / (std::chrono::duration_cast<std::chrono::milliseconds>(endTime-startTime)).count() * 1000.0 << endl;
|
|
|
}
|
|
|
|
|
|
int main(int argc, char **argv) {
|