Sha256: 48f9ea2e51d444ab9eac647341b01b48db9d5379e50563c8958ef4d3ab679eda

Contents?: true

Size: 829 Bytes

Versions: 4

Compression:

Stored size: 829 Bytes

Contents

/* Copyright (C) 2005-2019 Shugo Maeda <shugo@ruby-lang.org> and Charlie Savage <cfis@savagexi.com>
   Please see the LICENSE file for copyright and distribution information */

#ifndef __RP_PROFILE_H__
#define __RP_PROFILE_H__

#include "ruby_prof.h"
#include "rp_measurement.h"
#include "rp_thread.h"

extern VALUE cProfile;

typedef struct prof_profile_t
{
    VALUE object;
    VALUE running;
    VALUE paused;

    prof_measurer_t* measurer;

    VALUE tracepoints;

    st_table* threads_tbl;
    st_table* exclude_threads_tbl;
    st_table* include_threads_tbl;
    st_table* exclude_methods_tbl;
    thread_data_t* last_thread_data;
    double measurement_at_pause_resume;
    bool allow_exceptions;
} prof_profile_t;

void rp_init_profile(void);
prof_profile_t* prof_get_profile(VALUE self);


#endif //__RP_PROFILE_H__

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby-prof-1.7.1-x64-mingw-ucrt ext/ruby_prof/rp_profile.h
ruby-prof-1.7.1 ext/ruby_prof/rp_profile.h
ruby-prof-1.7.0-x64-mingw-ucrt ext/ruby_prof/rp_profile.h
ruby-prof-1.7.0 ext/ruby_prof/rp_profile.h