forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkstaled.h
26 lines (18 loc) · 756 Bytes
/
kstaled.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROMEOS_MEMORY_KSTALED_H_
#define CHROMEOS_MEMORY_KSTALED_H_
#include "base/feature_list.h"
#include "base/metrics/field_trial_params.h"
#include "chromeos/chromeos_export.h"
namespace chromeos {
// The Kstaled experimental feature.
extern const base::Feature kKstaled;
// The ratio parameter used for kstaled.
extern const base::FeatureParam<int> kKstaledRatio;
// InitializeKstaled will attempt to configure kstaled with the experimental
// parameters for this user.
CHROMEOS_EXPORT void InitializeKstaled();
} // namespace chromeos
#endif // CHROMEOS_MEMORY_KSTALED_H_