Browse Source

starpu_replay: Add line number for debugging

Samuel Thibault 6 years ago
parent
commit
8445f41cf9
1 changed files with 3 additions and 0 deletions
  1. 3 0
      tools/starpu_replay.c

+ 3 - 0
tools/starpu_replay.c

@@ -548,6 +548,7 @@ int main(int argc, char **argv)
 	reset();
 
 	double start = starpu_timing_now();
+	int linenum = 0;
 
 	while(1)
 	{
@@ -587,6 +588,8 @@ int main(int argc, char **argv)
 			s_allocated *= 2;
 		}
 
+		linenum++;
+
 		if (ln == s)
 		{
 			/* Empty line, do task */