GetThreadTimes
GetThreadTimes is a function in the Windows API that retrieves timing information for a specified thread. This information includes the creation time of the thread, the exit time, the kernel time spent executing, and the user-mode time spent executing. The function returns a structure containing these values as FILETIME data types.
To use GetThreadTimes, you must first obtain a handle to the thread for which you want to
The returned FILETIME values represent the number of 100-nanosecond intervals since January 1, 1601 (UTC). Kernel
This function is useful for performance analysis, debugging, and understanding the resource consumption of individual threads