yql_gc_nodes.h 345 B

12345678910111213141516171819202122
  1. #pragma once
  2. #include <util/system/types.h>
  3. namespace NYql {
  4. struct TGcNodeSettings {
  5. ui64 NodeCountThreshold = 1000;
  6. double CollectRatio = 0.8;
  7. };
  8. struct TGcNodeStatistics {
  9. ui64 CollectCount = 0;
  10. ui64 TotalCollectedNodes = 0;
  11. };
  12. struct TGcNodeConfig {
  13. TGcNodeSettings Settings;
  14. TGcNodeStatistics Statistics;
  15. };
  16. }