| 918 | |
| 919 | |
| 920 | static double creation_time( HANDLE const process ) |
| 921 | { |
| 922 | FILETIME creation; |
| 923 | FILETIME exit; |
| 924 | FILETIME kernel; |
| 925 | FILETIME user; |
| 926 | return GetProcessTimes( process, &creation, &exit, &kernel, &user ) |
| 927 | ? filetime_to_seconds( creation ) |
| 928 | : 0.0; |
| 929 | } |
| 930 | |
| 931 | |
| 932 | /* |
no test coverage detected