FEMU  原版 master 7e238cc
FEMU: Accurate, Scalable and Extensible NVMe SSD Emulator (FAST'18)
pqueue_t结构体 参考

#include <pqueue.h>

成员变量

size_t size
 
size_t avail
 
size_t step
 
pqueue_cmp_pri_f cmppri
 
pqueue_get_pri_f getpri
 
pqueue_set_pri_f setpri
 
pqueue_get_pos_f getpos
 
pqueue_set_pos_f setpos
 
void ** d
 

详细描述

the priority queue handle

结构体成员变量说明

◆ avail

size_t pqueue_t::avail

slots available in this queue

◆ cmppri

pqueue_cmp_pri_f pqueue_t::cmppri

callback to compare nodes

◆ d

void** pqueue_t::d

The actualy queue in binary heap form

◆ getpos

pqueue_get_pos_f pqueue_t::getpos

callback to get position of a node

◆ getpri

pqueue_get_pri_f pqueue_t::getpri

callback to get priority of a node

◆ setpos

pqueue_set_pos_f pqueue_t::setpos

callback to set position of a node

◆ setpri

pqueue_set_pri_f pqueue_t::setpri

callback to set priority of a node

◆ size

size_t pqueue_t::size

number of elements in this queue

◆ step

size_t pqueue_t::step

growth stepping setting


该结构体的文档由以下文件生成: