Package | Description |
---|---|
org.bytedeco.javacpp |
Contains the main set of classes for JavaCPP at runtime.
|
Modifier and Type | Class and Description |
---|---|
class |
BoolPointer
The peer class to native pointers and arrays of
bool . |
class |
CLongPointer
The peer class to native pointers and arrays of
long . |
class |
SizeTPointer
The peer class to native pointers and arrays of
size_t . |
Modifier and Type | Method and Description |
---|---|
static Pointer |
Loader.addressof(String symbol)
Returns the address found under the given name in the "dynamic symbol tables" (Linux, Mac OS X, etc)
or the "export tables" (Windows) of all libraries loaded, or null if not found.
|
static long |
Pointer.availablePhysicalBytes()
Returns the amount of physical memory that is free according to the operating system, or 0 if unknown.
|
static Pointer |
Loader.getJavaVM()
Returns the JavaVM JNI object, as required by some APIs for initialization.
|
static void |
Loader.loadGlobal(String filename)
Loads all symbols from a library globally, that is
dlopen(filename, RTLD_LAZY | RTLD_GLOBAL) ,
or simply by default with LoadLibrary(filename) on Windows. |
static long |
Pointer.physicalBytes()
Returns the amount of physical memory currently used by the whole process, or 0 if unknown.
|
static int |
Loader.totalChips()
Returns the number of CPU chips installed according to the operating system, or 0 if unknown.
|
static int |
Loader.totalCores()
Returns the number of CPU cores usable according to the operating system, or 0 if unknown.
|
static long |
Pointer.totalPhysicalBytes()
Returns the amount of physical memory installed according to the operating system, or 0 if unknown.
|
static int |
Loader.totalProcessors()
Returns the number of processors configured according to the operating system, or 0 if unknown.
|
private static boolean |
Pointer.trimMemory()
Makes sure to return freed memory to the system, as required by Linux, at least.
|
Copyright © 2020. All rights reserved.