RSS 3 projects tagged "JNI"

No download No website Updated 01 Sep 2009 jniThreadCPUUsage

Screenshot
Pop 16.03
Vit 36.82

jniThreadCPUUsage is a Java library to get the amount of user and system CPU time used per thread. This is done via JNI, which calls getrusage() on the system. getrusage() is only available on Linux 2.6.26 or later and Solaris. One useful application of this is measuring the amount of CPU time used for a servlet request. getrusage() CPU time reporting is better than using the real time clock because it measures actual CPU time used and disregards times when the thread is idle or waiting (such as when it is waiting for network I/O).

Download Website Updated 22 Oct 2009 jniexec

Screenshot
Pop 67.11
Vit 1.74

Jniexec provides a Java class library and a Java Native Interface wrapper around the Linux (Unix) fork/exec functions. It further provides native I/O redirection and formulation of subprocess pipelines resembling Unix shell pipelines.

Download Website Updated 08 Feb 2011 usb4java

Screenshot
Pop 39.57
Vit 28.82

usb4java is a Java library for accessing USB devices. The low-level part is based on the native libusb 0.1 shared library and reflects this API as completely as possible. Java NIO buffers are used for data exchange between libusb and Java. The high-level part implements the javax.usb standard (JSR-80). Supported platforms are Linux (x86 32/64 bit), Mac OS X (x86 32/64 bit, PowerPC 32 bit) and Windows (x86 32/64 bit), but other platforms supported by Java 6 and libusb may work by compiling the JNI library manually.

Screenshot

Project Spotlight

vbackup

A modular backup utility.

Screenshot

Project Spotlight

libxmp

A mod player library.