|
Ruby
2.7.2p137(2020-10-01revision5445e0435260b449decf2ac16f9d09bae3cafe72)
|
Go to the source code of this file.
Macros | |
| #define | USE_DEBUG_COUNTER 0 |
| #define | RUBY_DEBUG_COUNTER_H 1 |
| #define | RB_DEBUG_COUNTER(name) RB_DEBUG_COUNTER_##name, |
| #define | RB_DEBUG_COUNTER_INC(type) ((void)0) |
| #define | RB_DEBUG_COUNTER_INC_UNLESS(type, cond) (cond) |
| #define | RB_DEBUG_COUNTER_INC_IF(type, cond) (cond) |
Enumerations | |
| enum | rb_debug_counter_type { RB_DEBUG_COUNTER_MAX } |
Functions | |
| void | rb_debug_counter_show_results (const char *msg) |
| RUBY_SYMBOL_EXPORT_BEGIN size_t | ruby_debug_counter_get (const char **names_ptr, size_t *counters_ptr) |
| void | ruby_debug_counter_reset (void) |
| void | ruby_debug_counter_show_at_exit (int enable) |
Definition at line 349 of file debug_counter.h.
| #define RB_DEBUG_COUNTER_INC | ( | type | ) | ((void)0) |
Definition at line 375 of file debug_counter.h.
| #define RB_DEBUG_COUNTER_INC_IF | ( | type, | |
| cond | |||
| ) | (cond) |
Definition at line 377 of file debug_counter.h.
| #define RB_DEBUG_COUNTER_INC_UNLESS | ( | type, | |
| cond | |||
| ) | (cond) |
Definition at line 376 of file debug_counter.h.
| #define RUBY_DEBUG_COUNTER_H 1 |
Definition at line 342 of file debug_counter.h.
| #define USE_DEBUG_COUNTER 0 |
Definition at line 12 of file debug_counter.h.
| Enumerator | |
|---|---|
| RB_DEBUG_COUNTER_MAX | |
Definition at line 348 of file debug_counter.h.
| void rb_debug_counter_show_results | ( | const char * | msg | ) |
Definition at line 116 of file debug_counter.c.
Referenced by ruby_default_signal().
| RUBY_SYMBOL_EXPORT_BEGIN size_t ruby_debug_counter_get | ( | const char ** | names_ptr, |
| size_t * | counters_ptr | ||
| ) |
Definition at line 121 of file debug_counter.c.
| void ruby_debug_counter_reset | ( | void | ) |
Definition at line 126 of file debug_counter.c.
| void ruby_debug_counter_show_at_exit | ( | int | enable | ) |
Definition at line 131 of file debug_counter.c.