Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
23 Views

Getting process start time in C/C++ program

Hi,

Linux 2.6.18-92.el5

icpc -v
Version 11.0


Is there any way to get process start time in C/C++ program?


Thanks,


Alex Vinokur


0 Kudos
2 Replies
Highlighted
Moderator
23 Views

I googled and found this GetProcessTimes(). Does it work for you?

Jennifer
0 Kudos
Highlighted
Black Belt
23 Views

I googled and found this GetProcessTimes(). Does it work for you?

Jennifer
I don't expect to find exact equivalents of Windows system calls on linux. My other simplistic guess would be one of the standard C date functions would work.
0 Kudos