intel/perf: report query split for mdapi

Also forgotten in the initial implementation.

v2: Report begin timestamp scaled by the timestamp frequency (Windows
    behavior)

v3: Rename split to disjoint to match GL terminology (Tapani)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: <mesa-stable@lists.freedesktop.org>
Acked-by: Tapani Pälli <tapani.palli@intel.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3112>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3112>
This commit is contained in:
Lionel Landwerlin
2019-12-16 15:42:55 +02:00
parent 3bb8a4bfec
commit 44ffeb4fee
3 changed files with 18 additions and 2 deletions

View File

@@ -2372,6 +2372,12 @@ accumulate_oa_reports(struct gen_perf_context *perf_ctx,
gen_perf_query_result_accumulate(&query->oa.result,
query->queryinfo,
last, report);
} else {
/* We're not adding the delta because we've identified it's not
* for the context we filter for. We can consider that the
* query was split.
*/
query->oa.result.query_disjoint = true;
}
last = report;