[rocprofiler-systems] Improve rocpd writing speed (#2061)

Цей коміт міститься в:
Milan Radosavljevic
2025-12-03 13:11:15 +01:00
зафіксовано GitHub
джерело 09fbf08b40
коміт 09a9f9e31d
5 змінених файлів з 27 додано та 22 видалено
+1 -3
Переглянути файл
@@ -34,7 +34,6 @@ namespace rocpd
{
namespace data_storage
{
static std::mutex _mutex;
class database
{
public:
@@ -182,8 +181,7 @@ public:
std::shared_ptr<sqlite3_stmt> stmt{ p_stmt, sqlite3_finalize };
return [stmt, query, this](Values... value) {
std::lock_guard lock{ _mutex };
int position = 1;
int position = 1;
((bind_value(stmt.get(), position++, value, query)), ...);