… | |
… | |
4726 | \& #define EV_CHILD_ENABLE 1 |
4726 | \& #define EV_CHILD_ENABLE 1 |
4727 | \& #define EV_ASYNC_ENABLE 1 |
4727 | \& #define EV_ASYNC_ENABLE 1 |
4728 | .Ve |
4728 | .Ve |
4729 | .Sp |
4729 | .Sp |
4730 | The actual value is a bitset, it can be a combination of the following |
4730 | The actual value is a bitset, it can be a combination of the following |
4731 | values: |
4731 | values (by default, all of these are enabled): |
4732 | .RS 4 |
4732 | .RS 4 |
4733 | .ie n .IP "1 \- faster/larger code" 4 |
4733 | .ie n .IP "1 \- faster/larger code" 4 |
4734 | .el .IP "\f(CW1\fR \- faster/larger code" 4 |
4734 | .el .IP "\f(CW1\fR \- faster/larger code" 4 |
4735 | .IX Item "1 - faster/larger code" |
4735 | .IX Item "1 - faster/larger code" |
4736 | Use larger code to speed up some operations. |
4736 | Use larger code to speed up some operations. |
… | |
… | |
4739 | code size by roughly 30% on amd64). |
4739 | code size by roughly 30% on amd64). |
4740 | .Sp |
4740 | .Sp |
4741 | When optimising for size, use of compiler flags such as \f(CW\*(C`\-Os\*(C'\fR with |
4741 | When optimising for size, use of compiler flags such as \f(CW\*(C`\-Os\*(C'\fR with |
4742 | gcc is recommended, as well as \f(CW\*(C`\-DNDEBUG\*(C'\fR, as libev contains a number of |
4742 | gcc is recommended, as well as \f(CW\*(C`\-DNDEBUG\*(C'\fR, as libev contains a number of |
4743 | assertions. |
4743 | assertions. |
|
|
4744 | .Sp |
|
|
4745 | The default is off when \f(CW\*(C`_\|_OPTIMIZE_SIZE_\|_\*(C'\fR is defined by your compiler |
|
|
4746 | (e.g. gcc with \f(CW\*(C`\-Os\*(C'\fR). |
4744 | .ie n .IP "2 \- faster/larger data structures" 4 |
4747 | .ie n .IP "2 \- faster/larger data structures" 4 |
4745 | .el .IP "\f(CW2\fR \- faster/larger data structures" 4 |
4748 | .el .IP "\f(CW2\fR \- faster/larger data structures" 4 |
4746 | .IX Item "2 - faster/larger data structures" |
4749 | .IX Item "2 - faster/larger data structures" |
4747 | Replaces the small 2\-heap for timer management by a faster 4\-heap, larger |
4750 | Replaces the small 2\-heap for timer management by a faster 4\-heap, larger |
4748 | hash table sizes and so on. This will usually further increase code size |
4751 | hash table sizes and so on. This will usually further increase code size |
4749 | and can additionally have an effect on the size of data structures at |
4752 | and can additionally have an effect on the size of data structures at |
4750 | runtime. |
4753 | runtime. |
|
|
4754 | .Sp |
|
|
4755 | The default is off when \f(CW\*(C`_\|_OPTIMIZE_SIZE_\|_\*(C'\fR is defined by your compiler |
|
|
4756 | (e.g. gcc with \f(CW\*(C`\-Os\*(C'\fR). |
4751 | .ie n .IP "4 \- full \s-1API\s0 configuration" 4 |
4757 | .ie n .IP "4 \- full \s-1API\s0 configuration" 4 |
4752 | .el .IP "\f(CW4\fR \- full \s-1API\s0 configuration" 4 |
4758 | .el .IP "\f(CW4\fR \- full \s-1API\s0 configuration" 4 |
4753 | .IX Item "4 - full API configuration" |
4759 | .IX Item "4 - full API configuration" |
4754 | This enables priorities (sets \f(CW\*(C`EV_MAXPRI\*(C'\fR=2 and \f(CW\*(C`EV_MINPRI\*(C'\fR=\-2), and |
4760 | This enables priorities (sets \f(CW\*(C`EV_MAXPRI\*(C'\fR=2 and \f(CW\*(C`EV_MINPRI\*(C'\fR=\-2), and |
4755 | enables multiplicity (\f(CW\*(C`EV_MULTIPLICITY\*(C'\fR=1). |
4761 | enables multiplicity (\f(CW\*(C`EV_MULTIPLICITY\*(C'\fR=1). |