Open CAS Framework
Open source framework of Cache Acceleration Software
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
acp.h
Go to the documentation of this file.
1 /*
2  * Copyright(c) 2012-2020 Intel Corporation
3  * SPDX-License-Identifier: BSD-3-Clause-Clear
4  */
5 #ifndef __OCF_CLEANING_ACP_H__
6 #define __OCF_CLEANING_ACP_H__
7 
13 enum ocf_cleaning_acp_parameters {
14  ocf_acp_wake_up_time,
15  ocf_acp_flush_max_buffers,
16 };
17 
28 #define OCF_ACP_MIN_WAKE_UP 0
29 
30 #define OCF_ACP_MAX_WAKE_UP 10000
31 
32 #define OCF_ACP_DEFAULT_WAKE_UP 10
33 
39 #define OCF_ACP_MIN_FLUSH_MAX_BUFFERS 1
40 
41 #define OCF_ACP_MAX_FLUSH_MAX_BUFFERS 10000
42 
43 #define OCF_ACP_DEFAULT_FLUSH_MAX_BUFFERS 128
44 
49 #endif /* __OCF_CLEANING_ACP_H__ */