mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
intel/tools: make frame and cb index base-0 in intel_measure
Better reflects original utrace data. Reviewed-by: Casey Bowman <casey.g.bowman@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37983>
This commit is contained in:
parent
3440272406
commit
5ba9776bc5
1 changed files with 3 additions and 3 deletions
|
|
@ -117,12 +117,12 @@ class Utrace_Parser:
|
|||
self.args = self.args.strip().lstrip('+')
|
||||
|
||||
if self.cl_args.verbose:
|
||||
out = [f'{begin_ts_ns:.0f}', f'{end_ts_ns:.0f}', int(frame) + 1,
|
||||
int(cmd_buf) + 1, self.renderpass, self.idx, self.func,
|
||||
out = [f'{begin_ts_ns:.0f}', f'{end_ts_ns:.0f}', int(frame),
|
||||
int(cmd_buf), self.renderpass, self.idx, self.func,
|
||||
self.count, self.vs, self.fs, self.cs,
|
||||
f'{gap_ts_us:.3f}', f'{delta_ts_us:.3f}', self.args]
|
||||
else:
|
||||
out = [int(frame) + 1, int(cmd_buf) + 1, self.renderpass, self.idx,
|
||||
out = [int(frame), int(cmd_buf), self.renderpass, self.idx,
|
||||
self.func, self.count, self.vs, self.fs, self.cs,
|
||||
f'{gap_ts_us:.3f}', f'{delta_ts_us:.3f}']
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue