perf: fix FreeBSD compilation
Include <sys/cpuset.h> available in FreeBSD when compilation is done on this OS and use cpuset_affinity, instead of sched_affinity. Also, use posix_memalign for Linux and FreeBSD, instead of memalign, since this function is available on both OSes. This commit is part of fix for #62.
Loading
Please register or sign in to comment