Searched refs:n_cpus (Results 1 – 6 of 6) sorted by relevance
176 event_iocp_port_launch_(int n_cpus) in event_iocp_port_launch_() argument187 if (n_cpus <= 0) in event_iocp_port_launch_()188 n_cpus = N_CPUS_DEFAULT; in event_iocp_port_launch_()189 port->n_threads = n_cpus * 2; in event_iocp_port_launch_()195 n_cpus); in event_iocp_port_launch_()
166 struct event_iocp_port *event_iocp_port_launch_(int n_cpus);197 int event_base_start_iocp_(struct event_base *base, int n_cpus);
744 event_base_start_iocp_(struct event_base *base, int n_cpus) in event_base_start_iocp_() argument749 base->iocp = event_iocp_port_launch_(n_cpus); in event_base_start_iocp_()
28 for cluster, n_cpus in enumerate(clusters):29 for _ in range(n_cpus):32 drain /= n_cpus
704 uptr n_cpus = 0; in GetNumberOfCPUs()723 n_cpus++; in GetNumberOfCPUs()728 return n_cpus; in GetNumberOfCPUs()
313 const uint8_t n_cpus = static_cast<uint8_t>(sysconf(_SC_NPROCESSORS_CONF)); in DumpOSInformation() local349 LogAppend(n_cpus); in DumpOSInformation()