Ignore:
Timestamp:
Jul 17, 2020, 5:39:26 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
e95a117
Parents:
0d52c6f
Message:

Implemented more options and moved them to their own file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/io/http/options.hfa

    r0d52c6f r2ecbd7b  
    66
    77struct Options {
    8         int open_flags;
    9         uint32_t hash_seed;
    10         size_t file_cache_size;
    11         bool file_cache_list;
    12         bool procstats;
    13         bool viewhalts;
    14         cluster * the_cluster;
     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;
    1530};
    1631
    1732extern Options options;
     33
     34const char * parse_options( int argc, char * argv[] );
Note: See TracChangeset for help on using the changeset viewer.