diff options
| author | Patrick Ruddy <pat@voltanet.io> | 2021-04-14 18:33:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-14 18:33:18 +0100 |
| commit | 5bb91468c55c17405d112ffe91ba01594583c2e6 (patch) | |
| tree | 10edf4414da92a455cdbc49d43d4f58a07bab3d6 /lib/thread.h | |
| parent | 8a0a716f83c1eecafb8d3a3c7cbf0b153b8c4280 (diff) | |
| parent | 9b8e01cae44cf6cb3a1a08c483ab0deceda21375 (diff) | |
Merge pull request #8003 from donaldsharp/timings
lib: Differentiate between real and cpu bound processes
Diffstat (limited to 'lib/thread.h')
| -rw-r--r-- | lib/thread.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/thread.h b/lib/thread.h index af68331131..fee728dbf9 100644 --- a/lib/thread.h +++ b/lib/thread.h @@ -119,6 +119,8 @@ struct thread { struct cpu_thread_history { int (*func)(struct thread *); + atomic_size_t total_cpu_warn; + atomic_size_t total_wall_warn; atomic_size_t total_calls; atomic_size_t total_active; struct time_stats { |
