-/* Copyright (c) 2010-2014. The SimGrid Team.
+/* Copyright (c) 2010-2015. 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. */
#include <stdio.h>
-#include "msg/msg.h" /* Yeah! If you want to use msg, you need to include msg/msg.h */
+#include "simgrid/msg.h" /* Yeah! If you want to use msg, you need to include simgrid/msg.h */
#include "xbt/sysdep.h" /* calloc, printf */
/* Create a log channel to have nice outputs. */
int slave(int argc, char *argv[])
{
msg_task_t task;
- _XBT_GNUC_UNUSED int res;
+ XBT_ATTRIB_UNUSED int res;
int id = -1;
char mailbox[80];
double start, end;
XBT_INFO("Task \"%s\" done in %f (amount %f)"
, MSG_task_get_name(task)
, end - start
- , MSG_task_get_remaining_computation(task));
+ , MSG_task_get_flops_amount(task));
MSG_task_destroy(task);
task = NULL;
platform_file = argv[1];
application_file = argv[2];
- /* MSG_config("workstation/model","KCCFLN05"); */
{ /* Simulation setting */
MSG_create_environment(platform_file);
}