timholy / IProfile.jl

Profilers for Julia
MIT License
18 stars 15 forks source link

sprofile_init arguments switched between Julia and C code #9

Closed GunnarFarneback closed 11 years ago

GunnarFarneback commented 11 years ago

The Julia code and the documentation says sprofile_init(delay, nsamples), the C code says sprofile_init(maxsize, nsec), and the ccall does not take the switch of order into account.

timholy commented 11 years ago

Fixed in 746111e495fd0d46e0599f55b4377906a1f74206