Mercurial > hg > orthanc-databases
diff Framework/Plugins/IndexBackend.h @ 447:5881e4af5799 pg-transactions
measure DB latency
author | Alain Mazy <am@osimis.io> |
---|---|
date | Mon, 15 Jan 2024 18:27:20 +0100 |
parents | f16faa1fdc46 |
children | f0976163dbe1 |
line wrap: on
line diff
--- a/Framework/Plugins/IndexBackend.h Mon Jan 15 15:21:43 2024 +0100 +++ b/Framework/Plugins/IndexBackend.h Mon Jan 15 18:27:20 2024 +0100 @@ -415,6 +415,10 @@ int64_t& compressedSize, int64_t& uncompressedSize) ORTHANC_OVERRIDE; + virtual bool HasMeasureLatency() ORTHANC_OVERRIDE; + + virtual uint64_t MeasureLatency(DatabaseManager& manager) ORTHANC_OVERRIDE; + /** * "maxDatabaseRetries" is to handle * "OrthancPluginErrorCode_DatabaseCannotSerialize" if there is a