Skip to content
Snippets Groups Projects
Commit 2fb6d30b authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Code formatting

parent d5fce023
Branches
Tags
1 merge request!360Analyse script shows updates and sid
...@@ -681,15 +681,16 @@ int main(int argc, char *argv[]) { ...@@ -681,15 +681,16 @@ int main(int argc, char *argv[]) {
/* Open file and position at end. */ /* Open file and position at end. */
file_thread = fopen(dumpfile, "a"); file_thread = fopen(dumpfile, "a");
fprintf(file_thread, " %03i 0 0 0 0 %lli %lli %zi %zi %zi 0 0 %lli\n", myrank, fprintf(file_thread, " %03i 0 0 0 0 %lli %lli %zi %zi %zi 0 0 %lli\n",
e.tic_step, e.toc_step, e.updates, e.g_updates, myrank, e.tic_step, e.toc_step, e.updates, e.g_updates,
e.s_updates, cpufreq); e.s_updates, cpufreq);
int count = 0; int count = 0;
for (int l = 0; l < e.sched.nr_tasks; l++) { for (int l = 0; l < e.sched.nr_tasks; l++) {
if (!e.sched.tasks[l].implicit && e.sched.tasks[l].toc != 0) { if (!e.sched.tasks[l].implicit && e.sched.tasks[l].toc != 0) {
fprintf( fprintf(
file_thread, " %03i %i %i %i %i %lli %lli %i %i %i %i %i %i\n", file_thread,
myrank, e.sched.tasks[l].rid, e.sched.tasks[l].type, " %03i %i %i %i %i %lli %lli %i %i %i %i %i %i\n", myrank,
e.sched.tasks[l].rid, e.sched.tasks[l].type,
e.sched.tasks[l].subtype, (e.sched.tasks[l].cj == NULL), e.sched.tasks[l].subtype, (e.sched.tasks[l].cj == NULL),
e.sched.tasks[l].tic, e.sched.tasks[l].toc, e.sched.tasks[l].tic, e.sched.tasks[l].toc,
(e.sched.tasks[l].ci != NULL) ? e.sched.tasks[l].ci->count (e.sched.tasks[l].ci != NULL) ? e.sched.tasks[l].ci->count
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment