Skip to content
Snippets Groups Projects
  1. Jul 05, 2021
    • Florian Fischer's avatar
      [Runtime] use pthread_getaffinity_np to determine default worker count · 7cb1a828
      Florian Fischer authored
      The value reported by std::thread::hardware_concurrency() can be more
      than the available CPUs to the current process for example if EMPER runs
      in a container or qemu.
      GNU nproc(1) does the right thing and we can take inspiration from them.
      The solution is to use pthread_getaffinity_np which fills a CPU set with
      all CPU a pthread can be scheduled on.
      We use this more precise CPU count if possible.
      7cb1a828
  2. Jun 04, 2021
  3. May 28, 2021
  4. May 20, 2021
  5. May 19, 2021
  6. May 18, 2021
  7. May 17, 2021
  8. May 14, 2021
  9. May 11, 2021
  10. May 10, 2021
  11. May 08, 2021
  12. May 05, 2021
Loading