public class WindowsUtils extends Object
Modifier and Type | Field and Description |
---|---|
static int |
NANOSECS_PER_MILLISEC |
static long |
NANOSECS_PER_SEC |
Constructor and Description |
---|
WindowsUtils() |
Modifier and Type | Method and Description |
---|---|
static long |
getNanoCounter()
Retrieve a nanosecond counter for elapsed time measurement.
|
static int |
getpid(Process process) |
static String |
lastErrorString(String defaultMsg)
Return the error string for the last error, or a default message.
|
static boolean |
writeBytes(int handle,
org.graalvm.nativeimage.c.type.CCharPointer bytes,
org.graalvm.word.UnsignedWord length)
Low-level output of bytes already in native memory.
|
public static final long NANOSECS_PER_SEC
public static final int NANOSECS_PER_MILLISEC
public static int getpid(Process process)
public static String lastErrorString(String defaultMsg)
public static boolean writeBytes(int handle, org.graalvm.nativeimage.c.type.CCharPointer bytes, org.graalvm.word.UnsignedWord length)
public static long getNanoCounter()