diff options
| author | Stefan Boberg <[email protected]> | 2023-12-19 12:06:13 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-12-19 12:06:13 +0100 |
| commit | 519d942d809e740a3b1fe5a1f6a57a4cfe43408b (patch) | |
| tree | 9b3c084e21bb7fd5e6bb3335e890647062d0703b /src/zenutil/include | |
| parent | added mimalloc_hooks (diff) | |
| parent | ensure we can build without trace (#619) (diff) | |
| download | zen-273-integrated-memory-tracking.tar.xz zen-273-integrated-memory-tracking.zip | |
Merge branch 'main' into 273-integrated-memory-tracking273-integrated-memory-tracking
Diffstat (limited to 'src/zenutil/include')
| -rw-r--r-- | src/zenutil/include/zenutil/cache/rpcrecording.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/zenutil/include/zenutil/cache/rpcrecording.h b/src/zenutil/include/zenutil/cache/rpcrecording.h index fd5df26ad..ab9b92dd3 100644 --- a/src/zenutil/include/zenutil/cache/rpcrecording.h +++ b/src/zenutil/include/zenutil/cache/rpcrecording.h @@ -4,6 +4,9 @@ #include <zencore/compositebuffer.h> #include <zencore/iobuffer.h> +#include <zencore/uid.h> + +#include <compare> namespace zen::cache { @@ -13,6 +16,7 @@ struct RecordedRequestInfo ZenContentType AcceptType; Oid SessionId; + inline std::strong_ordering operator<=>(const RecordedRequestInfo& Rhs) const = default; static const RecordedRequestInfo NullRequest; }; @@ -37,4 +41,6 @@ public: std::unique_ptr<cache::IRpcRequestRecorder> MakeDiskRequestRecorder(const std::filesystem::path& BasePath); std::unique_ptr<cache::IRpcRequestReplayer> MakeDiskRequestReplayer(const std::filesystem::path& BasePath, bool InMemory); +void rpcrecord_forcelink(); + } // namespace zen::cache |