cpu-o3: Add missing tid in Rename's debug message
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Thu, 14 Jan 2021 02:55:40 +0000 (23:55 -0300)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Thu, 14 Jan 2021 16:49:32 +0000 (16:49 +0000)
These arguments were missing.

Change-Id: I8a76e46b2bcfc57f299145954fe72196f5969f29
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/39075
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/cpu/o3/rename_impl.hh

index 007ec878b3f3f8e7650e61960c069264e512111b..68150f993936be293c392cbcf4f5749cf10c8aaa 100644 (file)
@@ -612,7 +612,8 @@ DefaultRename<Impl>::renameInsts(ThreadID tid)
 
         if (inst->isLoad()) {
             if (calcFreeLQEntries(tid) <= 0) {
-                DPRINTF(Rename, "[tid:%i] Cannot rename due to no free LQ\n");
+                DPRINTF(Rename, "[tid:%i] Cannot rename due to no free LQ\n",
+                        tid);
                 source = LQ;
                 incrFullStat(source);
                 break;
@@ -621,7 +622,8 @@ DefaultRename<Impl>::renameInsts(ThreadID tid)
 
         if (inst->isStore() || inst->isAtomic()) {
             if (calcFreeSQEntries(tid) <= 0) {
-                DPRINTF(Rename, "[tid:%i] Cannot rename due to no free SQ\n");
+                DPRINTF(Rename, "[tid:%i] Cannot rename due to no free SQ\n",
+                        tid);
                 source = SQ;
                 incrFullStat(source);
                 break;