timing: introduce timing functions as a generic feature
Add timing functions and APIs. This is now used with some of the tests we have for performance and metrics and will be used whereever timing informations are needed, for example for tracing, profiling and other operations where timing info is critical. Signed-off-by: Daniel Leung <daniel.leung@intel.com> Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
80fb6538b3
commit
0ffcfa9633
7 changed files with 117 additions and 0 deletions
9
subsys/timing/Kconfig
Normal file
9
subsys/timing/Kconfig
Normal file
|
@ -0,0 +1,9 @@
|
|||
# Copyright (c) 2020 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config TIMING_FUNCTIONS
|
||||
bool "Timing Functions"
|
||||
help
|
||||
When enabled, timing related functions are compiled. This is
|
||||
useful for gathering timing on code execution.
|
Loading…
Add table
Add a link
Reference in a new issue