source: benchmark/io/http/options.hfa@ 03ecdcf

ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
Last change on this file since 03ecdcf was 481ee28, checked in by Thierry Delisle <tdelisle@…>, 5 years ago

Removed experiment type, server just supports both urls.
Logging is now optional.
Added done flag so spurious invalid accepts are caught.

  • Property mode set to 100644
File size: 499 bytes
RevLine 
[0aec496]1#pragma once
2
3#include <stdint.h>
4
[d11d6eb]5#include <kernel.hfa>
6
[0aec496]7struct cluster;
8
9struct Options {
[481ee28]10 bool log;
[5ad381b]11
[2ecbd7b]12 struct {
13 int open_flags;
14 uint32_t hash_seed;
15 size_t size;
16 bool list;
17 bool fixed_fds;
18 } file_cache;
19
20 struct {
21 int port;
22 int backlog;
[03ed863]23 int buflen;
[2ecbd7b]24 } socket;
25
26 struct {
27 int nprocs;
28 int nworkers;
[d11d6eb]29 io_context_params params;
[2ecbd7b]30 bool procstats;
31 bool viewhalts;
32 cluster * instance;
33 } clopts;
[0aec496]34};
35
[2ecbd7b]36extern Options options;
37
38const char * parse_options( int argc, char * argv[] );
Note: See TracBrowser for help on using the repository browser.