logging speedup by switching to raw record access

This commit is contained in:
Vern Paxson 2023-04-10 11:43:19 -07:00
parent f866252e5e
commit 4600ca41f6
3 changed files with 65 additions and 28 deletions

View file

@ -52,9 +52,15 @@ class HashKey;
class ValTrace;
class ZBody;
class CPPRuntime;
} // namespace detail
namespace logging
{
class Manager;
}
namespace run_state
{
@ -1403,8 +1409,10 @@ public:
static void DoneParsing();
protected:
friend class zeek::logging::Manager;
friend class zeek::detail::ValTrace;
friend class zeek::detail::ZBody;
friend class zeek::detail::CPPRuntime;
RecordValPtr DoCoerceTo(RecordTypePtr other, bool allow_orphaning) const;