Function report |
Source Code:include\linux\ptr_ring.h |
Create Date:2022-07-28 13:23:10 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__ptr_ring_set_size
Proto:static inline void __ptr_ring_set_size(struct ptr_ring *r, int size)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct ptr_ring * | r | |
int | size |
476 | number of entries to consume in a batch = SMP_CACHE_BYTES * 2 / size of *queue |
482 | If number of entries to consume in a batch > Read-only by both the producer and the consumer / 2 || Not number of entries to consume in a batch Then number of entries to consume in a batch = 1 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |