{"action":"created","comment":{"url":"https://api.github.com/repos/rjmccabe3701/stat_log/pulls/comments/38495656","id":38495656,"diff_hunk":"@@ -2,44 +2,29 @@\n #include \"hw_intf.h\"\n #include <memory>\n \n-constexpr bool IsOperational = true;\n-\n-template <>\n-void initializeStatistics<IsOperational>()\n-{\n-   auto logger = std::make_shared<LoggerGenerator>(STAT_LOG_LOGGER_NAME,\n-         STAT_LOG_LOGGER_SIZE_BYTES);\n-\n-   auto& hwIntfStat = stat_log::getStatSingleton<OpStatHwIntf>();\n-   hwIntfStat.init(STAT_LOG_HW_INTF_SHM_NAME);\n-   hwIntfStat.addLogger(logger);\n-\n-   auto& macSisStat = stat_log::getStatSingleton<OpStatMacSis>();\n-   macSisStat.init(STAT_LOG_HW_INTF_SHM_NAME);\n-   macSisStat.addLogger(logger);\n-}\n-\n \n using namespace stat_log;\n \n int main(int argc, char** argv)\n {\n-   initializeStatistics<IsOperational>();\n+   initializeStatistics<true == IsOperational>();\n    auto& macSisStat = getStatSingleton<OpStatMacSis>();\n    auto& hwIntfStat = getStatSingleton<OpStatHwIntf>();\n \n    macSisStat.writeStat<SIS::MAC_PKTS_DOWN_TAG>(88);\n-   hwIntfStat.writeStat<HW_INTERFACE::MISC_FPGA_FAULT_TAG>(2);\n-   hwIntfStat.writeStat<HW_INTERFACE::MISC_FPGA_FAULT_TAG>(2);\n+   hwIntfStat.writeStat<HW_INTERFACE::MISC_FPGA_FAULT_TAG>(1.0);","path":"test/test_multi_gens/generator.cpp","position":34,"original_position":34,"commit_id":"63f09a403ad91f36d08c55a2221758b5ad459090","original_commit_id":"63f09a403ad91f36d08c55a2221758b5ad459090","user":{"login":"rjmccabe3701","id":463534,"avatar_url":"https://avatars.githubusercontent.com/u/463534?v=3","gravatar_id":"","url":"https://api.github.com/users/rjmccabe3701","html_url":"https://github.com/rjmccabe3701","followers_url":"https://api.github.com/users/rjmccabe3701/followers","following_url":"https://api.github.com/users/rjmccabe3701/following{/other_user}","gists_url":"https://api.github.com/users/rjmccabe3701/gists{/gist_id}","starred_url":"https://api.github.com/users/rjmccabe3701/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjmccabe3701/subscriptions","organizations_url":"https://api.github.com/users/rjmccabe3701/orgs","repos_url":"https://api.github.com/users/rjmccabe3701/repos","events_url":"https://api.github.com/users/rjmccabe3701/events{/privacy}","received_events_url":"https://api.github.com/users/rjmccabe3701/received_events","type":"User","site_admin":false},"body":"Creating an issue to fix.","created_at":"2015-09-02T03:10:59Z","updated_at":"2015-09-02T03:10:59Z","html_url":"https://github.com/rjmccabe3701/stat_log/pull/5#discussion_r38495656","pull_request_url":"https://api.github.com/repos/rjmccabe3701/stat_log/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/rjmccabe3701/stat_log/pulls/comments/38495656"},"html":{"href":"https://github.com/rjmccabe3701/stat_log/pull/5#discussion_r38495656"},"pull_request":{"href":"https://api.github.com/repos/rjmccabe3701/stat_log/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/rjmccabe3701/stat_log/pulls/5","id":43949040,"html_url":"https://github.com/rjmccabe3701/stat_log/pull/5","diff_url":"https://github.com/rjmccabe3701/stat_log/pull/5.diff","patch_url":"https://github.com/rjmccabe3701/stat_log/pull/5.patch","issue_url":"https://api.github.com/repos/rjmccabe3701/stat_log/issues/5","number":5,"state":"open","locked":false,"title":"Feature/accum stat","user":{"login":"rjmccabe3701","id":463534,"avatar_url":"https://avatars.githubusercontent.com/u/463534?v=3","gravatar_id":"","url":"https://api.github.com/users/rjmccabe3701","html_url":"https://github.com/rjmccabe3701","followers_url":"https://api.github.com/users/rjmccabe3701/followers","following_url":"https://api.github.com/users/rjmccabe3701/following{/other_user}","gists_url":"https://api.github.com/users/rjmccabe3701/gists{/gist_id}","starred_url":"https://api.github.com/users/rjmccabe3701/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjmccabe3701/subscriptions","organizations_url":"https://api.github.com/users/rjmccabe3701/orgs","repos_url":"https://api.github.com/users/rjmccabe3701/repos","events_url":"https://api.github.com/users/rjmccabe3701/events{/privacy}","received_events_url":"https://api.github.com/users/rjmccabe3701/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-02T02:51:40Z","updated_at":"2015-09-02T03:10:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"48697541a22c854f8878b7887da332d760f426df","assignee":{"login":"rjmccabe3701","id":463534,"avatar_url":"https://avatars.githubusercontent.com/u/463534?v=3","gravatar_id":"","url":"https://api.github.com/users/rjmccabe3701","html_url":"https://github.com/rjmccabe3701","followers_url":"https://api.github.com/users/rjmccabe3701/followers","following_url":"https://api.github.com/users/rjmccabe3701/following{/other_user}","gists_url":"https://api.github.com/users/rjmccabe3701/gists{/gist_id}","starred_url":"https://api.github.com/users/rjmccabe3701/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjmccabe3701/subscriptions","organizations_url":"https://api.github.com/users/rjmccabe3701/orgs","repos_url":"https://api.github.com/users/rjmccabe3701/repos","events_url":"https://api.github.com/users/rjmccabe3701/events{/privacy}","received_events_url":"https://api.github.com/users/rjmccabe3701/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/rjmccabe3701/stat_log/pulls/5/commits","review_comments_url":"https://api.github.com/repos/rjmccabe3701/stat_log/pulls/5/comments","review_comment_url":"https://api.github.com/repos/rjmccabe3701/stat_log/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rjmccabe3701/stat_log/issues/5/comments","statuses_url":"https://api.github.com/repos/rjmccabe3701/stat_log/statuses/63f09a403ad91f36d08c55a2221758b5ad459090","head":{"label":"rjmccabe3701:feature/accum_stat","ref":"feature/accum_stat","sha":"63f09a403ad91f36d08c55a2221758b5ad459090","user":{"login":"rjmccabe3701","id":463534,"avatar_url":"https://avatars.githubusercontent.com/u/463534?v=3","gravatar_id":"","url":"https://api.github.com/users/rjmccabe3701","html_url":"https://github.com/rjmccabe3701","followers_url":"https://api.github.com/users/rjmccabe3701/followers","following_url":"https://api.github.com/users/rjmccabe3701/following{/other_user}","gists_url":"https://api.github.com/users/rjmccabe3701/gists{/gist_id}","starred_url":"https://api.github.com/users/rjmccabe3701/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjmccabe3701/subscriptions","organizations_url":"https://api.github.com/users/rjmccabe3701/orgs","repos_url":"https://api.github.com/users/rjmccabe3701/repos","events_url":"https://api.github.com/users/rjmccabe3701/events{/privacy}","received_events_url":"https://api.github.com/users/rjmccabe3701/received_events","type":"User","site_admin":false},"repo":{"id":40628282,"name":"stat_log","full_name":"rjmccabe3701/stat_log","owner":{"login":"rjmccabe3701","id":463534,"avatar_url":"https://avatars.githubusercontent.com/u/463534?v=3","gravatar_id":"","url":"https://api.github.com/users/rjmccabe3701","html_url":"https://github.com/rjmccabe3701","followers_url":"https://api.github.com/users/rjmccabe3701/followers","following_url":"https://api.github.com/users/rjmccabe3701/following{/other_user}","gists_url":"https://api.github.com/users/rjmccabe3701/gists{/gist_id}","starred_url":"https://api.github.com/users/rjmccabe3701/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjmccabe3701/subscriptions","organizations_url":"https://api.github.com/users/rjmccabe3701/orgs","repos_url":"https://api.github.com/users/rjmccabe3701/repos","events_url":"https://api.github.com/users/rjmccabe3701/events{/privacy}","received_events_url":"https://api.github.com/users/rjmccabe3701/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rjmccabe3701/stat_log","description":"Extremely extensible C++ library for logging and statistic collection","fork":false,"url":"https://api.github.com/repos/rjmccabe3701/stat_log","forks_url":"https://api.github.com/repos/rjmccabe3701/stat_log/forks","keys_url":"https://api.github.com/repos/rjmccabe3701/stat_log/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rjmccabe3701/stat_log/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rjmccabe3701/stat_log/teams","hooks_url":"https://api.github.com/repos/rjmccabe3701/stat_log/hooks","issue_events_url":"https://api.github.com/repos/rjmccabe3701/stat_log/issues/events{/number}","events_url":"https://api.github.com/repos/rjmccabe3701/stat_log/events","assignees_url":"https://api.github.com/repos/rjmccabe3701/stat_log/assignees{/user}","branches_url":"https://api.github.com/repos/rjmccabe3701/stat_log/branches{/branch}","tags_url":"https://api.github.com/repos/rjmccabe3701/stat_log/tags","blobs_url":"https://api.github.com/repos/rjmccabe3701/stat_log/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rjmccabe3701/stat_log/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rjmccabe3701/stat_log/git/refs{/sha}","trees_url":"https://api.github.com/repos/rjmccabe3701/stat_log/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rjmccabe3701/stat_log/statuses/{sha}","languages_url":"https://api.github.com/repos/rjmccabe3701/stat_log/languages","stargazers_url":"https://api.github.com/repos/rjmccabe3701/stat_log/stargazers","contributors_url":"https://api.github.com/repos/rjmccabe3701/stat_log/contributors","subscribers_url":"https://api.github.com/repos/rjmccabe3701/stat_log/subscribers","subscription_url":"https://api.github.com/repos/rjmccabe3701/stat_log/subscription","commits_url":"https://api.github.com/repos/rjmccabe3701/stat_log/commits{/sha}","git_commits_url":"https://api.github.com/repos/rjmccabe3701/stat_log/git/commits{/sha}","comments_url":"https://api.github.com/repos/rjmccabe3701/stat_log/comments{/number}","issue_comment_url":"https://api.github.com/repos/rjmccabe3701/stat_log/issues/comments{/number}","contents_url":"https://api.github.com/repos/rjmccabe3701/stat_log/contents/{+path}","compare_url":"https://api.github.com/repos/rjmccabe3701/stat_log/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rjmccabe3701/stat_log/merges","archive_url":"https://api.github.com/repos/rjmccabe3701/stat_log/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rjmccabe3701/stat_log/downloads","issues_url":"https://api.github.com/repos/rjmccabe3701/stat_log/issues{/number}","pulls_url":"https://api.github.com/repos/rjmccabe3701/stat_log/pulls{/number}","milestones_url":"https://api.github.com/repos/rjmccabe3701/stat_log/milestones{/number}","notifications_url":"https://api.github.com/repos/rjmccabe3701/stat_log/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rjmccabe3701/stat_log/labels{/name}","releases_url":"https://api.github.com/repos/rjmccabe3701/stat_log/releases{/id}","created_at":"2015-08-12T23:00:12Z","updated_at":"2015-08-16T03:51:00Z","pushed_at":"2015-09-02T02:51:40Z","git_url":"git://github.com/rjmccabe3701/stat_log.git","ssh_url":"git@github.com:rjmccabe3701/stat_log.git","clone_url":"https://github.com/rjmccabe3701/stat_log.git","svn_url":"https://github.com/rjmccabe3701/stat_log","homepage":null,"size":356,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"rjmccabe3701:master","ref":"master","sha":"a2dba4118e9f6e2dac4fc3b5d77f8d5cbc2b784c","user":{"login":"rjmccabe3701","id":463534,"avatar_url":"https://avatars.githubusercontent.com/u/463534?v=3","gravatar_id":"","url":"https://api.github.com/users/rjmccabe3701","html_url":"https://github.com/rjmccabe3701","followers_url":"https://api.github.com/users/rjmccabe3701/followers","following_url":"https://api.github.com/users/rjmccabe3701/following{/other_user}","gists_url":"https://api.github.com/users/rjmccabe3701/gists{/gist_id}","starred_url":"https://api.github.com/users/rjmccabe3701/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjmccabe3701/subscriptions","organizations_url":"https://api.github.com/users/rjmccabe3701/orgs","repos_url":"https://api.github.com/users/rjmccabe3701/repos","events_url":"https://api.github.com/users/rjmccabe3701/events{/privacy}","received_events_url":"https://api.github.com/users/rjmccabe3701/received_events","type":"User","site_admin":false},"repo":{"id":40628282,"name":"stat_log","full_name":"rjmccabe3701/stat_log","owner":{"login":"rjmccabe3701","id":463534,"avatar_url":"https://avatars.githubusercontent.com/u/463534?v=3","gravatar_id":"","url":"https://api.github.com/users/rjmccabe3701","html_url":"https://github.com/rjmccabe3701","followers_url":"https://api.github.com/users/rjmccabe3701/followers","following_url":"https://api.github.com/users/rjmccabe3701/following{/other_user}","gists_url":"https://api.github.com/users/rjmccabe3701/gists{/gist_id}","starred_url":"https://api.github.com/users/rjmccabe3701/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjmccabe3701/subscriptions","organizations_url":"https://api.github.com/users/rjmccabe3701/orgs","repos_url":"https://api.github.com/users/rjmccabe3701/repos","events_url":"https://api.github.com/users/rjmccabe3701/events{/privacy}","received_events_url":"https://api.github.com/users/rjmccabe3701/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rjmccabe3701/stat_log","description":"Extremely extensible C++ library for logging and statistic collection","fork":false,"url":"https://api.github.com/repos/rjmccabe3701/stat_log","forks_url":"https://api.github.com/repos/rjmccabe3701/stat_log/forks","keys_url":"https://api.github.com/repos/rjmccabe3701/stat_log/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rjmccabe3701/stat_log/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rjmccabe3701/stat_log/teams","hooks_url":"https://api.github.com/repos/rjmccabe3701/stat_log/hooks","issue_events_url":"https://api.github.com/repos/rjmccabe3701/stat_log/issues/events{/number}","events_url":"https://api.github.com/repos/rjmccabe3701/stat_log/events","assignees_url":"https://api.github.com/repos/rjmccabe3701/stat_log/assignees{/user}","branches_url":"https://api.github.com/repos/rjmccabe3701/stat_log/branches{/branch}","tags_url":"https://api.github.com/repos/rjmccabe3701/stat_log/tags","blobs_url":"https://api.github.com/repos/rjmccabe3701/stat_log/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rjmccabe3701/stat_log/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rjmccabe3701/stat_log/git/refs{/sha}","trees_url":"https://api.github.com/repos/rjmccabe3701/stat_log/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rjmccabe3701/stat_log/statuses/{sha}","languages_url":"https://api.github.com/repos/rjmccabe3701/stat_log/languages","stargazers_url":"https://api.github.com/repos/rjmccabe3701/stat_log/stargazers","contributors_url":"https://api.github.com/repos/rjmccabe3701/stat_log/contributors","subscribers_url":"https://api.github.com/repos/rjmccabe3701/stat_log/subscribers","subscription_url":"https://api.github.com/repos/rjmccabe3701/stat_log/subscription","commits_url":"https://api.github.com/repos/rjmccabe3701/stat_log/commits{/sha}","git_commits_url":"https://api.github.com/repos/rjmccabe3701/stat_log/git/commits{/sha}","comments_url":"https://api.github.com/repos/rjmccabe3701/stat_log/comments{/number}","issue_comment_url":"https://api.github.com/repos/rjmccabe3701/stat_log/issues/comments{/number}","contents_url":"https://api.github.com/repos/rjmccabe3701/stat_log/contents/{+path}","compare_url":"https://api.github.com/repos/rjmccabe3701/stat_log/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rjmccabe3701/stat_log/merges","archive_url":"https://api.github.com/repos/rjmccabe3701/stat_log/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rjmccabe3701/stat_log/downloads","issues_url":"https://api.github.com/repos/rjmccabe3701/stat_log/issues{/number}","pulls_url":"https://api.github.com/repos/rjmccabe3701/stat_log/pulls{/number}","milestones_url":"https://api.github.com/repos/rjmccabe3701/stat_log/milestones{/number}","notifications_url":"https://api.github.com/repos/rjmccabe3701/stat_log/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rjmccabe3701/stat_log/labels{/name}","releases_url":"https://api.github.com/repos/rjmccabe3701/stat_log/releases{/id}","created_at":"2015-08-12T23:00:12Z","updated_at":"2015-08-16T03:51:00Z","pushed_at":"2015-09-02T02:51:40Z","git_url":"git://github.com/rjmccabe3701/stat_log.git","ssh_url":"git@github.com:rjmccabe3701/stat_log.git","clone_url":"https://github.com/rjmccabe3701/stat_log.git","svn_url":"https://github.com/rjmccabe3701/stat_log","homepage":null,"size":356,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rjmccabe3701/stat_log/pulls/5"},"html":{"href":"https://github.com/rjmccabe3701/stat_log/pull/5"},"issue":{"href":"https://api.github.com/repos/rjmccabe3701/stat_log/issues/5"},"comments":{"href":"https://api.github.com/repos/rjmccabe3701/stat_log/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/rjmccabe3701/stat_log/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/rjmccabe3701/stat_log/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rjmccabe3701/stat_log/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/rjmccabe3701/stat_log/statuses/63f09a403ad91f36d08c55a2221758b5ad459090"}}}}