The cl-cpus Reference Manual

This is the cl-cpus Reference Manual, version 0.0.4, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 08 16:50:44 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 cl-cpus

Get number of CPUs

Maintainer

Catherine Tower <>

Author

Muyinliu Xing <>

License

ISC

Version

0.0.4

Dependency

cffi (system).

Source

cl-cpus.asd.

Child Components

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


3.1 Lisp


3.1.1 cl-cpus/cl-cpus.asd

Source

cl-cpus.asd.

Parent Component

cl-cpus (system).

ASDF Systems

cl-cpus.


3.1.2 cl-cpus/packages.lisp

Source

cl-cpus.asd.

Parent Component

cl-cpus (system).

Packages

cl-cpus.


3.1.3 cl-cpus/linux.lisp

If Feature

:linux

Dependency

packages.lisp (file).

Source

cl-cpus.asd.

Parent Component

cl-cpus (system).

Internals

3.1.4 cl-cpus/bsd.lisp

If Feature

(:or :bsd :freebsd :darwin)

Dependencies
Source

cl-cpus.asd.

Parent Component

cl-cpus (system).


3.1.5 cl-cpus/win32.lisp

If Feature

:win32

Dependencies
Source

cl-cpus.asd.

Parent Component

cl-cpus (system).


3.1.6 cl-cpus/cpus.lisp

Dependencies
Source

cl-cpus.asd.

Parent Component

cl-cpus (system).

Public Interface

get-number-of-processors (function).

Internals

calculate-ncpus (function).


4 Packages

Packages are listed by definition order.


4.1 cl-cpus

Source

packages.lisp.

Nickname

cpus

Use List

common-lisp.

Public Interface

get-number-of-processors (function).

Internals

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


5.1 Public Interface


5.1.1 Ordinary functions

Function: get-number-of-processors ()

Get CPU Threads count.

Package

cl-cpus.

Source

cpus.lisp.


5.2 Internals


5.2.1 Constants

Constant: +sc-nprocessors-onln+
Package

cl-cpus.

Source

linux.lisp.


5.2.2 Ordinary functions

Function: %calculate-ncpus ()
Package

cl-cpus.

Source

linux.lisp.

Function: calculate-ncpus ()
Package

cl-cpus.

Source

cpus.lisp.

Function: sysconf (name)
Package

cl-cpus.

Source

linux.lisp.


Appendix A Indexes


A.1 Concepts


A.3 Variables

Jump to:   +  
C  
Index Entry  Section

+
+sc-nprocessors-onln+: Private constants

C
Constant, +sc-nprocessors-onln+: Private constants