Closed odoucet closed 10 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 ...
this pull request seems to contain a lot more than just a bugfix for the cpu binding bug..
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)