Commit 5c973841 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Report the task/cell and link/tasks values

parent f1743fa3
......@@ -3397,6 +3397,12 @@ void engine_maketasks(struct engine *e) {
e->nr_links, e->size_links, (float)e->nr_links / (float)e->size_links,
e->size_links * sizeof(struct link) / (1024 * 1024));
/* Report the values that could have been used */
if (e->verbose)
message("Actual usage: tasks/cell: %f links/task: %f",
(float)e->sched.nr_tasks / s->tot_cells,
(float)e->nr_links / e->sched.nr_tasks);
tic2 = getticks();
/* Set the unlocks per task. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment