[libc-commits] [PATCH] D135179: [libc] add CPU_COUNT macro and backing function

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Oct 4 10:26:02 PDT 2022


michaelrj created this revision.
michaelrj added a reviewer: sivachandra.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added projects: libc-project, All.
michaelrj requested review of this revision.

Add the macro CPU_COUNT as well as a backing function to implement the
functionality.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135179

Files:
  libc/config/linux/x86_64/entrypoints.txt
  libc/config/linux/x86_64/headers.txt
  libc/include/CMakeLists.txt
  libc/include/llvm-libc-macros/CMakeLists.txt
  libc/include/llvm-libc-macros/linux/CMakeLists.txt
  libc/include/llvm-libc-macros/linux/sched-macros.h
  libc/include/llvm-libc-macros/sched-macros.h
  libc/include/sched.h.def
  libc/spec/gnu_ext.td
  libc/src/sched/CMakeLists.txt
  libc/src/sched/linux/CMakeLists.txt
  libc/src/sched/linux/sched_getcpucount.cpp
  libc/src/sched/sched_getcpucount.h
  libc/test/src/sched/CMakeLists.txt
  libc/test/src/sched/cpu_count_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135179.465070.patch
Type: text/x-patch
Size: 9514 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20221004/178c4fff/attachment.bin>


More information about the libc-commits mailing list