diff options
author | 2022-09-26 23:38:30 -0400 | |
---|---|---|
committer | 2022-09-26 23:38:30 -0400 | |
commit | 617adf4090fbaac3a3b2d943548eeb6516fb9bdd (patch) | |
tree | a356c89886ed03dcf0085b4075e754b5ddc3ae9b /qdeduper/sigdb_qt.cpp | |
parent | c95bd9595bdc612a78c6364ce6ca8f20ef28cd52 (diff) | |
download | deduper-617adf4090fbaac3a3b2d943548eeb6516fb9bdd.tar.xz |
Add show db engine memory usage.
Diffstat (limited to 'qdeduper/sigdb_qt.cpp')
-rw-r--r-- | qdeduper/sigdb_qt.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qdeduper/sigdb_qt.cpp b/qdeduper/sigdb_qt.cpp index 2128f8d..aff7312 100644 --- a/qdeduper/sigdb_qt.cpp +++ b/qdeduper/sigdb_qt.cpp @@ -187,3 +187,8 @@ bool SignatureDB::save(const fs::path &p) { return sdb->to_db_file(p); } + +int64_t SignatureDB::db_memory_usage() +{ + return sdb->db_memory_usage(); +} |