title: How can I get the CPU core number from within a user-space app (Linux, C)?
body: <p>Presumably there is a library or simple asm blob that can get me the number of the current CPU that I am executing on.  </p>