Top Description Inners Constructors Methods
org.lwjgl.util.hwloc

public Class HWLocLinux

extends Object
Class Inheritance
Imports
java.nio.*, org.lwjgl.system.*

Linux-specific helpers.

This includes helpers for manipulating Linux kernel cpumap files, and hwloc equivalents of the Linux sched_setaffinity and sched_getaffinity system calls.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
HWLocLinux.Functions

Contains the function pointers loaded from HWLoc.getLibrary().

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static int
hwloc_linux_get_tid_cpubind(long topology, int tid, long set)

public static int
hwloc_linux_get_tid_last_cpu_location(long topology, int tid, long set)

public static int
public static int
public static int
hwloc_linux_set_tid_cpubind(long topology, int tid, long set)

public static int
nhwloc_linux_read_path_as_cpumask(long path, long set)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

HWLocLinuxback to summary
protected HWLocLinux()

Method Detail

hwloc_linux_get_tid_cpubindback to summary
public static int hwloc_linux_get_tid_cpubind(long topology, int tid, long set)
hwloc_linux_get_tid_last_cpu_locationback to summary
public static int hwloc_linux_get_tid_last_cpu_location(long topology, int tid, long set)
hwloc_linux_read_path_as_cpumaskback to summary
public static int hwloc_linux_read_path_as_cpumask(ByteBuffer path, long set)
hwloc_linux_read_path_as_cpumaskback to summary
public static int hwloc_linux_read_path_as_cpumask(CharSequence path, long set)
hwloc_linux_set_tid_cpubindback to summary
public static int hwloc_linux_set_tid_cpubind(long topology, int tid, long set)
nhwloc_linux_read_path_as_cpumaskback to summary
public static int nhwloc_linux_read_path_as_cpumask(long path, long set)
org.lwjgl.util.hwloc back to summary

public final Class HWLocLinux.Functions

extends Object
Class Inheritance

Contains the function pointers loaded from HWLoc.getLibrary().

Field Summary

Modifier and TypeField and Description
public static final long
linux_get_tid_cpubind

Function address.

public static final long
public static final long
linux_read_path_as_cpumask

Function address.

public static final long
linux_set_tid_cpubind

Function address.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

linux_get_tid_cpubindback to summary
public static final long linux_get_tid_cpubind

Function address.

linux_get_tid_last_cpu_locationback to summary
public static final long linux_get_tid_last_cpu_location

Function address.

linux_read_path_as_cpumaskback to summary
public static final long linux_read_path_as_cpumask

Function address.

linux_set_tid_cpubindback to summary
public static final long linux_set_tid_cpubind

Function address.

Constructor Detail

Functionsback to summary
private Functions()