8000 Update error message now that /proc/cpuinfo is no longer in use by brad0 · Pull Request #1917 · google/benchmark · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

U 8000 pdate error message now that /proc/cpuinfo is no longer in use #1917

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 4, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
< 8000 form data-turbo="false" action="/google/benchmark/pull/1917/diffview" accept-charset="UTF-8" method="post">
Diff view
3 changes: 1 addition & 2 deletions src/sysinfo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -515,8 +515,7 @@ int GetNumCPUsImpl() {
int GetNumCPUs() {
int num_cpus = GetNumCPUsImpl();
if (num_cpus < 1) {
std::cerr << "Unable to extract number of CPUs. If your platform uses "
"/proc/cpuinfo, custom support may need to be added.\n";
std::cerr << "Unable to extract number of CPUs.\n";
/* There is at least one CPU which we run on. */
num_cpus = 1;
}
Expand Down
Loading
0