I'd like an equivalent of (time_t)(gethrtime() / (hrtime_t)1000000000) that 
doesn't use
integer divide (or at least hides that detail.

Searching through sys/time.h, I found gethrestime_sec().  Is this the best 
choice for
obtaining elapsed-time in seconds?

Thanks,
Dan
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to