mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 19:08:08 +00:00
Merge pull request #481 from devnexen/haiku_settings
Haiku set explicitly to performance.
This commit is contained in:
@ -1057,6 +1057,11 @@ int main(int argc, char **argv_orig, char **envp) {
|
||||
bind_to_free_cpu(afl);
|
||||
#endif /* HAVE_AFFINITY */
|
||||
|
||||
#ifdef __HAIKU__
|
||||
/* Prioritizes performance over power saving */
|
||||
set_scheduler_mode(SCHEDULER_MODE_LOW_LATENCY);
|
||||
#endif
|
||||
|
||||
afl->fsrv.trace_bits =
|
||||
afl_shm_init(&afl->shm, afl->fsrv.map_size, afl->non_instrumented_mode);
|
||||
|
||||
|
Reference in New Issue
Block a user