add API pa_ncpus()

This commit is contained in:
Lennart Poettering 2009-01-22 02:16:53 +01:00
parent c0e4e5a868
commit 4dc1916467
3 changed files with 16 additions and 0 deletions

View file

@ -823,6 +823,8 @@ int main(int argc, char *argv[]) {
pa_log_debug(_("Running on host: %s"), s);
pa_xfree(s);
pa_log_debug(_("Found %u CPUs."), pa_ncpus());
pa_log_info(_("Page size is %lu bytes"), (unsigned long) PA_PAGE_SIZE);
#ifdef HAVE_VALGRIND_MEMCHECK_H