aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/ast/yql_gc_nodes.h
blob: 59c35d5a51b9e000e9e7add88110fbf22c84a0b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

#include <util/system/types.h>

namespace NYql {

struct TGcNodeSettings {
    ui64 NodeCountThreshold = 1000;
    double CollectRatio = 0.8;
};

struct TGcNodeStatistics {
    ui64 CollectCount = 0;
    ui64 TotalCollectedNodes = 0;
};

struct TGcNodeConfig {
    TGcNodeSettings Settings;
    TGcNodeStatistics Statistics;
};

}