k, the workaround doesn't seem to be so quick at all... :-(
I have was looking at the logic you implemented, and needs to be enhanced substituting macros as your colleagues of the "xhprof patch" did.
I found the reference for OsX here http://developer.apple.com/mac/library/releasenotes/Performance/RN-AffinityAPI/
I tried to put in place the macros of ur colleagues, but still, I have found no equivalent for CPU_CLR
k, the workaround doesn't seem to be so quick at all... :-(
I have was looking at the logic you implemented, and needs to be enhanced substituting macros as your colleagues of the "xhprof patch" did.
I found the reference for OsX here http:// developer. apple.com/ mac/library/ releasenotes/ Performance/ RN-AffinityAPI/
I tried to put in place the macros of ur colleagues, but still, I have found no equivalent for CPU_CLR