Age | Commit message (Collapse) | Author | Files | Lines |
|
On NetBSD, HZ tick can be retrieved same as OpenBSD.
|
|
nitems is never guaranteed to be defined in sys/params.h as it is meant
to be defined within a protected ifdef __KERNEL conditional.
Use G_N_ELEMENTS from GLib which is the proper way of doing this.
Taken from GSM commit: a9972b6a45b490fd316a1a536115baca465e3ae6
From: Antoine Jacoutot <[email protected]>
|
|
The asm/param.h header is only found on Linux.
On OpenBSD, the HZ tick is not defined in any header but can be
retrieved from the running kernel using the sysctl(3) interface.
Taken from GSM commit: 94be681c159b56ad42afb13c3e18d59be4422558
From: Antoine Jacoutot <[email protected]>
|
|
Taken from GSM commit: 72546b7f3346fc0647a433529f3292050f15278f
From: Krishnan Parthasarathi <[email protected]>
Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=543347
|