pastebin - collaborative debugging tool
rovema.kpaste.net RSS


How precise is busy sleeping on nic clock ?
Posted by Anonymous on Tue 2nd Nov 2021 10:58
raw | new post
view followups (newest first): How precise is busy sleeping on nic clock ? by Anonymous

  1. # chrt --fifo 80 ksh93 -c 'for((i=0 ; i < 10 ; i++)) ; do /home/test001/sleep_on_nic_clock1 | fgrep "diff(curr" ; done'
  2. end_time=1635850618463770074, curr_ns=1635850618463776938, diff(curr-end)=6864
  3. end_time=1635850619465874042, curr_ns=1635850619465879146, diff(curr-end)=5104
  4. end_time=1635850620467940266, curr_ns=1635850620467946730, diff(curr-end)=6464
  5. end_time=1635850621470062970, curr_ns=1635850621470063274, diff(curr-end)=304
  6. end_time=1635850622472178202, curr_ns=1635850622472183802, diff(curr-end)=5600
  7. end_time=1635850623474399306, curr_ns=1635850623474405114, diff(curr-end)=5808
  8. end_time=1635850624476443562, curr_ns=1635850624476447770, diff(curr-end)=4208
  9. end_time=1635850625478573274, curr_ns=1635850625478578474, diff(curr-end)=5200
  10. end_time=1635850626480694570, curr_ns=1635850626480700730, diff(curr-end)=6160
  11. end_time=1635850627482733914, curr_ns=1635850627482739002, diff(curr-end)=5088

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at