My Professional Profile

I am Johnson Augustine Sr.Software Engineer and System Architect. I have 10 Yrs of hands on expertise in MVC 5 , Angular 5 , C# MVC Razor, WPF MVVM , Android , IOS Swift 3 , IOS11 MSSQL,MySQL Database,,PHP,C/C++/Visual C++/G++/QT++,Com,DirectX,Open CV,EMGU CV , embedded System Development , [Raspberry PI]. ,html,Javascript,Jquery,Ajax.CSS , Networking ,Cyber security, Ethical Hacking You can see my professional profile at Email :

Saturday, 18 May 2013

Get time in milliseconds in c++

Get time in milliseconds in c++

void GetMilliSec()
struct timeval  tv;
gettimeofday(&tv, NULL);

long time_in_mill =
         (tv.tv_sec) * 1000 + (tv.tv_usec) / 1000 ;
std::cout<<"\n\nTime in millisec"<<time_in_mill<<"\n";

No comments:

Post a Comment

Note: only a member of this blog may post a comment.