首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 让每个线程的用户和系统CPU时间用于java通过JNI。

让每个线程的用户和系统CPU时间用于java通过JNI。

资 源 简 介

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. Per-thread getrusage() is only available on Linux (>2.6.26) 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). View the README file for installation and usage instructions.

文 件 列 表

jnithreadcpuusage-1.0.0
rebuildautos.sh
INSTALL
install-sh
configure.in
aclocal.m4
missing
depcomp
configure
NEWS
java-src
AUTHORS
jni-src
COPYING
README
Makefile.in
config.sub
config.guess
Makefile.am
ChangeLog
ltmain.sh
VIP VIP
0.184385s