{"action":"created","issue":{"url":"https://api.github.com/repos/trilinos/Trilinos/issues/4138","repository_url":"https://api.github.com/repos/trilinos/Trilinos","labels_url":"https://api.github.com/repos/trilinos/Trilinos/issues/4138/labels{/name}","comments_url":"https://api.github.com/repos/trilinos/Trilinos/issues/4138/comments","events_url":"https://api.github.com/repos/trilinos/Trilinos/issues/4138/events","html_url":"https://github.com/trilinos/Trilinos/pull/4138","id":395792197,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQyMTYyNzI4","number":4138,"title":"Stacked timer reporting","user":{"login":"rppawlo","id":2109877,"node_id":"MDQ6VXNlcjIxMDk4Nzc=","avatar_url":"https://avatars0.githubusercontent.com/u/2109877?v=4","gravatar_id":"","url":"https://api.github.com/users/rppawlo","html_url":"https://github.com/rppawlo","followers_url":"https://api.github.com/users/rppawlo/followers","following_url":"https://api.github.com/users/rppawlo/following{/other_user}","gists_url":"https://api.github.com/users/rppawlo/gists{/gist_id}","starred_url":"https://api.github.com/users/rppawlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rppawlo/subscriptions","organizations_url":"https://api.github.com/users/rppawlo/orgs","repos_url":"https://api.github.com/users/rppawlo/repos","events_url":"https://api.github.com/users/rppawlo/events{/privacy}","received_events_url":"https://api.github.com/users/rppawlo/received_events","type":"User","site_admin":false},"labels":[{"id":978422145,"node_id":"MDU6TGFiZWw5Nzg0MjIxNDU=","url":"https://api.github.com/repos/trilinos/Trilinos/labels/AT:%20AUTOMERGE","name":"AT: AUTOMERGE","color":"00cd00","default":false},{"id":287520103,"node_id":"MDU6TGFiZWwyODc1MjAxMDM=","url":"https://api.github.com/repos/trilinos/Trilinos/labels/bug","name":"bug","color":"fc2929","default":true},{"id":287520105,"node_id":"MDU6TGFiZWwyODc1MjAxMDU=","url":"https://api.github.com/repos/trilinos/Trilinos/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":318642986,"node_id":"MDU6TGFiZWwzMTg2NDI5ODY=","url":"https://api.github.com/repos/trilinos/Trilinos/labels/in%20progress","name":"in progress","color":"ededed","default":false},{"id":313561890,"node_id":"MDU6TGFiZWwzMTM1NjE4OTA=","url":"https://api.github.com/repos/trilinos/Trilinos/labels/pkg:%20Teuchos","name":"pkg: Teuchos","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"rppawlo","id":2109877,"node_id":"MDQ6VXNlcjIxMDk4Nzc=","avatar_url":"https://avatars0.githubusercontent.com/u/2109877?v=4","gravatar_id":"","url":"https://api.github.com/users/rppawlo","html_url":"https://github.com/rppawlo","followers_url":"https://api.github.com/users/rppawlo/followers","following_url":"https://api.github.com/users/rppawlo/following{/other_user}","gists_url":"https://api.github.com/users/rppawlo/gists{/gist_id}","starred_url":"https://api.github.com/users/rppawlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rppawlo/subscriptions","organizations_url":"https://api.github.com/users/rppawlo/orgs","repos_url":"https://api.github.com/users/rppawlo/repos","events_url":"https://api.github.com/users/rppawlo/events{/privacy}","received_events_url":"https://api.github.com/users/rppawlo/received_events","type":"User","site_admin":false},"assignees":[{"login":"rppawlo","id":2109877,"node_id":"MDQ6VXNlcjIxMDk4Nzc=","avatar_url":"https://avatars0.githubusercontent.com/u/2109877?v=4","gravatar_id":"","url":"https://api.github.com/users/rppawlo","html_url":"https://github.com/rppawlo","followers_url":"https://api.github.com/users/rppawlo/followers","following_url":"https://api.github.com/users/rppawlo/following{/other_user}","gists_url":"https://api.github.com/users/rppawlo/gists{/gist_id}","starred_url":"https://api.github.com/users/rppawlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rppawlo/subscriptions","organizations_url":"https://api.github.com/users/rppawlo/orgs","repos_url":"https://api.github.com/users/rppawlo/repos","events_url":"https://api.github.com/users/rppawlo/events{/privacy}","received_events_url":"https://api.github.com/users/rppawlo/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2019-01-04T02:42:43Z","updated_at":"2019-01-04T21:31:09Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/trilinos/Trilinos/pulls/4138","html_url":"https://github.com/trilinos/Trilinos/pull/4138","diff_url":"https://github.com/trilinos/Trilinos/pull/4138.diff","patch_url":"https://github.com/trilinos/Trilinos/pull/4138.patch"},"body":"Fixed two issues. Each issue is addressed in a separate commit. Might be easier to review by commit.\r\n\r\n1. Addressed #4119 - stacked timer was seg faulting when using with kokkos space_time_stack profiling tool. This has been fixed. Users can control the start of the top level timer by calling startBaseTimer() or let the StackedTimer ctor automatically start it. Default is for ctor to start it automatically for backwards compatibility. The space_time_stack will seg fault if the last timer is not stopped. This was accomplished by calling stop() on the stacked timer. This function has been renamed to be consistent with the startBaseTimer() and to better describe what it really does.\r\n\r\n1. Fixed an issue with the parallel report() function. It was not flattening the 0 level timer correctly at the end of the recursion, so the level 0 and level 1 timers were printed on the same level.\r\n"},"comment":{"url":"https://api.github.com/repos/trilinos/Trilinos/issues/comments/451574365","html_url":"https://github.com/trilinos/Trilinos/pull/4138#issuecomment-451574365","issue_url":"https://api.github.com/repos/trilinos/Trilinos/issues/4138","id":451574365,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTU3NDM2NQ==","user":{"login":"mhoemmen","id":926747,"node_id":"MDQ6VXNlcjkyNjc0Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/926747?v=4","gravatar_id":"","url":"https://api.github.com/users/mhoemmen","html_url":"https://github.com/mhoemmen","followers_url":"https://api.github.com/users/mhoemmen/followers","following_url":"https://api.github.com/users/mhoemmen/following{/other_user}","gists_url":"https://api.github.com/users/mhoemmen/gists{/gist_id}","starred_url":"https://api.github.com/users/mhoemmen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhoemmen/subscriptions","organizations_url":"https://api.github.com/users/mhoemmen/orgs","repos_url":"https://api.github.com/users/mhoemmen/repos","events_url":"https://api.github.com/users/mhoemmen/events{/privacy}","received_events_url":"https://api.github.com/users/mhoemmen/received_events","type":"User","site_admin":false},"created_at":"2019-01-04T21:31:09Z","updated_at":"2019-01-04T21:31:09Z","author_association":"CONTRIBUTOR","body":"@rppawlo You might want to add a Kokkos::finalize at the end, conditional on `Kokkos::is_initialized()`.  If we ever fix #4142, then your test won't break."}}
{"actor":{"display_login":"mhoemmen"}}