Sha256: 8d013eaace8453e7ba87297f87ff9aa076bfe228c497a8f23fe2574444d164d7
Contents?: true
Size: 1.28 KB
Versions: 2
Compression:
Stored size: 1.28 KB
Contents
/* Copyright (C) 2005-2011 Shugo Maeda <shugo@ruby-lang.org> and Charlie Savage <cfis@savagexi.com> Please see the LICENSE file for copyright and distribution information */ #ifndef __RUBY_PROF_H__ #define __RUBY_PROF_H__ #include <stdio.h> #include <ruby.h> #if RUBY_VERSION == 186 # error 1.8.6 is not supported. Please upgrade to 1.8.7 or 1.9.2 or higher. #endif #if RUBY_VERSION == 190 # error 1.9.0 is not supported. Please upgrade to 1.9.2 or higher. #endif #if RUBY_VERSION == 191 # error 1.9.1 is not supported. Please upgrade to 1.9.2 or higher. #endif #ifndef RUBY_VM #include <node.h> typedef rb_event_t rb_event_flag_t; #define rb_sourcefile() (node ? node->nd_file : 0) #define rb_sourceline() (node ? nd_line(node) : 0) #endif #include "version.h" #include "rp_measure.h" #include "rp_method.h" #include "rp_call_info.h" #include "rp_stack.h" #include "rp_thread.h" extern VALUE mProf; extern VALUE cProfile; void method_key(prof_method_key_t* key, VALUE klass, ID mid); typedef struct { VALUE running; prof_measurer_t* measurer; double measurement; VALUE threads; st_table* threads_tbl; st_table* exclude_threads_tbl; thread_data_t* last_thread_data; } prof_profile_t; #endif //__RUBY_PROF_H__
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby-prof-0.11.0.rc1-x86-mingw32 | ext/ruby_prof/ruby_prof.h |
ruby-prof-0.11.0.rc1 | ext/ruby_prof/ruby_prof.h |