Skip to content

Commit

Permalink
new memory leak check feature.
Browse files Browse the repository at this point in the history
  • Loading branch information
sindney committed Jun 18, 2021
1 parent ab9b03c commit ab730e2
Show file tree
Hide file tree
Showing 3 changed files with 260 additions and 143 deletions.
8 changes: 6 additions & 2 deletions include/mainwindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,14 @@ class MainWindow : public QMainWindow {
QString TryAddNewAddress(const QString& lib, quint64 addr);
void ShowCallStack(const QModelIndex& index);
void ShowSummary();
void ShowMergedCallstacks(QList<QTreeWidgetItem*>& topLevelItems, std::function<void(class QTreeWidget*)> widgetCallback = nullptr);
void ShowMergedCallstacksInTreeMap(QList<QTreeWidgetItem*>& topLevelItems);
StackTraceModel* GetCurrentModelChecked();
void FilterStackTraceModel();
void FilterStackTraceModel(StackTraceModel* filteredModel, double minTime, double maxTime);
void SwitchStackTraceModel(StackTraceProxyModel* model);
void ReadSMapsFile(QFile* file);
void GetMergedCallstacks(QList<QTreeWidgetItem*>& topLevelItems);
QHash<uint, class CustomTreeWidgetItem*> GetMergedCallstacks(StackTraceModel* model, QList<QTreeWidgetItem*>& topLevelItems);
void ResetFilters();
void PushEmptySMapsFile();

Expand Down Expand Up @@ -106,7 +110,7 @@ private slots:
void on_actionStat_SMaps_triggered();
void on_actionVisualize_SMaps_triggered();
void on_actionShow_Merged_Callstacks_triggered();
void on_actionShow_Callstacks_In_TreeMap_triggered();
void on_actionShow_Leaks_triggered();
void on_actionAbout_triggered();
void on_launchPushButton_clicked();
void on_chartScaleHSlider_valueChanged(int value);
Expand Down
Loading

0 comments on commit ab730e2

Please sign in to comment.