어떤 함수(A라고 지칭)를 10초에 한번씩 정확하게 수행하려고 하는데 clock함수로 함수 수행 시간을 측정 하려고 하는데 이때 clock함수 자체를 수행하는데 걸리는 시간이 얼마나 되는지.. 알고 싶습니다..
그리고 A함수를 수행하는데 1.2초가 걸렸다고 하면 나머지 8.8초동안 대기를 해야 하는데 sleep보다 좀 정확하게 대기할수 잇는 방법이 잇을까요?
gettimeofday() 사용하는 방법이 있으니. 참고해보세요.http://codepad.org/FXwrtUF4https://kldp.org/node/154508
C언어 타이머 '구글 검색http://h3xis9.tistory.com/22http://mwultong.blogspot.com/2007/08/c-timer-stopwatch.htmlhttps://m.blog.naver.com/PostView.nhn?blogId=lghlove0509&logNo=220360870096&proxyReferer=https%3A%2F%2Fwww.google.co.kr%2Fhttp://taehyun71.tistory.com/32http://cpattern.tistory.com/72http://sinwho.tistory.com/entry/%EB%A6%AC%EB%88%85%EC%8A%A4-C%EC%96%B8%EC%96%B4-%ED%83%80%EC%9D%B4%EB%A8%B8Timer-%EC%82%AC%EC%9A%A9%EB%B2%95-%EB%B0%8F-%EC%98%88%EC%A0%9Chttps://kldp.org/node/3006http://www.realhanbit.co.kr/books/154/pages/1468/previewhttp://www.realhanbit.co.kr/books/154/pages/1417/previewhttp://kama1204.tistory.com/entry/Timerhttp://rockdrumy.tistory.com/999http://comfilewiki.co.kr/ko/doku.php?id=cublocapp:an41002:index
윈도우http://gogoprogramming.blogspot.com/2013/01/c_1339.htmlhttps://docs.microsoft.com/ko-kr/azure/azure-functions/durable-functions-timershttp://comfilewiki.co.kr/ko/doku.php?id=cublocapp:an41002:index
---------------------------------------------------------------------------- 젊음'은 모든것을 가능하게 만든다.
매일 1억명이 사용하는 프로그램을 함께 만들어보고 싶습니다. 정규 근로 시간을 지키는. 야근 없는 회사와 거래합니다.
각 분야별. 좋은 책'이나 사이트' 블로그' 링크 소개 받습니다. shintx@naver.com
텍스트 포맷에 대한 자세한 정보
<code>
<blockcode>
<apache>
<applescript>
<autoconf>
<awk>
<bash>
<c>
<cpp>
<css>
<diff>
<drupal5>
<drupal6>
<gdb>
<html>
<html5>
<java>
<javascript>
<ldif>
<lua>
<make>
<mysql>
<perl>
<perl6>
<php>
<pgsql>
<proftpd>
<python>
<reg>
<spec>
<ruby>
<foo>
[foo]
참고해보세요.
gettimeofday() 사용하는 방법이 있으니. 참고해보세요.
http://codepad.org/FXwrtUF4
https://kldp.org/node/154508
C언어 타이머 '구글 검색
http://h3xis9.tistory.com/22
http://mwultong.blogspot.com/2007/08/c-timer-stopwatch.html
https://m.blog.naver.com/PostView.nhn?blogId=lghlove0509&logNo=220360870096&proxyReferer=https%3A%2F%2Fwww.google.co.kr%2F
http://taehyun71.tistory.com/32
http://cpattern.tistory.com/72
http://sinwho.tistory.com/entry/%EB%A6%AC%EB%88%85%EC%8A%A4-C%EC%96%B8%EC%96%B4-%ED%83%80%EC%9D%B4%EB%A8%B8Timer-%EC%82%AC%EC%9A%A9%EB%B2%95-%EB%B0%8F-%EC%98%88%EC%A0%9C
https://kldp.org/node/3006
http://www.realhanbit.co.kr/books/154/pages/1468/preview
http://www.realhanbit.co.kr/books/154/pages/1417/preview
http://kama1204.tistory.com/entry/Timer
http://rockdrumy.tistory.com/999
http://comfilewiki.co.kr/ko/doku.php?id=cublocapp:an41002:index
윈도우
http://gogoprogramming.blogspot.com/2013/01/c_1339.html
https://docs.microsoft.com/ko-kr/azure/azure-functions/durable-functions-timers
http://comfilewiki.co.kr/ko/doku.php?id=cublocapp:an41002:index
----------------------------------------------------------------------------
젊음'은 모든것을 가능하게 만든다.
매일 1억명이 사용하는 프로그램을 함께 만들어보고 싶습니다.
정규 근로 시간을 지키는. 야근 없는 회사와 거래합니다.
각 분야별. 좋은 책'이나 사이트' 블로그' 링크 소개 받습니다. shintx@naver.com
댓글 달기