commit | 1eba3545c124077ede6f2486ddbab78f5ff6a5af | [log] [tgz] |
---|---|---|
author | Daniel Leung <daniel.leung@intel.com> | Wed Mar 31 14:51:58 2021 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Tue Apr 06 16:43:55 2021 -0400 |
tree | 42f1595574759eed9d9316741afbc71c4148d1b2 | |
parent | 1559712b227f2c731890386089d89638d474c381 [diff] |
x86: timing: allow userspace to convert cycles to ns The variable tsc_freq is not accessible in user thread and is thus preventing user threads to convert cycles to ns. So make tsc_freq available globally in default memory domain so conversion is possible. Signed-off-by: Daniel Leung <daniel.leung@intel.com>