aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchcommon/common/growstrategy.cpp
blob: 7e4c445d9229129fa7587ee1706f5af8d2a2c1fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include "growstrategy.h"
#include <iostream>

namespace search {

std::ostream&
operator<<(std::ostream& os, const GrowStrategy& grow_strategy)
{
    os << "{docsInitialCapacity=" << grow_strategy.getInitialCapacity() <<
        ", docsMinimumCapacity=" << grow_strategy.getMinimumCapacity() <<
        ", docsGrowFactor=" << grow_strategy.getGrowFactor() <<
        ", docsGrowDelta=" << grow_strategy.getGrowDelta() <<
        ", multiValueAllocGrowFactor=" << grow_strategy.getMultiValueAllocGrowFactor() <<
        "}";
    return os;
}

}