# Thread safe profiler

**URL:** <https://www.ruby-forum.com/t/thread-safe-profiler/147622>\
**Category:** Development\
**Created:** [September 3, 2008, 6:08pm UTC](https://www.ruby-forum.com/t/thread-safe-profiler/147622 "2008-09-03T18:08:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [September 3, 2008, 6:08pm UTC](https://www.ruby-forum.com/t/thread-safe-profiler/147622/1 "2008-09-03T18:08:56Z")

</div>

e$B$1$$$8$e!w$$$7$D$+$G$9e(B.

profiler.rb e$B$G$9$,e(B, thread safe e$B$G$O$"$j$^$;$se(B.  
e$B$=$l$Ge(B, thread safe e$B$K$9$k$K$Oe(B, thread e$BC10L$Ge(B cpu time  
e$B$,\<h$l$l$P=PMh$=$&$G$9e(B.

pthread(e$B$H$$$&$+e(Blinux?) e$B$@$He(B, threade$BC10L$Ge(B cpu time  
e$B$,\<h$l$k$\_$?$$$J$Ne(B  
e$B$Ge(B, Thread.times e$B:n$j$^$;$se(B?

\_\_  
----------------------------------------------------\>\> e$B@PDMe(B  
e$B7=\<ye(B \<\<—  
----------------------------------\>\> e-mail: removed\_email\_address@domain.invalid \<\<—
