source: benchmark/io/http/options.hfa @ 35ea4f3

arm-ehjacob/cs343-translationnew-ast-unique-expr
Last change on this file since 35ea4f3 was 481ee28, checked in by Thierry Delisle <tdelisle@…>, 11 months 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
Line 
1#pragma once
2
3#include <stdint.h>
4
5#include <kernel.hfa>
6
7struct cluster;
8
9struct Options {
10        bool log;
11
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;
23                int buflen;
24        } socket;
25
26        struct {
27                int nprocs;
28                int nworkers;
29                io_context_params params;
30                bool procstats;
31                bool viewhalts;
32                cluster * instance;
33        } clopts;
34};
35
36extern Options options;
37
38const char * parse_options( int argc, char * argv[] );
Note: See TracBrowser for help on using the repository browser.