STINNER Victor added the comment: Florent: "I was thinking that a warning might go unnoticed, that is why I chose to end the program if taskset is not found."
Oh right, I kept your behaviour and pushed a change. --- changeset: 238:a97acad3bbf7 tag: tip user: Victor Stinner <victor.stin...@gmail.com> date: Wed Feb 03 15:20:02 2016 +0100 files: perf.py description: Add --affinity command line option If used, run the benchmark using taskset to pin the process to a set of CPU cores to reduce context switching. See taskset manual page for more information. Patch written by Florin Papa. --- ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26274> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com