Ruby: debug_counter.c File Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Functions
debug_counter.c File Reference
`#include "debug_counter.h"`
`#include "internal.h"`
`#include <stdio.h>`
`#include <locale.h>`
`#include "ruby/thread_native.h"`

Go to the source code of this file.

## Functions
void | rb_debug_counter_show_results (const char *msg)
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)

## Function Documentation

## ◆ rb_debug_counter_show_results()

void rb_debug_counter_show_results | ( | const char * | msg | ) |

Definition at line 141 of file debug_counter.c.

Referenced by ruby_default_signal().

## ◆ ruby_debug_counter_get()

size_t ruby_debug_counter_get | ( | const char ** | names_ptr,
|  | size_t * | counters_ptr
| ) |  |

Definition at line 146 of file debug_counter.c.

## ◆ ruby_debug_counter_reset()

void ruby_debug_counter_reset | ( | void |  | ) |

Definition at line 151 of file debug_counter.c.

## ◆ ruby_debug_counter_show_at_exit()

void ruby_debug_counter_show_at_exit | ( | int | enable | ) |

Definition at line 156 of file debug_counter.c.