phacility / xhprof

XHProf is a function-level hierarchical profiler for PHP and has a simple HTML based user interface.
http://pecl.php.net/package/xhprof
Apache License 2.0
2.6k stars 925 forks source link

Fix bug #60078 (PECL) #3

Closed odoucet closed 10 years ago

odoucet commented 12 years ago

Fix bug #60078 (https://bugs.php.net/bug.php?id=60078) allow bind_to_cpu to fail (some logical CPUs will have frequency = 0) and protect code in this case (in hp_mode_sampled_init_cb to avoid division by 0)

benjamin-carl commented 12 years ago

hi @olivierd please send me this pull request to my XHProf repo (https://github.com/clickalicious/xhprof) I've merged some more features.

have a look ...

billf commented 11 years ago

this pull request seems to contain a lot more than just a bugfix for the cpu binding bug..

scottmac commented 11 years ago

Diff that we want is https://github.com/odoucet/xhprof/commit/2e74533746bf14b0bcfc9a6fae08e1bf9b4f724b.patch