ext/ruby_prof.c
static void
prof_result_mark(prof_result_t *prof_result)
{
    VALUE threads = prof_result->threads;
    rb_gc_mark(threads);
}
/* Document-class: RubyProf::Result
The RubyProf::Result class is used to store the results of a 
profiling run.  And instace of the class is returned from
the methods RubyProf#stop and RubyProf#profile.

RubyProf::Result has one field, called threads, which is a hash
table keyed on thread ID.  For each thread id, the hash table
stores another hash table that contains profiling information
for each method called during the threads execution.  That
hash table is keyed on method name and contains
RubyProf::MethodInfo objects. */


:Result has one field, called threads, which is a hash
table keyed on thread ID.  For each thread id, the hash table
stores another hash table that contains profiling information
for each method called during the threads execution.  That
hash table is keyed on method name and contains
RubyProf::MethodInfo objects.
: Result has one field called threads which is a hash table keyed on thread ID . For each thread id the hash table stores another hash table that contains profiling information for each method called during the threads execution . That hash table is keyed on method name and contains RubyProf :: MethodInfo objects .
static void
prof_result_mark(prof_result_t *prof_result)
{
    VALUE threads = prof_result->threads;
    rb_gc_mark(threads);
}
static void prof_result_mark ( prof_result_t * prof_result ) { VALUE threads = prof_result -> threads ; rb_gc_mark ( threads ) ; }
Document-class: RubyProf::Result
The RubyProf::Result class is used to store the results of a
profiling run.
Document - class : RubyProf :: Result The RubyProf :: Result class is used to store the results of a profiling run .