I'm not 100% sure, but, from my tests on Windows 10, Task Manager seems to concatenate times from each process
(NtQuerySystemInformation with SystemProcessInformation with SYSTEM_PROCESS_INFORMATION structure)
Perfmon uses Performance Counters
Task Manager uses them for GPU ("\GPU Engine()\Utilization Percentage"* and others, but apparently not for CPU (but to be confirmed..))