I am a Postdoctoral Research Fellow with The SUTD-MIT International Design Centre (IDC), Singapore University of Technology and Design (SUTD). My research topic is about protocol and algorithm design, resource allocation and localisation in wireless sensor network, UAV network and Ad Hoc network. I also enjoy the mobile programming (Android and Objective-C) and web server development. Thanks for sharing.
Mar 15, 2011
Use time function to get timestamp in nanoseconds on Linux
#include < time.h >
#include < stdio.h >
int GetTime()
{
   struct timespec tsp;
   clock_gettime(CLOCK_REALTIME, &tsp);   //Call clock_gettime to fill tsp
   fprintf(stdout, "time=%d.%d\n", tsp.tv_sec, tsp.tv_nsec);
   fflush(stdout);
}
Subscribe to:
Post Comments (Atom)
Sydney Cyber Army: Use Time Function To Get Timestamp In Nanoseconds On Linux >>>>> Download Now
ReplyDelete>>>>> Download Full
Sydney Cyber Army: Use Time Function To Get Timestamp In Nanoseconds On Linux >>>>> Download LINK
>>>>> Download Now
Sydney Cyber Army: Use Time Function To Get Timestamp In Nanoseconds On Linux >>>>> Download Full
>>>>> Download LINK fA