Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

ResourceSet.java

Go to the documentation of this file.
00001 /*
00002  * ResourceSet.java
00003  *
00004  * Copyright (c) 2003 The University of Utah and the Flux Group.
00005  * All rights reserved.
00006  *
00007  * This file is licensed under the terms of the GNU Public License.  
00008  * See the file "license.terms" for restrictions on redistribution 
00009  * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
00010  */
00011 
00012 /**
00013  * @file ResourceSet.java
00014  *
00015  * Java interface to some TimeSys RK functions.
00016  */
00017 
00018 package rk;
00019 
00020 /**
00021  * Native class used to interact with TimeSys resource sets.
00022  */
00023 public class ResourceSet
00024 {
00025     /**
00026      * Load the RKUtils native library.
00027      */
00028     static {
00029         System.loadLibrary("RKUtils");
00030     }
00031 
00032     /**
00033      * @return The total CPU usage for the resource set that contains this
00034      * process.
00035      */
00036     public synchronized static native long getUsage();
00037 }

Generated on Mon Dec 1 16:29:06 2003 for CPU Broker by doxygen 1.3.4