Sha256: 6b249d5f29d02c0dc6d1b9cc98699b3dc140a9fbca137aa41be3c99a35cf0a12

Contents?: true

Size: 875 Bytes

Versions: 2

Compression:

Stored size: 875 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
{
    VALUE running;
    VALUE paused;

    prof_measurer_t* measurer;
    VALUE threads;

    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;
    bool merge_fibers;
} prof_profile_t;

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


#endif //__RP_PROFILE_H__

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby-prof-1.1.0-x64-mingw32 ext/ruby_prof/rp_profile.h
ruby-prof-1.1.0 ext/ruby_prof/rp_profile.h