/* Bindings to the MSG hosts */
-/* Copyright (c) 2006-2020. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2006-2023. 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. */
/** Tests if a host is up and running. */
public native boolean isOn();
- /** Returns the list of mount point names on a host */
- public native Storage[] getMountedStorage();
- /** This methods returns the list of storages (names) attached to a host */
- public native String[] getAttachedStorage();
-
/** After this call, sg_host_get_consumed_energy() will not interrupt your process
* (until after the next clock update).
*/
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();
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 */
private static native void nativeInit();
static {
nativeInit();
- }
+ }
}