source: benchmark/io/http/options.hfa @ 8e3034d

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

Fixed some compilation errors.
Fixed file descriptor support in progress.

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