add total calls to stats

This commit is contained in:
Lion Kortlepel
2024-03-06 10:24:25 +01:00
committed by Lion
parent 946c1362e1
commit 40533c04bc
3 changed files with 5 additions and 0 deletions

View File

@@ -860,6 +860,7 @@ TLuaEngine::StateThreadData::StateThreadData(const std::string& Name, TLuaStateI
Result[name]["min"] = stat.min;
Result[name]["max"] = stat.max;
Result[name]["n"] = stat.n;
Result[name]["total_calls"] = stat.total_calls;
}
return Result;
});