diff options
author | Nicolai Hähnle <[email protected]> | 2017-10-22 17:39:05 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2017-11-09 14:01:04 +0100 |
commit | 1a6d9e087a2171ae4d0f2ac2697ba4042fbad4c1 (patch) | |
tree | f8d3571be0645d3e66d8efbe5d2f1e5f6969146b /src/gallium/drivers/radeonsi/si_debug.c | |
parent | b07569ad8b7bbe6ea33c984013a2f2607cd7ddaf (diff) |
radeonsi: record and dump time of flush
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_debug.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_debug.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_debug.c b/src/gallium/drivers/radeonsi/si_debug.c index 88fa11acda5..447b4ef8e98 100644 --- a/src/gallium/drivers/radeonsi/si_debug.c +++ b/src/gallium/drivers/radeonsi/si_debug.c @@ -27,6 +27,7 @@ #include "gfx9d.h" #include "sid_tables.h" #include "ddebug/dd_util.h" +#include "util/u_dump.h" #include "util/u_log.h" #include "util/u_memory.h" #include "ac_debug.h" @@ -373,7 +374,9 @@ static void si_log_chunk_type_cs_print(void *data, FILE *f) } if (chunk->dump_bo_list) { - fprintf(f, "Flushing.\n\n"); + fprintf(f, "Flushing. Time: "); + util_dump_ns(f, scs->time_flush); + fprintf(f, "\n\n"); si_dump_bo_list(ctx, &scs->gfx, f); } } |