- Apr 04, 2022
-
-
Florian Fischer authored
* Pass the IO results on the stack instead of storing them in the client object. * Terminate the runtime on quit to print stats. * Free Client objects.
-
- Dec 06, 2021
-
-
Florian Schmaus authored
-
- Oct 28, 2021
-
-
Florian Fischer authored
Now three variants of computation are available: * fixed (echoserver <port> <computation>: This will always consume computation us before sending the echo back to the client. * random range (echoserver <port> <computation> <computation-max>: This will consume a random computation uniformly selected from the interval [computation, computation-max] us. * random min-max (echoserver <port> <computation> <computation-max> <max-probability> This will either consume computation or computation-max us. The max computation is randomly chosen with the specified probability. All random values are generated with a thread_local mt19937 generator and uniformly distributed with uniform_{int,real}_distribution.
-
Florian Fischer authored
-
- Sep 24, 2021
-
-
Florian Fischer authored
This is needed by emper-io-eval because apparently our startup/termination times are shorter than the OS allows the rebinding of the same tcp tuple. Also make all global variables static because they don't have to be exported.
-
- Aug 08, 2021
-
-
Florian Fischer authored
-
- Apr 19, 2021
-
-
Florian Fischer authored
The break was not in the right scope and thus exiting the echo loop immediately in the first iteration.
-
Florian Fischer authored
Since stats are printed in the Runtime destructor we can not simply call exit() and have to properly terminate the Runtime. When the echo server receives a "quit" message all active connections will return and the Runtime will terminate if there is no work left.
-
- Mar 11, 2021
-
-
Florian Fischer authored
-
- Feb 03, 2021
-
-
Florian Fischer authored
Use getaddrinfo instead to get the socket information instead of using always ipv4 sockets. Pass host and port as strings for use with getaddrinfo.
-
Florian Fischer authored
-
- Jan 26, 2021
-
-
Florian Fischer authored
-