[tarantool-patches] [PATCH v2 0/2] lua: add fiber.top() listing fiber cpu consumption
Serge Petrenko
sergepetrenko at tarantool.org
Tue Oct 8 18:03:54 MSK 2019
The patchset adds fiber.top() functionality to lua.
The first patch is a test hang fix found during work on the issue
The second patch implements the feature itself.
https://github.com/tarantool/tarantool/issues/2694
https://github.com/tarantool/tarantool/tree/sp/gh-2694-fiber-top
Changes in v2:
- fixed unit/swim test hang in the
first patch
- refactoring in second patch
Serge Petrenko (2):
test: modify swim_run_test to break event loop
lua: add fiber.top() listing fiber cpu consumption
src/lib/core/fiber.c | 134 ++++++++++++++++++++++++++++++++++++
src/lib/core/fiber.h | 34 +++++++++
src/lua/fiber.c | 56 +++++++++++++++
test/app/fiber.result | 78 +++++++++++++++++++++
test/app/fiber.test.lua | 31 +++++++++
test/unit/swim_test_utils.c | 14 +++-
6 files changed, 346 insertions(+), 1 deletion(-)
--
2.21.0 (Apple Git-122)
More information about the Tarantool-patches
mailing list