F
Fred Ma
Hello,
I was trying to make sure that my code is
not dysfunctionally dependent on quirks
particular to my current system. I read
the comp.lang.c faq on subsecond timing.
It says there's no standard way, but suggests
looking at gettimeofday (which I currently
use on solaris, but got worried when I
found documentation on it missing from
cygwin). From previous posts on gettimeofday,
it *seems* it is defacto standard in the unix
community. I wonder if anyone can offer their
opinion of how prevelant it is. I can live
with defacto standards in the unix community.
And since it's available on cygwin, that
makes it accessible to me on a PC. Thanks
for any feedback.
Fred
I was trying to make sure that my code is
not dysfunctionally dependent on quirks
particular to my current system. I read
the comp.lang.c faq on subsecond timing.
It says there's no standard way, but suggests
looking at gettimeofday (which I currently
use on solaris, but got worried when I
found documentation on it missing from
cygwin). From previous posts on gettimeofday,
it *seems* it is defacto standard in the unix
community. I wonder if anyone can offer their
opinion of how prevelant it is. I can live
with defacto standards in the unix community.
And since it's available on cygwin, that
makes it accessible to me on a PC. Thanks
for any feedback.
Fred