Sha256: ce95be46f5a39d7c9d79269641051c85ebb97500e2e9298ea14db21dccb6fa58
Contents?: true
Size: 712 Bytes
Versions: 2
Compression:
Stored size: 712 Bytes
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 __RP_THREAD__ #define __RP_THREAD__ /* Profiling information for a thread. */ typedef struct { VALUE thread_id; /* Thread id */ st_table* method_table; /* Methods called in the thread */ prof_stack_t* stack; /* Active methods */ double last_switch; /* Point of last context switch */ } thread_data_t; st_table * threads_table_create(); thread_data_t* switch_thread(void* prof, VALUE thread_id); void threads_table_free(st_table *table); #endif //__RP_THREAD__
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby-prof-0.11.0.rc1-x86-mingw32 | ext/ruby_prof/rp_thread.h |
ruby-prof-0.11.0.rc1 | ext/ruby_prof/rp_thread.h |