Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Updated PhysicalCoreID() to use sched_getcpu() on x86_64 for glibc >= 2.22. Added a new function named GetCPUID() that calls sched_getcpu(), to avoid repeated code. This change is done as per the comments of PR: #2230 Signed-off-by: Jos Collin <jcollin@redhat.com> Closes #2260 Differential Revision: D5025734 Pulled By: ajkr fbshipit-source-id: f4cca68c12573cafcf8531e7411a1e733bbf8eef
- Loading branch information