Skip to content
Snippets Groups Projects
  1. Aug 20, 2021
    • Florian Schmaus's avatar
      [Makefile] Make static-analysis depend on iwyu · c61ecdf1
      Florian Schmaus authored
      The ninja 'iwyu' target does not depend nor generates
      compile_commands_wo_subprojects/compile_commands.json. Hence iwyu
      would fail if the database is not yet generated or run with an
      outdated compile_commands.json.
      
      Instead of iwyu being added to STATIC_ANALYSIS_NINJA_TARGETS, we now
      have the static-analysis make target depend on iwyu. This ensures that
      compile_commands_wo_subprojects/compile_commands.json is generated or
      updated (if required) before iwyu is run.p
      c61ecdf1
  2. Aug 19, 2021
  3. Aug 18, 2021
  4. Aug 11, 2021
    • Florian Schmaus's avatar
      Merge branch 'random-worker-id' into 'master' · 96d27755
      Florian Schmaus authored
      [AbstractWorkStealingScheduler] Get rid of "rand() % workerCount"
      
      See merge request !229
      96d27755
    • Florian Schmaus's avatar
      [AbstractWorkStealingScheduler] Get rid of "rand() % workerCount" · bf8cf516
      Florian Schmaus authored
      The "rand() % workerCount" constructed used in the work-stealing
      scheduler is flawed. It has a bias toward lower worker IDs due the
      modulo operation. This is something I always wanted to get rid of, but
      never found the time to do it. Until know.
      
      Get rid of it and replace it with
      std::uniform_int_distribution<workerid_t> (as field the Worker
      instance).
      
      The main changes in AbstractWorkStealingScheduler are
      - use currentWorker->nextRandomWorkerId() (instead of the flawed construct)
      - currentWorker->getWorkerId() (instead of Runtime::getWorkerId())
      bf8cf516
  5. Aug 10, 2021
  6. Aug 09, 2021
  7. Aug 08, 2021
  8. Aug 02, 2021
Loading