summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTomer Tayar <ttayar@habana.ai>2020-01-05 15:11:22 +0000
committerOded Gabbay <oded.gabbay@gmail.com>2020-03-24 10:54:16 +0200
commit1718a45b284d274ebb57ee3998bd535fb9d6c03b (patch)
tree2ceac1c7baec10f8ca5425e39c7064f882227375 /tools/perf/scripts/python/export-to-postgresql.py
parentf3a838c0c72ca09dd153ff29096410ea220660f6 (diff)
habanalabs: Avoid running restore chunks if no execute chunks
CS with no chunks for execute phase is invalid, so its context_switch/restore phase should not be run. Hence, move the check of the execute chunks number to the beginning of hl_cs_ioctl(). Signed-off-by: Tomer Tayar <ttayar@habana.ai> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions