X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8be7ea3f9e71cd563e91b6aba63f5c70f043fbd5..6659e698628302ff3b8663fe612044375e092fe3:/src/bindings/lua/lua_task.c diff --git a/src/bindings/lua/lua_task.c b/src/bindings/lua/lua_task.c index 8e8e1932be..89a952eea9 100644 --- a/src/bindings/lua/lua_task.c +++ b/src/bindings/lua/lua_task.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2010, 2012. The SimGrid Team. +/* Copyright (c) 2010, 2012-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -112,7 +112,7 @@ static int l_task_get_name(lua_State* L) static int l_task_get_computation_duration(lua_State* L) { msg_task_t task = sglua_check_task(L, 1); - lua_pushnumber(L, MSG_task_get_compute_duration(task)); + lua_pushnumber(L, MSG_task_get_flops_amount(task)); return 1; }