FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
tw_timer_1t_3w_1024sl_ov.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2017 Cisco and/or its affiliates.
3
* Licensed under the Apache License, Version 2.0 (the "License");
4
* you may not use this file except in compliance with the License.
5
* You may obtain a copy of the License at:
6
*
7
* http://www.apache.org/licenses/LICENSE-2.0
8
*
9
* Unless required by applicable law or agreed to in writing, software
10
* distributed under the License is distributed on an "AS IS" BASIS,
11
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
* See the License for the specific language governing permissions and
13
* limitations under the License.
14
*/
15
16
#ifndef __included_tw_timer_1t_3w_1024sl_ov_h__
17
#define __included_tw_timer_1t_3w_1024sl_ov_h__
18
19
/* ... So that a client app can create multiple wheel geometries */
20
#undef TW_TIMER_WHEELS
21
#undef TW_SLOTS_PER_RING
22
#undef TW_RING_SHIFT
23
#undef TW_RING_MASK
24
#undef TW_TIMERS_PER_OBJECT
25
#undef LOG2_TW_TIMERS_PER_OBJECT
26
#undef TW_SUFFIX
27
#undef TW_OVERFLOW_VECTOR
28
#undef TW_FAST_WHEEL_BITMAP
29
#undef TW_TIMER_ALLOW_DUPLICATE_STOP
30
#undef TW_START_STOP_TRACE_SIZE
31
32
#define TW_TIMER_WHEELS 3
33
#define TW_SLOTS_PER_RING 1024
34
#define TW_RING_SHIFT 10
35
#define TW_RING_MASK (TW_SLOTS_PER_RING -1)
36
#define TW_TIMERS_PER_OBJECT 1
37
#define LOG2_TW_TIMERS_PER_OBJECT 0
38
#define TW_SUFFIX _1t_3w_1024sl_ov
39
#define TW_OVERFLOW_VECTOR 1
40
#define TW_FAST_WHEEL_BITMAP 1
41
#define TW_TIMER_ALLOW_DUPLICATE_STOP 1
42
43
#include <
vppinfra/tw_timer_template.h
>
44
45
#endif
/* __included_tw_timer_1t_3w_1024sl_ov_h__ */
46
47
/*
48
* fd.io coding-style-patch-verification: ON
49
*
50
* Local Variables:
51
* eval: (c-set-style "gnu")
52
* End:
53
*/
tw_timer_template.h
TW timer template header file, do not compile directly.
src
vppinfra
tw_timer_1t_3w_1024sl_ov.h
Generated on Sat Jan 8 2022 10:05:50 for FD.io VPP by
1.8.17