Re: memcpy question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Michael,

It appears that on your system, your routine is often running faster than
the granularity of your time source.

One way to compensate is by wrapping the memcpy in a for(int j = 0; j < 100;
++j) so that the routine does not run too fast for the granularity.

--Eljay


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux