MCPcopy Create free account
hub / github.com/boostorg/build / record_times

Function record_times

src/engine/execnt.cpp:750–763  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

748
749
750static void record_times( HANDLE const process, timing_info * const time )
751{
752 FILETIME creation;
753 FILETIME exit;
754 FILETIME kernel;
755 FILETIME user;
756 if ( GetProcessTimes( process, &creation, &exit, &kernel, &user ) )
757 {
758 time->system = filetime_to_seconds( kernel );
759 time->user = filetime_to_seconds( user );
760 timestamp_from_filetime( &time->start, &creation );
761 timestamp_from_filetime( &time->end, &exit );
762 }
763}
764
765
766static char ioBuffer[ IO_BUFFER_SIZE + 1 ];

Callers 1

exec_waitFunction · 0.85

Calls 2

filetime_to_secondsFunction · 0.85
timestamp_from_filetimeFunction · 0.85

Tested by

no test coverage detected