… | |
… | |
38 | POSIX optionally offers support for a monotonic clock source. EV |
38 | POSIX optionally offers support for a monotonic clock source. EV |
39 | can take advantage of this clock source to detect time jumps |
39 | can take advantage of this clock source to detect time jumps |
40 | reliably. Unfortunately, some systems are bound to be broken, so you can |
40 | reliably. Unfortunately, some systems are bound to be broken, so you can |
41 | disable this here: you can completely disable the detection and use of |
41 | disable this here: you can completely disable the detection and use of |
42 | the monotonic clock by answering 'n' here. Support for this clock type |
42 | the monotonic clock by answering 'n' here. Support for this clock type |
43 | will otherwise be autodetected at both compile- and runtime. |
43 | will otherwise be autodetected at both compile- and runtime. (this setting |
|
|
44 | currently affects the use of nanosleep over select as well). |
44 | |
45 | |
45 | EOF |
46 | EOF |
46 | |
47 | |
47 | $DEFINE .= " -DEV_USE_MONOTONIC=" . (0 + (prompt ("Enable optional support for CLOCK_MONOTONIC (y/n)?", "y") =~ /[yY]/)); |
48 | $DEFINE .= " -DEV_USE_MONOTONIC=" . (0 + (prompt ("Enable optional support for CLOCK_MONOTONIC (y/n)?", "y") =~ /[yY]/)); |
48 | |
49 | |