{"action":"closed","number":471,"pull_request":{"url":"https://api.github.com/repos/TRIQS/triqs/pulls/471","id":138416324,"html_url":"https://github.com/TRIQS/triqs/pull/471","diff_url":"https://github.com/TRIQS/triqs/pull/471.diff","patch_url":"https://github.com/TRIQS/triqs/pull/471.patch","issue_url":"https://api.github.com/repos/TRIQS/triqs/issues/471","number":471,"state":"closed","locked":false,"title":"[mc] measurement & warmup timers","user":{"login":"HugoStrand","id":1188035,"avatar_url":"https://avatars2.githubusercontent.com/u/1188035?v=4","gravatar_id":"","url":"https://api.github.com/users/HugoStrand","html_url":"https://github.com/HugoStrand","followers_url":"https://api.github.com/users/HugoStrand/followers","following_url":"https://api.github.com/users/HugoStrand/following{/other_user}","gists_url":"https://api.github.com/users/HugoStrand/gists{/gist_id}","starred_url":"https://api.github.com/users/HugoStrand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HugoStrand/subscriptions","organizations_url":"https://api.github.com/users/HugoStrand/orgs","repos_url":"https://api.github.com/users/HugoStrand/repos","events_url":"https://api.github.com/users/HugoStrand/events{/privacy}","received_events_url":"https://api.github.com/users/HugoStrand/received_events","type":"User","site_admin":false},"body":"Here is an updated pullrequest.\r\n\r\nThis is a fix for issue #334 adding two separate timers for warmup and accumulation, and separate timers for the measurements. This is particularly useful for monitoring the two-particle measurements that dominate the accumulation.\r\n\r\nI have also added timestamps to the percentage printout and an \"estimated time of arrival\" (ETA) giving output like:\r\n\r\n```\r\nWelcome to the CTHYB solver\r\n\r\n╔╦╗╦═╗╦╔═╗ ╔═╗  ┌─┐┌┬┐┬ ┬┬ ┬┌┐ \r\n ║ ╠╦╝║║═╬╗╚═╗  │   │ ├─┤└┬┘├┴┐\r\n ╩ ╩╚═╩╚═╝╚╚═╝  └─┘ ┴ ┴ ┴ ┴ └─┘\r\n\r\nThe local Hamiltonian of the problem:\r\n-2*c_dag('down',0)*c('down',0) + -2*c_dag('up',0)*c('up',0)\r\nUsing autopartition algorithm to partition the local Hilbert space\r\nFound 4 subspaces.\r\n\r\nWarming up ...\r\n12:13:43  21% ETA 00:00:01 n_cycles, NC = 1000, 216\r\n\r\nAccumulating ...\r\n12:13:43   0% ETA 00:00:13 n_cycles, NC = 500, 4\r\n12:13:45  31% ETA 00:00:05 n_cycles, NC = 500, 156\r\n12:13:48  71% ETA 00:00:02 n_cycles, NC = 500, 355\r\n\r\n\r\n[Rank 0] Timings for all measures:\r\nMeasure                                           | seconds   \r\nAverage sign                                      | 0.000159321\r\nG2_iw fermionic measurement                       | 0.0724332 \r\nG2_iw_ph particle-hole measurement                | 0.305697  \r\nG2_iw_pp particle-particle measurement            | 0.303132  \r\nG2_iwll_pp Legendre particle-particle measurement | 5.34491   \r\nG2_tau imaginary-time measurement                 | 0.0387911 \r\nG_tau measure                                     | 0.000896209\r\nTotal measure time                                | 6.06601   \r\n[Rank 0] Acceptance rate for all moves:\r\nMove set Insert two operators: 0.108525\r\n  Move  Insert Delta_down: 0.106569\r\n  Move  Insert Delta_up: 0.110488\r\nMove set Remove two operators: 0.107223\r\n  Move  Remove Delta_down: 0.106303\r\n  Move  Remove Delta_up: 0.108126\r\nMove  Shift one operator: 0.681289\r\n[Rank 0] Warmup lasted: 0.407273 seconds [00:00:01]\r\n[Rank 0] Simulation lasted: 6.27942 seconds [00:00:07]\r\n[Rank 0] Number of measures: 500\r\nTotal number of measures: 500\r\nAverage sign: 1\r\n```","created_at":"2017-08-30T12:46:26Z","updated_at":"2017-10-19T18:20:16Z","closed_at":"2017-10-19T18:20:15Z","merged_at":"2017-10-19T18:20:15Z","merge_commit_sha":"484387676493160e12ef3b03b604feda78441515","assignee":{"login":"parcollet","id":1014945,"avatar_url":"https://avatars3.githubusercontent.com/u/1014945?v=4","gravatar_id":"","url":"https://api.github.com/users/parcollet","html_url":"https://github.com/parcollet","followers_url":"https://api.github.com/users/parcollet/followers","following_url":"https://api.github.com/users/parcollet/following{/other_user}","gists_url":"https://api.github.com/users/parcollet/gists{/gist_id}","starred_url":"https://api.github.com/users/parcollet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parcollet/subscriptions","organizations_url":"https://api.github.com/users/parcollet/orgs","repos_url":"https://api.github.com/users/parcollet/repos","events_url":"https://api.github.com/users/parcollet/events{/privacy}","received_events_url":"https://api.github.com/users/parcollet/received_events","type":"User","site_admin":false},"assignees":[{"login":"parcollet","id":1014945,"avatar_url":"https://avatars3.githubusercontent.com/u/1014945?v=4","gravatar_id":"","url":"https://api.github.com/users/parcollet","html_url":"https://github.com/parcollet","followers_url":"https://api.github.com/users/parcollet/followers","following_url":"https://api.github.com/users/parcollet/following{/other_user}","gists_url":"https://api.github.com/users/parcollet/gists{/gist_id}","starred_url":"https://api.github.com/users/parcollet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parcollet/subscriptions","organizations_url":"https://api.github.com/users/parcollet/orgs","repos_url":"https://api.github.com/users/parcollet/repos","events_url":"https://api.github.com/users/parcollet/events{/privacy}","received_events_url":"https://api.github.com/users/parcollet/received_events","type":"User","site_admin":false},{"login":"Wentzell","id":9369112,"avatar_url":"https://avatars1.githubusercontent.com/u/9369112?v=4","gravatar_id":"","url":"https://api.github.com/users/Wentzell","html_url":"https://github.com/Wentzell","followers_url":"https://api.github.com/users/Wentzell/followers","following_url":"https://api.github.com/users/Wentzell/following{/other_user}","gists_url":"https://api.github.com/users/Wentzell/gists{/gist_id}","starred_url":"https://api.github.com/users/Wentzell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wentzell/subscriptions","organizations_url":"https://api.github.com/users/Wentzell/orgs","repos_url":"https://api.github.com/users/Wentzell/repos","events_url":"https://api.github.com/users/Wentzell/events{/privacy}","received_events_url":"https://api.github.com/users/Wentzell/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"parcollet","id":1014945,"avatar_url":"https://avatars3.githubusercontent.com/u/1014945?v=4","gravatar_id":"","url":"https://api.github.com/users/parcollet","html_url":"https://github.com/parcollet","followers_url":"https://api.github.com/users/parcollet/followers","following_url":"https://api.github.com/users/parcollet/following{/other_user}","gists_url":"https://api.github.com/users/parcollet/gists{/gist_id}","starred_url":"https://api.github.com/users/parcollet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parcollet/subscriptions","organizations_url":"https://api.github.com/users/parcollet/orgs","repos_url":"https://api.github.com/users/parcollet/repos","events_url":"https://api.github.com/users/parcollet/events{/privacy}","received_events_url":"https://api.github.com/users/parcollet/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/TRIQS/triqs/milestones/3","html_url":"https://github.com/TRIQS/triqs/milestone/3","labels_url":"https://api.github.com/repos/TRIQS/triqs/milestones/3/labels","id":1372287,"number":3,"title":"1.5","description":"C++14 only\r\nMerge unstable for the update of Gf.\r\n\r\n","creator":{"login":"mferrero","id":1138525,"avatar_url":"https://avatars1.githubusercontent.com/u/1138525?v=4","gravatar_id":"","url":"https://api.github.com/users/mferrero","html_url":"https://github.com/mferrero","followers_url":"https://api.github.com/users/mferrero/followers","following_url":"https://api.github.com/users/mferrero/following{/other_user}","gists_url":"https://api.github.com/users/mferrero/gists{/gist_id}","starred_url":"https://api.github.com/users/mferrero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mferrero/subscriptions","organizations_url":"https://api.github.com/users/mferrero/orgs","repos_url":"https://api.github.com/users/mferrero/repos","events_url":"https://api.github.com/users/mferrero/events{/privacy}","received_events_url":"https://api.github.com/users/mferrero/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":32,"state":"open","created_at":"2015-10-23T12:26:09Z","updated_at":"2017-10-19T18:20:15Z","due_on":"2017-09-01T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/TRIQS/triqs/pulls/471/commits","review_comments_url":"https://api.github.com/repos/TRIQS/triqs/pulls/471/comments","review_comment_url":"https://api.github.com/repos/TRIQS/triqs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TRIQS/triqs/issues/471/comments","statuses_url":"https://api.github.com/repos/TRIQS/triqs/statuses/f6e8c2511920722cd4ad3e60d7111885846c444b","head":{"label":"HugoStrand:dev_mc_generic_timers","ref":"dev_mc_generic_timers","sha":"f6e8c2511920722cd4ad3e60d7111885846c444b","user":{"login":"HugoStrand","id":1188035,"avatar_url":"https://avatars2.githubusercontent.com/u/1188035?v=4","gravatar_id":"","url":"https://api.github.com/users/HugoStrand","html_url":"https://github.com/HugoStrand","followers_url":"https://api.github.com/users/HugoStrand/followers","following_url":"https://api.github.com/users/HugoStrand/following{/other_user}","gists_url":"https://api.github.com/users/HugoStrand/gists{/gist_id}","starred_url":"https://api.github.com/users/HugoStrand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HugoStrand/subscriptions","organizations_url":"https://api.github.com/users/HugoStrand/orgs","repos_url":"https://api.github.com/users/HugoStrand/repos","events_url":"https://api.github.com/users/HugoStrand/events{/privacy}","received_events_url":"https://api.github.com/users/HugoStrand/received_events","type":"User","site_admin":false},"repo":{"id":88052403,"name":"triqs","full_name":"HugoStrand/triqs","owner":{"login":"HugoStrand","id":1188035,"avatar_url":"https://avatars2.githubusercontent.com/u/1188035?v=4","gravatar_id":"","url":"https://api.github.com/users/HugoStrand","html_url":"https://github.com/HugoStrand","followers_url":"https://api.github.com/users/HugoStrand/followers","following_url":"https://api.github.com/users/HugoStrand/following{/other_user}","gists_url":"https://api.github.com/users/HugoStrand/gists{/gist_id}","starred_url":"https://api.github.com/users/HugoStrand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HugoStrand/subscriptions","organizations_url":"https://api.github.com/users/HugoStrand/orgs","repos_url":"https://api.github.com/users/HugoStrand/repos","events_url":"https://api.github.com/users/HugoStrand/events{/privacy}","received_events_url":"https://api.github.com/users/HugoStrand/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/HugoStrand/triqs","description":"a Toolbox for Research on Interacting Quantum Systems","fork":true,"url":"https://api.github.com/repos/HugoStrand/triqs","forks_url":"https://api.github.com/repos/HugoStrand/triqs/forks","keys_url":"https://api.github.com/repos/HugoStrand/triqs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HugoStrand/triqs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HugoStrand/triqs/teams","hooks_url":"https://api.github.com/repos/HugoStrand/triqs/hooks","issue_events_url":"https://api.github.com/repos/HugoStrand/triqs/issues/events{/number}","events_url":"https://api.github.com/repos/HugoStrand/triqs/events","assignees_url":"https://api.github.com/repos/HugoStrand/triqs/assignees{/user}","branches_url":"https://api.github.com/repos/HugoStrand/triqs/branches{/branch}","tags_url":"https://api.github.com/repos/HugoStrand/triqs/tags","blobs_url":"https://api.github.com/repos/HugoStrand/triqs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HugoStrand/triqs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HugoStrand/triqs/git/refs{/sha}","trees_url":"https://api.github.com/repos/HugoStrand/triqs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HugoStrand/triqs/statuses/{sha}","languages_url":"https://api.github.com/repos/HugoStrand/triqs/languages","stargazers_url":"https://api.github.com/repos/HugoStrand/triqs/stargazers","contributors_url":"https://api.github.com/repos/HugoStrand/triqs/contributors","subscribers_url":"https://api.github.com/repos/HugoStrand/triqs/subscribers","subscription_url":"https://api.github.com/repos/HugoStrand/triqs/subscription","commits_url":"https://api.github.com/repos/HugoStrand/triqs/commits{/sha}","git_commits_url":"https://api.github.com/repos/HugoStrand/triqs/git/commits{/sha}","comments_url":"https://api.github.com/repos/HugoStrand/triqs/comments{/number}","issue_comment_url":"https://api.github.com/repos/HugoStrand/triqs/issues/comments{/number}","contents_url":"https://api.github.com/repos/HugoStrand/triqs/contents/{+path}","compare_url":"https://api.github.com/repos/HugoStrand/triqs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HugoStrand/triqs/merges","archive_url":"https://api.github.com/repos/HugoStrand/triqs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HugoStrand/triqs/downloads","issues_url":"https://api.github.com/repos/HugoStrand/triqs/issues{/number}","pulls_url":"https://api.github.com/repos/HugoStrand/triqs/pulls{/number}","milestones_url":"https://api.github.com/repos/HugoStrand/triqs/milestones{/number}","notifications_url":"https://api.github.com/repos/HugoStrand/triqs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HugoStrand/triqs/labels{/name}","releases_url":"https://api.github.com/repos/HugoStrand/triqs/releases{/id}","deployments_url":"https://api.github.com/repos/HugoStrand/triqs/deployments","created_at":"2017-04-12T13:02:03Z","updated_at":"2017-04-12T13:02:05Z","pushed_at":"2017-10-19T15:48:46Z","git_url":"git://github.com/HugoStrand/triqs.git","ssh_url":"git@github.com:HugoStrand/triqs.git","clone_url":"https://github.com/HugoStrand/triqs.git","svn_url":"https://github.com/HugoStrand/triqs","homepage":"https://triqs.ipht.cnrs.fr","size":10111,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"TRIQS:unstable","ref":"unstable","sha":"96365682be2c47852dcd895d9d63016aadff46cc","user":{"login":"TRIQS","id":1140373,"avatar_url":"https://avatars0.githubusercontent.com/u/1140373?v=4","gravatar_id":"","url":"https://api.github.com/users/TRIQS","html_url":"https://github.com/TRIQS","followers_url":"https://api.github.com/users/TRIQS/followers","following_url":"https://api.github.com/users/TRIQS/following{/other_user}","gists_url":"https://api.github.com/users/TRIQS/gists{/gist_id}","starred_url":"https://api.github.com/users/TRIQS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TRIQS/subscriptions","organizations_url":"https://api.github.com/users/TRIQS/orgs","repos_url":"https://api.github.com/users/TRIQS/repos","events_url":"https://api.github.com/users/TRIQS/events{/privacy}","received_events_url":"https://api.github.com/users/TRIQS/received_events","type":"Organization","site_admin":false},"repo":{"id":11480705,"name":"triqs","full_name":"TRIQS/triqs","owner":{"login":"TRIQS","id":1140373,"avatar_url":"https://avatars0.githubusercontent.com/u/1140373?v=4","gravatar_id":"","url":"https://api.github.com/users/TRIQS","html_url":"https://github.com/TRIQS","followers_url":"https://api.github.com/users/TRIQS/followers","following_url":"https://api.github.com/users/TRIQS/following{/other_user}","gists_url":"https://api.github.com/users/TRIQS/gists{/gist_id}","starred_url":"https://api.github.com/users/TRIQS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TRIQS/subscriptions","organizations_url":"https://api.github.com/users/TRIQS/orgs","repos_url":"https://api.github.com/users/TRIQS/repos","events_url":"https://api.github.com/users/TRIQS/events{/privacy}","received_events_url":"https://api.github.com/users/TRIQS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TRIQS/triqs","description":"a Toolbox for Research on Interacting Quantum Systems","fork":false,"url":"https://api.github.com/repos/TRIQS/triqs","forks_url":"https://api.github.com/repos/TRIQS/triqs/forks","keys_url":"https://api.github.com/repos/TRIQS/triqs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TRIQS/triqs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TRIQS/triqs/teams","hooks_url":"https://api.github.com/repos/TRIQS/triqs/hooks","issue_events_url":"https://api.github.com/repos/TRIQS/triqs/issues/events{/number}","events_url":"https://api.github.com/repos/TRIQS/triqs/events","assignees_url":"https://api.github.com/repos/TRIQS/triqs/assignees{/user}","branches_url":"https://api.github.com/repos/TRIQS/triqs/branches{/branch}","tags_url":"https://api.github.com/repos/TRIQS/triqs/tags","blobs_url":"https://api.github.com/repos/TRIQS/triqs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TRIQS/triqs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TRIQS/triqs/git/refs{/sha}","trees_url":"https://api.github.com/repos/TRIQS/triqs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TRIQS/triqs/statuses/{sha}","languages_url":"https://api.github.com/repos/TRIQS/triqs/languages","stargazers_url":"https://api.github.com/repos/TRIQS/triqs/stargazers","contributors_url":"https://api.github.com/repos/TRIQS/triqs/contributors","subscribers_url":"https://api.github.com/repos/TRIQS/triqs/subscribers","subscription_url":"https://api.github.com/repos/TRIQS/triqs/subscription","commits_url":"https://api.github.com/repos/TRIQS/triqs/commits{/sha}","git_commits_url":"https://api.github.com/repos/TRIQS/triqs/git/commits{/sha}","comments_url":"https://api.github.com/repos/TRIQS/triqs/comments{/number}","issue_comment_url":"https://api.github.com/repos/TRIQS/triqs/issues/comments{/number}","contents_url":"https://api.github.com/repos/TRIQS/triqs/contents/{+path}","compare_url":"https://api.github.com/repos/TRIQS/triqs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TRIQS/triqs/merges","archive_url":"https://api.github.com/repos/TRIQS/triqs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TRIQS/triqs/downloads","issues_url":"https://api.github.com/repos/TRIQS/triqs/issues{/number}","pulls_url":"https://api.github.com/repos/TRIQS/triqs/pulls{/number}","milestones_url":"https://api.github.com/repos/TRIQS/triqs/milestones{/number}","notifications_url":"https://api.github.com/repos/TRIQS/triqs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TRIQS/triqs/labels{/name}","releases_url":"https://api.github.com/repos/TRIQS/triqs/releases{/id}","deployments_url":"https://api.github.com/repos/TRIQS/triqs/deployments","created_at":"2013-07-17T16:06:50Z","updated_at":"2017-10-11T12:39:41Z","pushed_at":"2017-10-19T18:20:15Z","git_url":"git://github.com/TRIQS/triqs.git","ssh_url":"git@github.com:TRIQS/triqs.git","clone_url":"https://github.com/TRIQS/triqs.git","svn_url":"https://github.com/TRIQS/triqs","homepage":"https://triqs.ipht.cnrs.fr","size":10177,"stargazers_count":43,"watchers_count":43,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":55,"forks":33,"open_issues":55,"watchers":43,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TRIQS/triqs/pulls/471"},"html":{"href":"https://github.com/TRIQS/triqs/pull/471"},"issue":{"href":"https://api.github.com/repos/TRIQS/triqs/issues/471"},"comments":{"href":"https://api.github.com/repos/TRIQS/triqs/issues/471/comments"},"review_comments":{"href":"https://api.github.com/repos/TRIQS/triqs/pulls/471/comments"},"review_comment":{"href":"https://api.github.com/repos/TRIQS/triqs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TRIQS/triqs/pulls/471/commits"},"statuses":{"href":"https://api.github.com/repos/TRIQS/triqs/statuses/f6e8c2511920722cd4ad3e60d7111885846c444b"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"Wentzell","id":9369112,"avatar_url":"https://avatars1.githubusercontent.com/u/9369112?v=4","gravatar_id":"","url":"https://api.github.com/users/Wentzell","html_url":"https://github.com/Wentzell","followers_url":"https://api.github.com/users/Wentzell/followers","following_url":"https://api.github.com/users/Wentzell/following{/other_user}","gists_url":"https://api.github.com/users/Wentzell/gists{/gist_id}","starred_url":"https://api.github.com/users/Wentzell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wentzell/subscriptions","organizations_url":"https://api.github.com/users/Wentzell/orgs","repos_url":"https://api.github.com/users/Wentzell/repos","events_url":"https://api.github.com/users/Wentzell/events{/privacy}","received_events_url":"https://api.github.com/users/Wentzell/received_events","type":"User","site_admin":false},"comments":7,"review_comments":25,"maintainer_can_modify":false,"commits":10,"additions":174,"deletions":52,"changed_files":6}}
{"actor":{"display_login":"Wentzell"}}