Commit graph

17 commits

Author SHA1 Message Date
0fee4d7a7f
doc: update graph 2022-07-28 19:47:38 +07:00
7eedf9754b
all: use of unsafe pointer for ring, and adjustments
There's other adjustment/addition:
 * Function name CQE/SQE renamed to Cqe/Sqe.
 * SQ entry union sets value withput util to reduce function
   complexity, so leaving function budget for another stuff.
 * UserData has its own type, implement for uint64, uintptr,
   and unsafe.
 * TODO: decide what to use `Syscall` or `RawSyscall`.
 * Exposed `SeenCqe`.
 * Ignore *.test file extension.
 * Inline cost tool.

Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-28 19:45:51 +07:00
56090b50c8
bench/perf: use of go sched
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-07 23:31:18 +07:00
a5a0584e4d
doc: update graph
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-07 23:30:52 +07:00
25e599231f
all: use constant for sizeof, add bench test
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-07 23:23:00 +07:00
254fa28928
doc: update graph
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-07 23:21:52 +07:00
f3ba7e7189
queue: fix cqe peek batch, and improve test
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-07 23:20:18 +07:00
501014a053
bench/perf: fix sqpoll result mismatch
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-07 23:19:07 +07:00
7c0e1c4ef7
bench/perf: perf script nop sq entry
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-07 09:59:36 +07:00
cd2c4242e8
doc: add graph
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-07 09:57:32 +07:00
734c7883b8
doc: add example on readme
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-07 08:27:55 +07:00
7fa3c507b1
api: impl get sqe, wait cqe, and test
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-07 08:26:44 +07:00
aa6bf08729
setup: fix ring fd not set
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-07 08:25:45 +07:00
793e0b8cbd
queue: impl wait cqe, and tests
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-07 08:24:46 +07:00
575cae61c4
prep: add write, read prepare function
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-07 08:23:21 +07:00
5e137b98fb
all: fix IoUringCqe layout
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-07 08:22:19 +07:00
d28b913247
all: initial files
Signed-off-by: Nugraha <richiisei@gmail.com>
2022-07-05 04:52:54 +07:00