sonic-pi

https://github.com/sonic-pi-net/sonic-pi

C++

Code. Music. Live.

RubyProf::CallInfo#total_time

Returns the total amount of time spent in this method and its children.

Source | Google | Stack overflow

Edit

git clone [email protected]:sonic-pi-net/sonic-pi.git

cd sonic-pi

open app/server/ruby/vendor/ruby-prof-0.15.8/ext/ruby_prof/rp_call_info.c

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-RubyProf--CallInfo-total_time-for-pr


# Commit to git

git add app/server/ruby/vendor/ruby-prof-0.15.8/ext/ruby_prof/rp_call_info.cgit commit -m "better docs for RubyProf::CallInfo#total_time"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-RubyProf--CallInfo-total_time-for-pr

hub pull-request


# Celebrate!