]> git.cworth.org Git - apitrace/blobdiff - gui/profiletablemodel.h
Improve internal format of profile results.
[apitrace] / gui / profiletablemodel.h
index 6cca74d9324958fd8c3a5f336c4b1fa4d1b94e3b..dc08ba0ec2b390850b302c207582f9596e6d55a5 100644 (file)
@@ -24,9 +24,9 @@ struct ProfileTableRow
     qulonglong cpuTime;
     qulonglong pixels;
 
-    const trace::Profile::DrawCall* longestGpu;
-    const trace::Profile::DrawCall* longestCpu;
-    const trace::Profile::DrawCall* longestPixel;
+    const trace::Profile::Call* longestGpu;
+    const trace::Profile::Call* longestCpu;
+    const trace::Profile::Call* longestPixel;
 };
 
 class ProfileTableModel : public QAbstractTableModel
@@ -39,7 +39,7 @@ public:
     void setProfile(trace::Profile* profile);
     void setTimeSelection(int64_t start, int64_t end);
 
-    const trace::Profile::DrawCall* getJumpCall(const QModelIndex & index) const;
+    const trace::Profile::Call* getJumpCall(const QModelIndex & index) const;
 
     virtual int rowCount(const QModelIndex & parent) const;
     virtual int columnCount(const QModelIndex & parent) const;