{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/16767","repository_url":"https://api.github.com/repos/dotnet/corefx","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/16767/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/16767/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/16767/events","html_url":"https://github.com/dotnet/corefx/issues/16767","id":212195061,"number":16767,"title":"Expose Environment.GetCurrentProcessorNumber() as a public API","user":{"login":"danmosemsft","id":6385855,"avatar_url":"https://avatars3.githubusercontent.com/u/6385855?v=4","gravatar_id":"","url":"https://api.github.com/users/danmosemsft","html_url":"https://github.com/danmosemsft","followers_url":"https://api.github.com/users/danmosemsft/followers","following_url":"https://api.github.com/users/danmosemsft/following{/other_user}","gists_url":"https://api.github.com/users/danmosemsft/gists{/gist_id}","starred_url":"https://api.github.com/users/danmosemsft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danmosemsft/subscriptions","organizations_url":"https://api.github.com/users/danmosemsft/orgs","repos_url":"https://api.github.com/users/danmosemsft/repos","events_url":"https://api.github.com/users/danmosemsft/events{/privacy}","received_events_url":"https://api.github.com/users/danmosemsft/received_events","type":"User","site_admin":false},"labels":[{"id":163655927,"url":"https://api.github.com/repos/dotnet/corefx/labels/api-approved","name":"api-approved","color":"159818","default":false},{"id":174276033,"url":"https://api.github.com/repos/dotnet/corefx/labels/area-System.Runtime","name":"area-System.Runtime","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":{"login":"jkotas","id":6668460,"avatar_url":"https://avatars2.githubusercontent.com/u/6668460?v=4","gravatar_id":"","url":"https://api.github.com/users/jkotas","html_url":"https://github.com/jkotas","followers_url":"https://api.github.com/users/jkotas/followers","following_url":"https://api.github.com/users/jkotas/following{/other_user}","gists_url":"https://api.github.com/users/jkotas/gists{/gist_id}","starred_url":"https://api.github.com/users/jkotas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkotas/subscriptions","organizations_url":"https://api.github.com/users/jkotas/orgs","repos_url":"https://api.github.com/users/jkotas/repos","events_url":"https://api.github.com/users/jkotas/events{/privacy}","received_events_url":"https://api.github.com/users/jkotas/received_events","type":"User","site_admin":false},"assignees":[{"login":"jkotas","id":6668460,"avatar_url":"https://avatars2.githubusercontent.com/u/6668460?v=4","gravatar_id":"","url":"https://api.github.com/users/jkotas","html_url":"https://github.com/jkotas","followers_url":"https://api.github.com/users/jkotas/followers","following_url":"https://api.github.com/users/jkotas/following{/other_user}","gists_url":"https://api.github.com/users/jkotas/gists{/gist_id}","starred_url":"https://api.github.com/users/jkotas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkotas/subscriptions","organizations_url":"https://api.github.com/users/jkotas/orgs","repos_url":"https://api.github.com/users/jkotas/repos","events_url":"https://api.github.com/users/jkotas/events{/privacy}","received_events_url":"https://api.github.com/users/jkotas/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/dotnet/corefx/milestones/12","html_url":"https://github.com/dotnet/corefx/milestone/12","labels_url":"https://api.github.com/repos/dotnet/corefx/milestones/12/labels","id":2323293,"number":12,"title":"2.1.0","description":".NET Core 2.1, next major release. See [official release dates](https://github.com/dotnet/core/blob/master/roadmap.md) for details.","creator":{"login":"karelz","id":5776068,"avatar_url":"https://avatars2.githubusercontent.com/u/5776068?v=4","gravatar_id":"","url":"https://api.github.com/users/karelz","html_url":"https://github.com/karelz","followers_url":"https://api.github.com/users/karelz/followers","following_url":"https://api.github.com/users/karelz/following{/other_user}","gists_url":"https://api.github.com/users/karelz/gists{/gist_id}","starred_url":"https://api.github.com/users/karelz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karelz/subscriptions","organizations_url":"https://api.github.com/users/karelz/orgs","repos_url":"https://api.github.com/users/karelz/repos","events_url":"https://api.github.com/users/karelz/events{/privacy}","received_events_url":"https://api.github.com/users/karelz/received_events","type":"User","site_admin":false},"open_issues":254,"closed_issues":5109,"state":"open","created_at":"2017-02-15T02:14:11Z","updated_at":"2018-02-28T01:31:14Z","due_on":null,"closed_at":null},"comments":50,"created_at":"2017-03-06T17:34:33Z","updated_at":"2018-02-28T01:48:16Z","closed_at":null,"author_association":"MEMBER","body":"@VSadov commented on [Thu Feb 16 2017](https://github.com/dotnet/coreclr/issues/9638)\n\nEnvironment.CurrentExecutionId seems to be a generally useful API, that can be used to correlate accesses to striped data in order to minimize unwanted cross core sharing.\r\n\r\nCurrently the best correlation option is the `CurrentManagedThreadId` which helps with continuity of accesses to the same stripe within a thread, but does not help much with preventing unwanted stripe sharing from threads running on separate cores.\r\n\r\n\r\n\n\n---\n\n@VSadov commented on [Thu Feb 16 2017](https://github.com/dotnet/coreclr/issues/9638#issuecomment-280512273)\n\nRe: https://github.com/dotnet/coreclr/blob/e5f2df239b546ac9ed2417506c90af222eaf1013/src/mscorlib/src/System/Environment.cs#L709\r\n\n\n---\n\n@jkotas commented on [Fri Feb 17 2017](https://github.com/dotnet/coreclr/issues/9638#issuecomment-280626576)\n\nAgree that it looks useful.\r\n\r\n@VSadov Process for adding new public APIs\r\nhttps://github.com/dotnet/corefx/blob/master/Documentation/project-docs/api-review-process.md\r\n\r\nClose the issue here, and open a new one in corefx with the API proposal.\n\n---\n\n@gkhanna79 commented on [Sat Mar 04 2017](https://github.com/dotnet/coreclr/issues/9638#issuecomment-284175601)\n\n@danmosemsft Can you please move this to CoreFX?\n\n"},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/369092418","html_url":"https://github.com/dotnet/corefx/issues/16767#issuecomment-369092418","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/16767","id":369092418,"user":{"login":"Drawaes","id":16406969,"avatar_url":"https://avatars2.githubusercontent.com/u/16406969?v=4","gravatar_id":"","url":"https://api.github.com/users/Drawaes","html_url":"https://github.com/Drawaes","followers_url":"https://api.github.com/users/Drawaes/followers","following_url":"https://api.github.com/users/Drawaes/following{/other_user}","gists_url":"https://api.github.com/users/Drawaes/gists{/gist_id}","starred_url":"https://api.github.com/users/Drawaes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Drawaes/subscriptions","organizations_url":"https://api.github.com/users/Drawaes/orgs","repos_url":"https://api.github.com/users/Drawaes/repos","events_url":"https://api.github.com/users/Drawaes/events{/privacy}","received_events_url":"https://api.github.com/users/Drawaes/received_events","type":"User","site_admin":false},"created_at":"2018-02-28T01:48:16Z","updated_at":"2018-02-28T01:48:16Z","author_association":"COLLABORATOR","body":"Ahh that looks better. The problem with RDTSCP I suspect is the \"timing\" aspect (not the which cpu) as it flushes the pipeline and serializes it causing a barrier... because I guess if you are timing at that level it would suck to get reordered ..."}}
{"actor":{"display_login":"Drawaes"}}