summaryrefslogtreecommitdiffstats
path: root/src/core/jobs/qthreadpooler_p.h
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2016-07-04 15:51:50 +0200
committerPaul Lemire <paul.lemire@kdab.com>2016-07-17 21:29:37 +0000
commitc62bc2fe1388c580ccc83cbc28e6954027aeb002 (patch)
treef1e64e4d99e9c25eb73455c7de4bef883950cc70 /src/core/jobs/qthreadpooler_p.h
parent132d23ba1aa3a1df59ae4d49fd1842e9e50e5545 (diff)
Job Traces: add support for Submission frames
We now have worker frames for jobs and submission frames for render command submissions. Since both can happen concurrently, slightly adjusted what needed to be. Change-Id: I355bb6540090b4f569d38f4989dc9911dc381974 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/core/jobs/qthreadpooler_p.h')
-rw-r--r--src/core/jobs/qthreadpooler_p.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/jobs/qthreadpooler_p.h b/src/core/jobs/qthreadpooler_p.h
index 4b1137318..47b28e639 100644
--- a/src/core/jobs/qthreadpooler_p.h
+++ b/src/core/jobs/qthreadpooler_p.h
@@ -86,9 +86,13 @@ public:
#ifdef QT3D_JOBS_RUN_STATS
static QElapsedTimer m_jobsStatTimer;
+ // Aspects + Job threads
static void addJobLogStatsEntry(JobRunStats &stats);
- static void starNewFrameJobLogsStats();
static void writeFrameJobLogStats();
+
+ // Submission thread
+ static void addSubmissionLogStatsEntry(JobRunStats &stats);
+
#endif
private: