Deleted Added
full compact
22a23,27
>
> // HP-UX
> #elif defined(TUKLIB_CPUCORES_PSTAT_GETDYNAMIC)
> # include <sys/param.h>
> # include <sys/pstat.h>
37c42
< ret = (uint32_t)cpus;
---
> ret = cpus;
48c53,58
< ret = (uint32_t)cpus;
---
> ret = cpus;
>
> #elif defined(TUKLIB_CPUCORES_PSTAT_GETDYNAMIC)
> struct pst_dynamic pst;
> if (pstat_getdynamic(&pst, sizeof(pst), 1, 0) != -1)
> ret = pst.psd_proc_cnt;