source: benchmark/io/http/options.hfa @ 289a21c

ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since 289a21c was 2ecbd7b, checked in by Thierry Delisle <tdelisle@…>, 4 years ago

Implemented more options and moved them to their own file

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