{"action":"created","issue":{"url":"https://api.github.com/repos/AVnu/Open-AVB/issues/222","labels_url":"https://api.github.com/repos/AVnu/Open-AVB/issues/222/labels{/name}","comments_url":"https://api.github.com/repos/AVnu/Open-AVB/issues/222/comments","events_url":"https://api.github.com/repos/AVnu/Open-AVB/issues/222/events","html_url":"https://github.com/AVnu/Open-AVB/issues/222","id":83488650,"number":222,"title":"Issue on SYNC interval !","user":{"login":"Hrusikesh4302","id":9816626,"avatar_url":"https://avatars.githubusercontent.com/u/9816626?v=3","gravatar_id":"","url":"https://api.github.com/users/Hrusikesh4302","html_url":"https://github.com/Hrusikesh4302","followers_url":"https://api.github.com/users/Hrusikesh4302/followers","following_url":"https://api.github.com/users/Hrusikesh4302/following{/other_user}","gists_url":"https://api.github.com/users/Hrusikesh4302/gists{/gist_id}","starred_url":"https://api.github.com/users/Hrusikesh4302/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hrusikesh4302/subscriptions","organizations_url":"https://api.github.com/users/Hrusikesh4302/orgs","repos_url":"https://api.github.com/users/Hrusikesh4302/repos","events_url":"https://api.github.com/users/Hrusikesh4302/events{/privacy}","received_events_url":"https://api.github.com/users/Hrusikesh4302/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AVnu/Open-AVB/labels/gPTP","name":"gPTP","color":"006b75"},{"url":"https://api.github.com/repos/AVnu/Open-AVB/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2015-06-01T13:15:44Z","updated_at":"2015-06-08T18:44:21Z","closed_at":null,"body":"Hi @andrew-elder ,\r\nI am trying to measure the SYNC interval from the software and I am getting it around  129-131 msec. I tried to understand the snippet which starts the event timer on SYNC_INTERVAL_TIMEOUT_EXPIRES\r\n\r\n\t\t\t\t  wait_time =\r\n\t\t\t\t\t  ((long long)\r\n\t\t\t\t\t   (pow((double)2,getSyncInterval())*1000000000.0)) -\r\n\t\t\t\t\t  wait_time;\r\n\t\t\t\t  wait_time = wait_time > EVENT_TIMER_GRANULARITY ? wait_time :\r\n\t\t\t\t\t  EVENT_TIMER_GRANULARITY;\r\n\t\t\t\t  clock->addEventTimer\r\n\t\t\t\t\t  ( this, SYNC_INTERVAL_TIMEOUT_EXPIRES, wait_time );\r\n   I am always getting the wait_time = 124000000, but when I measure the interval using gettimeofday() I am getting ~129 msec. I tried to narrow down the interval by adjusting the wait_time but it is not working expectedly. \r\n\r\nThanks\r\nHrusikesh\r\n   "},"comment":{"url":"https://api.github.com/repos/AVnu/Open-AVB/issues/comments/110104109","html_url":"https://github.com/AVnu/Open-AVB/issues/222#issuecomment-110104109","issue_url":"https://api.github.com/repos/AVnu/Open-AVB/issues/222","id":110104109,"user":{"login":"keyurparekh1","id":5153885,"avatar_url":"https://avatars.githubusercontent.com/u/5153885?v=3","gravatar_id":"","url":"https://api.github.com/users/keyurparekh1","html_url":"https://github.com/keyurparekh1","followers_url":"https://api.github.com/users/keyurparekh1/followers","following_url":"https://api.github.com/users/keyurparekh1/following{/other_user}","gists_url":"https://api.github.com/users/keyurparekh1/gists{/gist_id}","starred_url":"https://api.github.com/users/keyurparekh1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keyurparekh1/subscriptions","organizations_url":"https://api.github.com/users/keyurparekh1/orgs","repos_url":"https://api.github.com/users/keyurparekh1/repos","events_url":"https://api.github.com/users/keyurparekh1/events{/privacy}","received_events_url":"https://api.github.com/users/keyurparekh1/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T18:44:21Z","updated_at":"2015-06-08T18:44:21Z","body":"Hi Jeff,\r\n\r\nSo are you going to check GPTP daemon again for this 129ms delay?"}}