source: benchmark/io/http/options.hfa @ 867fca3

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

Worker now each do their own accept4

  • Property mode set to 100644
File size: 487 bytes
RevLine 
[0aec496]1#pragma once
2
3#include <stdint.h>
4
[d11d6eb]5#include <kernel.hfa>
6
[0aec496]7struct cluster;
8
9struct Options {
[2ecbd7b]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;
[03ed863]21                int buflen;
[2ecbd7b]22        } socket;
23
24        struct {
25                int nprocs;
26                int nworkers;
[d11d6eb]27                io_context_params params;
[2ecbd7b]28                bool procstats;
29                bool viewhalts;
30                cluster * instance;
31        } clopts;
[0aec496]32};
33
[2ecbd7b]34extern Options options;
35
36const char * parse_options( int argc, char * argv[] );
Note: See TracBrowser for help on using the repository browser.