Skip to main content
GameDev.net gamedev.net
🔒 Locked

Get process time in Windows

Started by amak Dec 3, 2004 at 8:26 AM 1 replies 1.4k views
Original Post
amak
amak
Hi. i want function similar to times() (of Unix) in windows. We pass a pointer to a structure to times() and he fills the structure with information about the time wasted by the process like real time, system time and process time. It have to be win32. I'm using Mingw.
kSquared
kSquared
The closest thing to what you want is GetProcessTimes().
- k2 "Choose a job you love, and you'll never have to work a day in your life." — Confucius"Logic will get you from A to B. Imagination will get you everywhere." — Albert Einstein"Money is the most egalitarian force in society. It confers power on whoever holds it." — Roger Starr{General Programming Forum FAQ<
amak
amak
Thanks

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.