A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update copyright lines for 2022.
[simgrid.git]
/
src
/
bindings
/
java
/
org
/
simgrid
/
msg
/
Host.java
diff --git
a/src/bindings/java/org/simgrid/msg/Host.java
b/src/bindings/java/org/simgrid/msg/Host.java
index
6042b04
..
866d537
100644
(file)
--- a/
src/bindings/java/org/simgrid/msg/Host.java
+++ b/
src/bindings/java/org/simgrid/msg/Host.java
@@
-1,6
+1,6
@@
/* Bindings to the MSG hosts */
/* Bindings to the MSG hosts */
-/* Copyright (c) 2006-20
19
. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2006-20
22
. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
@@
-17,11
+17,11
@@
package org.simgrid.msg;
* platform file which describes all elements of the platform (host, link, root..).
* You cannot create a host yourself.
*
* platform file which describes all elements of the platform (host, link, root..).
* You cannot create a host yourself.
*
- * The best way to get a
n
host instance is to call the static method
+ * The best way to get a host instance is to call the static method
* Host.getByName().
*
* For example to get the instance of the host. If your platform
* Host.getByName().
*
* For example to get the instance of the host. If your platform
- * file description contains a
n
host named "Jacquelin" :
+ * file description contains a host named "Jacquelin" :
*
* \verbatim
Host jacquelin;
*
* \verbatim
Host jacquelin;
@@
-61,7
+61,7
@@
public class Host {
}
/**
}
/**
- * This static method gets a
n
host instance associated with a native
+ * This static method gets a host instance associated with a native
* host of your platform. This is the best way to get a java host object.
*
* @param name The name of the host to get.
* host of your platform. This is the best way to get a java host object.
*
* @param name The name of the host to get.
@@
-122,14
+122,9
@@
public class Host {
public native String getProperty(String name);
public native void setProperty(String name, String value);
public native String getProperty(String name);
public native void setProperty(String name, String value);
- /** Tests if a
n
host is up and running. */
+ /** Tests if a host is up and running. */
public native boolean isOn();
public native boolean isOn();
- /** Returns the list of mount point names on an host */
- public native Storage[] getMountedStorage();
- /** This methods returns the list of storages (names) attached to an host */
- public native String[] getAttachedStorage();
-
/** After this call, sg_host_get_consumed_energy() will not interrupt your process
* (until after the next clock update).
*/
/** After this call, sg_host_get_consumed_energy() will not interrupt your process
* (until after the next clock update).
*/
@@
-143,7
+138,7
@@
public class Host {
public native double getConsumedEnergy();
/** Returns the current load of the host, as a ratio = achieved_flops / (core_current_speed * core_amount)
public native double getConsumedEnergy();
/** Returns the current load of the host, as a ratio = achieved_flops / (core_current_speed * core_amount)
- *
+ *
* See simgrid::plugin::HostLoad::get_current_load() for the full documentation.
*/
public native double getCurrentLoad();
* See simgrid::plugin::HostLoad::get_current_load() for the full documentation.
*/
public native double getCurrentLoad();
@@
-151,7
+146,7
@@
public class Host {
public native double getComputedFlops();
/** Returns the average load of the host as a ratio since the beginning of the simulation*/
public native double getAvgLoad();
public native double getComputedFlops();
/** Returns the average load of the host as a ratio since the beginning of the simulation*/
public native double getAvgLoad();
-
+
/** Returns the current pstate */
public native int getPstate();
/** Changes the current pstate */
/** Returns the current pstate */
public native int getPstate();
/** Changes the current pstate */
@@
-169,5
+164,5
@@
public class Host {
private static native void nativeInit();
static {
nativeInit();
private static native void nativeInit();
static {
nativeInit();
- }
+ }
}
}