Skip to content

Commit 02d4643

Browse files
committed
Introduce IO_Event_Selector_loop_resume/yield and introduce Profiler.
1 parent 1ac71e1 commit 02d4643

File tree

12 files changed

+357
-360
lines changed

12 files changed

+357
-360
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@
1010
/ext/**/*.o
1111
/ext/**/*.so
1212
/ext/**/*.bundle
13+
/ext/**/*.dSYM
1314

1415
/benchmark/server/compiled

ext/extconf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
$CFLAGS << " -DRUBY_DEBUG -O0"
2323
end
2424

25-
$srcs = ["io/event/event.c", "io/event/selector/selector.c", "io/event/time.c", "io/event/profile.c"]
25+
$srcs = ["io/event/event.c", "io/event/selector/selector.c", "io/event/time.c", "io/event/profiler.c"]
2626
$VPATH << "$(srcdir)/io/event"
2727
$VPATH << "$(srcdir)/io/event/selector"
2828

ext/io/event/event.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Copyright, 2021-2025, by Samuel Williams.
33

44
#include "event.h"
5-
#include "profile.h"
5+
#include "profiler.h"
66
#include "selector/selector.h"
77

88
void Init_IO_Event(void)
@@ -13,7 +13,7 @@ void Init_IO_Event(void)
1313

1414
VALUE IO_Event = rb_define_module_under(rb_cIO, "Event");
1515

16-
Init_IO_Event_Profile(IO_Event);
16+
Init_IO_Event_Profiler(IO_Event);
1717

1818
VALUE IO_Event_Selector = rb_define_module_under(IO_Event, "Selector");
1919
Init_IO_Event_Selector(IO_Event_Selector);

ext/io/event/profile.c

Lines changed: 0 additions & 245 deletions
This file was deleted.

ext/io/event/profile.h

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)