summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7e71fb2)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7154
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
16 files changed:
- * $Id$
- *
- * Copyright 2006,2007 Martin Quinson, Malek Cherier
- * All rights reserved.
+ * Copyright 2006,2007,2010. 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.
* which also contains such a launcher
*/
* which also contains such a launcher
*/
- public static void main(String[] args) throws JniException, NativeException {
+ public static void main(String[] args) throws NativeException {
/* initialize the MSG simulation. Must be done before anything else (even logging). */
Msg.init(args);
/* initialize the MSG simulation. Must be done before anything else (even logging). */
Msg.init(args);
- * $Id: CommTimeTask.java 3685 2007-07-08 21:02:03Z mquinson $
- *
- * Copyright 2006,2007 Martin Quinson, Malek Cherier
- * All rights reserved.
+ * Copyright 2006,2007,2010. 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.
-public class FinalizeTask extends Task {
-
- public FinalizeTask() throws JniException, NativeException{
+public class FinalizeTask extends Task {
+ public FinalizeTask() {
super("finalize",0,0);
}
}
super("finalize",0,0);
}
}
- * $Id$
- *
- * Copyright 2006,2007,2010 The SimGrid Team
- * All rights reserved.
+ * Copyright 2006,2007,2010. 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.
public class Forwarder extends simgrid.msg.Process {
public class Forwarder extends simgrid.msg.Process {
- public void main(String[] args) throws JniException, NativeException {
+ public void main(String[] args) throws NativeException {
if (args.length < 3) {
Msg.info("Forwarder needs 3 arguments (input mailbox, first output mailbox, last one)");
Msg.info("Got "+args.length+" instead");
if (args.length < 3) {
Msg.info("Forwarder needs 3 arguments (input mailbox, first output mailbox, last one)");
Msg.info("Got "+args.length+" instead");
import simgrid.msg.*;
public class Master extends simgrid.msg.Process {
import simgrid.msg.*;
public class Master extends simgrid.msg.Process {
- public void main(String[] args) throws JniException, NativeException {
+ public void main(String[] args) throws NativeException {
if (args.length < 4) {
Msg.info("Master needs 4 arguments");
System.exit(1);
if (args.length < 4) {
Msg.info("Master needs 4 arguments");
System.exit(1);
- * $Id$
- *
- * Copyright 2006,2007 Martin Quinson, Malek Cherier
- * All rights reserved.
+ * Copyright 2006,2007,2010. 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.
import simgrid.msg.*;
public class Slave extends simgrid.msg.Process {
import simgrid.msg.*;
public class Slave extends simgrid.msg.Process {
- public void main(String[] args) throws JniException, NativeException {
+ public void main(String[] args) throws NativeException {
if (args.length < 1) {
Msg.info("Slave needs 1 argument (its number)");
System.exit(1);
if (args.length < 1) {
Msg.info("Slave needs 1 argument (its number)");
System.exit(1);
* Copyright 2006,2007,2010 The SimGrid Team. All right reserved.
*
* This program is free software; you can redistribute it and/or modify it
* Copyright 2006,2007,2010 The SimGrid Team. All right reserved.
*
* This program is free software; you can redistribute it and/or modify it
* which also contains such a launcher
*/
* which also contains such a launcher
*/
- public static void main(String[] args) throws JniException, NativeException {
+ public static void main(String[] args) throws NativeException {
/* initialize the MSG simulation. Must be done before anything else (even logging). */
Msg.init(args);
/* initialize the MSG simulation. Must be done before anything else (even logging). */
Msg.init(args);
- * $Id: CommTimeTask.java 3685 2007-07-08 21:02:03Z mquinson $
- *
- * Copyright 2006,2007 Martin Quinson, Malek Cherier
- * All rights reserved.
+ * Copyright 2006,2007,2010. 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.
-public class FinalizeTask extends Task {
-
- public FinalizeTask() throws JniException, NativeException{
+public class FinalizeTask extends Task {
+ public FinalizeTask() {
import simgrid.msg.*;
public class Master extends simgrid.msg.Process {
import simgrid.msg.*;
public class Master extends simgrid.msg.Process {
- public void main(String[] args) throws JniException, NativeException {
+ public void main(String[] args) throws NativeException {
if (args.length < 4) {
Msg.info("Master needs 4 arguments");
System.exit(1);
if (args.length < 4) {
Msg.info("Master needs 4 arguments");
System.exit(1);
- * $Id$
- *
- * Copyright 2006,2007 Martin Quinson, Malek Cherier
- * All rights reserved.
+ * Copyright 2006,2007,2010. 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.
import simgrid.msg.*;
public class Slave extends simgrid.msg.Process {
import simgrid.msg.*;
public class Slave extends simgrid.msg.Process {
- public void main(String[] args) throws JniException, NativeException {
+ public void main(String[] args) throws NativeException {
if (args.length < 1) {
Msg.info("Slave needs 1 argument (its number)");
System.exit(1);
if (args.length < 1) {
Msg.info("Slave needs 1 argument (its number)");
System.exit(1);
- * $Id$
- *
- * Copyright 2006,2007 Martin Quinson, Malek Cherier
- * All rights reserved.
+ * Copyright 2006,2007,2010. 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.
- public PingPongTask() throws JniException, NativeException {
+ public PingPongTask() throws NativeException {
- public PingPongTask(String name, double computeDuration, double messageSize) throws JniException, NativeException {
+ public PingPongTask(String name, double computeDuration, double messageSize) throws NativeException {
super(name,computeDuration,messageSize);
}
super(name,computeDuration,messageSize);
}
* which also contains such a launcher
*/
* which also contains such a launcher
*/
- public static void main(String[] args) throws JniException, NativeException {
+ public static void main(String[] args) throws NativeException {
/* initialize the MSG simulation. Must be done before anything else (even logging). */
Msg.init(args);
/* initialize the MSG simulation. Must be done before anything else (even logging). */
Msg.init(args);
final double commSizeLat = 1;
final double commSizeBw = 100000000;
final double commSizeLat = 1;
final double commSizeBw = 100000000;
- public void main(String[] args) throws JniException, NativeException {
+ public void main(String[] args) throws NativeException {
Msg.info("hello!");
double communicationTime=0;
Msg.info("hello!");
double communicationTime=0;
private final double commSizeLat = 1;
final double commSizeBw = 100000000;
private final double commSizeLat = 1;
final double commSizeBw = 100000000;
- public void main(String[] args) throws JniException, NativeException {
+ public void main(String[] args) throws NativeException {
public class DreamMaster extends simgrid.msg.Process {
public class DreamMaster extends simgrid.msg.Process {
- public void main(String[] args) throws JniException, NativeException {
+ public void main(String[] args) throws NativeException {
Msg.info("Hello !");
Msg.info("Let's create a lazy guy.");
Msg.info("Hello !");
Msg.info("Let's create a lazy guy.");
* Copyright 2006,2007,2010. The SimGrid Team. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* Copyright 2006,2007,2010. The SimGrid Team. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
- public LazyGuy(Host host,String name)
- throws NullPointerException, HostNotFoundException, JniException, NativeException
+ public LazyGuy(Host host,String name) throws HostNotFoundException, NativeException
{
super(host,name,null);
}
{
super(host,name,null);
}
- public void main(String[] args) throws JniException, NativeException {
+ public void main(String[] args) throws NativeException {
Msg.info("Hello !");
Msg.info("Nobody's watching me ? Let's go to sleep.");
Msg.info("Hello !");
Msg.info("Nobody's watching me ? Let's go to sleep.");
public class SuspendTest {
public class SuspendTest {
- public static void main(String[] args) throws JniException, NativeException {
+ public static void main(String[] args) throws NativeException {
/* initialize the MSG simulation. Must be done before anything else (even logging). */
Msg.init(args);
/* initialize the MSG simulation. Must be done before anything else (even logging). */
Msg.init(args);