sqlite memory usage, too.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3824 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2022-02-05 23:57:15 +00:00
parent 412dce0a47
commit e59eb66c1d

View File

@ -731,6 +731,8 @@ static JSValue _tf_task_getStats(JSContext* context, JSValueConst this_val, int
JS_SetPropertyStr(context, result, "rss", JS_NewInt64(context, rss));
}
JS_SetPropertyStr(context, result, "sqlite3_mem_used", JS_NewInt64(context, sqlite3_memory_used()));
if (task->_ssb)
{
tf_ssb_stats_t ssb_stats = { 0 };