source: benchmark/io/http/options.hfa @ 4f762d3

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

httpforall now only loads file if explicit path is given.

  • Property mode set to 100644
File size: 512 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 {
[b57db73]13                const char * path;
[2ecbd7b]14                int open_flags;
15                uint32_t hash_seed;
16                size_t size;
17                bool list;
18                bool fixed_fds;
19        } file_cache;
20
21        struct {
22                int port;
23                int backlog;
[03ed863]24                int buflen;
[2ecbd7b]25        } socket;
26
27        struct {
28                int nprocs;
29                int nworkers;
[d11d6eb]30                io_context_params params;
[2ecbd7b]31                bool procstats;
32                bool viewhalts;
33                cluster * instance;
34        } clopts;
[0aec496]35};
36
[2ecbd7b]37extern Options options;
38
[b57db73]39void parse_options( int argc, char * argv[] );
Note: See TracBrowser for help on using the repository browser.