#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ printf(char *);
void usage() {
  printf(
      "fcttest - A flow-completion-time measurement tool.\n"
      "Options:\n"
      "  -s    Sever mode (either -s or -c must be specified).\n"
      "\n"
      "  -c    Client mode (either -s or -c must be specified).\n"
      "\n"
      "  -p    Port to listen on (server mode) or connect to (client mode).\n"
      "\n"
      "  -a address    Address of server (must be specified in client mode).\n"
      "\n"
      "  -g flow_len    Length, in bytes, of flow. Must be specified on\n"
      "                 both the server and client.\n"
      "\n"
      "  -r    Enable RC3 mode. Must be specified for both client and server,\n"
      "        or neither.\n"
      "\n"
      "  -l    Enable RC3 logging mode (kernel socket option).\n"
      "\n"
      "  -t    Enable RC3 logging time mode (kernel socket option).\n"
      "\n"
      "  -v    Verbose mode. Only recommended for troubleshooting, can\n"
      "        increase the measured times, due to extra printing.\n");
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage>:
lea    0xee9(%rip),%rdi
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [763 x i8] c"fcttest - A flow-completion-time measurement tool.\0AOptions:\0A -s Sever mode (either -s or -c must be specified).\0A\0A -c Client mode (either -s or -c must be specified).\0A\0A -p Port to listen on (server mode) or connect to (client mode).\0A\0A -a address Address of server (must be specified in client mode).\0A\0A -g flow_len Length, in bytes, of flow. Must be specified on\0A both the server and client.\0A\0A -r Enable RC3 mode. Must be specified for both client and server,\0A or neither.\0A\0A -l Enable RC3 logging mode (kernel socket option).\0A\0A -t Enable RC3 logging time mode (kernel socket option).\0A\0A -v Verbose mode. Only recommended for troubleshooting, can\0A increase the measured times, due to extra printing.\0A\00"
define void @usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([763 x i8], [763 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [762 x i8] c"fcttest - A flow-completion-time measurement tool.\0AOptions:\0A -s Sever mode (either -s or -c must be specified).\0A\0A -c Client mode (either -s or -c must be specified).\0A\0A -p Port to listen on (server mode) or connect to (client mode).\0A\0A -a address Address of server (must be specified in client mode).\0A\0A -g flow_len Length, in bytes, of flow. Must be specified on\0A both the server and client.\0A\0A -r Enable RC3 mode. Must be specified for both client and server,\0A or neither.\0A\0A -l Enable RC3 logging mode (kernel socket option).\0A\0A -t Enable RC3 logging time mode (kernel socket option).\0A\0A -v Verbose mode. Only recommended for troubleshooting, can\0A increase the measured times, due to extra printing.\00"
define void @usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([762 x i8], [762 x i8]* @str, i64 0, i64 0))
ret void
}