Sponge
CS144's user-space TCP library
|
#include "tcp_connection.hh"
#include <chrono>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <string>
Go to the source code of this file.
Functions | |
int | main () |
void | main_loop (const bool reorder) |
void | move_segments (TCPConnection &x, TCPConnection &y, vector< TCPSegment > &segments, const bool reorder) |
Variables | |
constexpr size_t | len = 100 * 1024 * 1024 |
int main | ( | ) |
Definition at line 106 of file tcp_benchmark.cc.
void main_loop | ( | const bool | reorder | ) |
Definition at line 31 of file tcp_benchmark.cc.
void move_segments | ( | TCPConnection & | x, |
TCPConnection & | y, | ||
vector< TCPSegment > & | segments, | ||
const bool | reorder | ||
) |
Definition at line 14 of file tcp_benchmark.cc.
|
constexpr |
Definition at line 12 of file tcp_benchmark.cc.