commit | fc577c4bd1e87ecfa6954236d7511d81509f8270 | [log] [tgz] |
---|---|---|
author | Daniel Leung <daniel.leung@intel.com> | Thu Aug 27 13:54:14 2020 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Wed Nov 11 23:55:49 2020 -0500 |
tree | f045447b184a40a65c0bce44d6542557839d9749 | |
parent | 9be37553eee22bc16f8740fa2e2ad17b7bccd509 [diff] |
kernel: gather basic thread runtime statistics This adds the bits to gather the first thread runtime statictic: thread execution time. It provides a rough idea of how much time a thread is spent in active execution. Currently it is not being used, pending following commits where it combines with the trace points on context switch as they instrument the same locations. Signed-off-by: Daniel Leung <daniel.leung@intel.com>