{"action":"opened","number":38,"pull_request":{"url":"https://api.github.com/repos/pulp-platform/hero-sdk/pulls/38","id":222746589,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyNzQ2NTg5","html_url":"https://github.com/pulp-platform/hero-sdk/pull/38","diff_url":"https://github.com/pulp-platform/hero-sdk/pull/38.diff","patch_url":"https://github.com/pulp-platform/hero-sdk/pull/38.patch","issue_url":"https://api.github.com/repos/pulp-platform/hero-sdk/issues/38","number":38,"state":"open","locked":false,"title":"WIP: HERO Timers to `libhero-target`","user":{"login":"alessandrocapotondi","id":2183997,"node_id":"MDQ6VXNlcjIxODM5OTc=","avatar_url":"https://avatars0.githubusercontent.com/u/2183997?v=4","gravatar_id":"","url":"https://api.github.com/users/alessandrocapotondi","html_url":"https://github.com/alessandrocapotondi","followers_url":"https://api.github.com/users/alessandrocapotondi/followers","following_url":"https://api.github.com/users/alessandrocapotondi/following{/other_user}","gists_url":"https://api.github.com/users/alessandrocapotondi/gists{/gist_id}","starred_url":"https://api.github.com/users/alessandrocapotondi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alessandrocapotondi/subscriptions","organizations_url":"https://api.github.com/users/alessandrocapotondi/orgs","repos_url":"https://api.github.com/users/alessandrocapotondi/repos","events_url":"https://api.github.com/users/alessandrocapotondi/events{/privacy}","received_events_url":"https://api.github.com/users/alessandrocapotondi/received_events","type":"User","site_admin":false},"body":"Dear @accuminium,\r\nI added some additional API to the `libhero-target` to control the PULP timers.\r\n\r\n# New API\r\n``` c\r\n/** Start the processor cycle counter.\r\n\r\n    Start to commute the cycle counter. Note, at boot, the starting value is unpredictable because the counter is not automatically resetted during the `hero_rt_start_cycle_cnt` function. Reset must be manually controlled by the user. Following, the correct initialization sequence for the cycle counter:\r\n\r\n    ```\r\n    hero_rt_reset_cycle_cnt();\r\n    hero_rt_start_cycle_cnt();\r\n    ```\r\n\r\n  \\return  void.\r\n */\r\nvoid hero_rt_start_cycle_cnt();\r\n\r\n/** Reset the processor cycle counter.\r\n\r\n    Reset to 0 the processor cycle counter value.\r\n\r\n  \\return  void.\r\n */\r\nvoid hero_rt_reset_cycle_cnt();\r\n\r\n/** Stop the processor cycle counter.\r\n\r\n    Stop the processor cycle counter commutation. The cycle counter value can be readed using the function `hero_rt_get_cycles()`. The cycles counting can be resumed using the function `hero_rt_start_cycles_cnt()`.\r\n\r\n    Note. The counter value must be resetted manually by the user.\r\n\r\n  \\return  void.\r\n */\r\nvoid hero_rt_stop_cycle_cnt();\r\n\r\n/** Get the processor cycle counter value.\r\n\r\n  \\return  the current cycle counter value, or 0 if unavailable.\r\n */\r\nint hero_rt_get_cycles();\r\n```\r\n\r\n*WIP: because i did not test it yet. I will let you know when we can merge it.*","created_at":"2018-10-14T22:08:47Z","updated_at":"2018-10-14T22:08:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pulp-platform/hero-sdk/pulls/38/commits","review_comments_url":"https://api.github.com/repos/pulp-platform/hero-sdk/pulls/38/comments","review_comment_url":"https://api.github.com/repos/pulp-platform/hero-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pulp-platform/hero-sdk/issues/38/comments","statuses_url":"https://api.github.com/repos/pulp-platform/hero-sdk/statuses/bcf1a6dd5b5ed69b249a3f57e19f173e0214b5f8","head":{"label":"pulp-platform:hero-timers-integration","ref":"hero-timers-integration","sha":"bcf1a6dd5b5ed69b249a3f57e19f173e0214b5f8","user":{"login":"pulp-platform","id":14332106,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MzMyMTA2","avatar_url":"https://avatars2.githubusercontent.com/u/14332106?v=4","gravatar_id":"","url":"https://api.github.com/users/pulp-platform","html_url":"https://github.com/pulp-platform","followers_url":"https://api.github.com/users/pulp-platform/followers","following_url":"https://api.github.com/users/pulp-platform/following{/other_user}","gists_url":"https://api.github.com/users/pulp-platform/gists{/gist_id}","starred_url":"https://api.github.com/users/pulp-platform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulp-platform/subscriptions","organizations_url":"https://api.github.com/users/pulp-platform/orgs","repos_url":"https://api.github.com/users/pulp-platform/repos","events_url":"https://api.github.com/users/pulp-platform/events{/privacy}","received_events_url":"https://api.github.com/users/pulp-platform/received_events","type":"Organization","site_admin":false},"repo":{"id":143742916,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM3NDI5MTY=","name":"hero-sdk","full_name":"pulp-platform/hero-sdk","private":false,"owner":{"login":"pulp-platform","id":14332106,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MzMyMTA2","avatar_url":"https://avatars2.githubusercontent.com/u/14332106?v=4","gravatar_id":"","url":"https://api.github.com/users/pulp-platform","html_url":"https://github.com/pulp-platform","followers_url":"https://api.github.com/users/pulp-platform/followers","following_url":"https://api.github.com/users/pulp-platform/following{/other_user}","gists_url":"https://api.github.com/users/pulp-platform/gists{/gist_id}","starred_url":"https://api.github.com/users/pulp-platform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulp-platform/subscriptions","organizations_url":"https://api.github.com/users/pulp-platform/orgs","repos_url":"https://api.github.com/users/pulp-platform/repos","events_url":"https://api.github.com/users/pulp-platform/events{/privacy}","received_events_url":"https://api.github.com/users/pulp-platform/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/pulp-platform/hero-sdk","description":"HERO Software Development Kit","fork":false,"url":"https://api.github.com/repos/pulp-platform/hero-sdk","forks_url":"https://api.github.com/repos/pulp-platform/hero-sdk/forks","keys_url":"https://api.github.com/repos/pulp-platform/hero-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pulp-platform/hero-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pulp-platform/hero-sdk/teams","hooks_url":"https://api.github.com/repos/pulp-platform/hero-sdk/hooks","issue_events_url":"https://api.github.com/repos/pulp-platform/hero-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/pulp-platform/hero-sdk/events","assignees_url":"https://api.github.com/repos/pulp-platform/hero-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/pulp-platform/hero-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/pulp-platform/hero-sdk/tags","blobs_url":"https://api.github.com/repos/pulp-platform/hero-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pulp-platform/hero-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pulp-platform/hero-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/pulp-platform/hero-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pulp-platform/hero-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/pulp-platform/hero-sdk/languages","stargazers_url":"https://api.github.com/repos/pulp-platform/hero-sdk/stargazers","contributors_url":"https://api.github.com/repos/pulp-platform/hero-sdk/contributors","subscribers_url":"https://api.github.com/repos/pulp-platform/hero-sdk/subscribers","subscription_url":"https://api.github.com/repos/pulp-platform/hero-sdk/subscription","commits_url":"https://api.github.com/repos/pulp-platform/hero-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/pulp-platform/hero-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/pulp-platform/hero-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/pulp-platform/hero-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/pulp-platform/hero-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/pulp-platform/hero-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pulp-platform/hero-sdk/merges","archive_url":"https://api.github.com/repos/pulp-platform/hero-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pulp-platform/hero-sdk/downloads","issues_url":"https://api.github.com/repos/pulp-platform/hero-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/pulp-platform/hero-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/pulp-platform/hero-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/pulp-platform/hero-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pulp-platform/hero-sdk/labels{/name}","releases_url":"https://api.github.com/repos/pulp-platform/hero-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/pulp-platform/hero-sdk/deployments","created_at":"2018-08-06T14:49:13Z","updated_at":"2018-10-14T20:17:11Z","pushed_at":"2018-10-14T22:00:41Z","git_url":"git://github.com/pulp-platform/hero-sdk.git","ssh_url":"git@github.com:pulp-platform/hero-sdk.git","clone_url":"https://github.com/pulp-platform/hero-sdk.git","svn_url":"https://github.com/pulp-platform/hero-sdk","homepage":"https://www.pulp-platform.org/hero","size":1089,"stargazers_count":4,"watchers_count":4,"language":"Shell","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2,"open_issues":7,"watchers":4,"default_branch":"master"}},"base":{"label":"pulp-platform:master","ref":"master","sha":"ceeec2463680535919b061a7ea1351443c8ff165","user":{"login":"pulp-platform","id":14332106,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MzMyMTA2","avatar_url":"https://avatars2.githubusercontent.com/u/14332106?v=4","gravatar_id":"","url":"https://api.github.com/users/pulp-platform","html_url":"https://github.com/pulp-platform","followers_url":"https://api.github.com/users/pulp-platform/followers","following_url":"https://api.github.com/users/pulp-platform/following{/other_user}","gists_url":"https://api.github.com/users/pulp-platform/gists{/gist_id}","starred_url":"https://api.github.com/users/pulp-platform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulp-platform/subscriptions","organizations_url":"https://api.github.com/users/pulp-platform/orgs","repos_url":"https://api.github.com/users/pulp-platform/repos","events_url":"https://api.github.com/users/pulp-platform/events{/privacy}","received_events_url":"https://api.github.com/users/pulp-platform/received_events","type":"Organization","site_admin":false},"repo":{"id":143742916,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM3NDI5MTY=","name":"hero-sdk","full_name":"pulp-platform/hero-sdk","private":false,"owner":{"login":"pulp-platform","id":14332106,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MzMyMTA2","avatar_url":"https://avatars2.githubusercontent.com/u/14332106?v=4","gravatar_id":"","url":"https://api.github.com/users/pulp-platform","html_url":"https://github.com/pulp-platform","followers_url":"https://api.github.com/users/pulp-platform/followers","following_url":"https://api.github.com/users/pulp-platform/following{/other_user}","gists_url":"https://api.github.com/users/pulp-platform/gists{/gist_id}","starred_url":"https://api.github.com/users/pulp-platform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulp-platform/subscriptions","organizations_url":"https://api.github.com/users/pulp-platform/orgs","repos_url":"https://api.github.com/users/pulp-platform/repos","events_url":"https://api.github.com/users/pulp-platform/events{/privacy}","received_events_url":"https://api.github.com/users/pulp-platform/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/pulp-platform/hero-sdk","description":"HERO Software Development Kit","fork":false,"url":"https://api.github.com/repos/pulp-platform/hero-sdk","forks_url":"https://api.github.com/repos/pulp-platform/hero-sdk/forks","keys_url":"https://api.github.com/repos/pulp-platform/hero-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pulp-platform/hero-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pulp-platform/hero-sdk/teams","hooks_url":"https://api.github.com/repos/pulp-platform/hero-sdk/hooks","issue_events_url":"https://api.github.com/repos/pulp-platform/hero-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/pulp-platform/hero-sdk/events","assignees_url":"https://api.github.com/repos/pulp-platform/hero-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/pulp-platform/hero-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/pulp-platform/hero-sdk/tags","blobs_url":"https://api.github.com/repos/pulp-platform/hero-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pulp-platform/hero-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pulp-platform/hero-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/pulp-platform/hero-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pulp-platform/hero-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/pulp-platform/hero-sdk/languages","stargazers_url":"https://api.github.com/repos/pulp-platform/hero-sdk/stargazers","contributors_url":"https://api.github.com/repos/pulp-platform/hero-sdk/contributors","subscribers_url":"https://api.github.com/repos/pulp-platform/hero-sdk/subscribers","subscription_url":"https://api.github.com/repos/pulp-platform/hero-sdk/subscription","commits_url":"https://api.github.com/repos/pulp-platform/hero-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/pulp-platform/hero-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/pulp-platform/hero-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/pulp-platform/hero-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/pulp-platform/hero-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/pulp-platform/hero-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pulp-platform/hero-sdk/merges","archive_url":"https://api.github.com/repos/pulp-platform/hero-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pulp-platform/hero-sdk/downloads","issues_url":"https://api.github.com/repos/pulp-platform/hero-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/pulp-platform/hero-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/pulp-platform/hero-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/pulp-platform/hero-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pulp-platform/hero-sdk/labels{/name}","releases_url":"https://api.github.com/repos/pulp-platform/hero-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/pulp-platform/hero-sdk/deployments","created_at":"2018-08-06T14:49:13Z","updated_at":"2018-10-14T20:17:11Z","pushed_at":"2018-10-14T22:00:41Z","git_url":"git://github.com/pulp-platform/hero-sdk.git","ssh_url":"git@github.com:pulp-platform/hero-sdk.git","clone_url":"https://github.com/pulp-platform/hero-sdk.git","svn_url":"https://github.com/pulp-platform/hero-sdk","homepage":"https://www.pulp-platform.org/hero","size":1089,"stargazers_count":4,"watchers_count":4,"language":"Shell","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2,"open_issues":7,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pulp-platform/hero-sdk/pulls/38"},"html":{"href":"https://github.com/pulp-platform/hero-sdk/pull/38"},"issue":{"href":"https://api.github.com/repos/pulp-platform/hero-sdk/issues/38"},"comments":{"href":"https://api.github.com/repos/pulp-platform/hero-sdk/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/pulp-platform/hero-sdk/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/pulp-platform/hero-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pulp-platform/hero-sdk/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/pulp-platform/hero-sdk/statuses/bcf1a6dd5b5ed69b249a3f57e19f173e0214b5f8"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"alessandrocapotondi"}}