Eliminate nanokernel's nanometrics.c
File contents moved to the nanokernel initialization file, since they don't warrant their own distinct source file. Change-Id: I61329067a077c421e2889c745ea44eef78ce37cb Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
This commit is contained in:
parent
b22d902e44
commit
63fae40f7d
3 changed files with 8 additions and 43 deletions
|
@ -63,6 +63,14 @@ const char * const build_timestamp = BUILD_TIMESTAMP;
|
|||
#define PRINT_BOOT_BANNER() printk(BOOT_BANNER " %s\n", build_timestamp)
|
||||
#endif
|
||||
|
||||
/* boot time measurement items */
|
||||
|
||||
#ifdef CONFIG_BOOT_TIME_MEASUREMENT
|
||||
uint64_t __noinit __start_tsc; /* timestamp when kernel starts */
|
||||
uint64_t __noinit __main_tsc; /* timestamp when main() starts */
|
||||
uint64_t __noinit __idle_tsc; /* timestamp when CPU goes idle */
|
||||
#endif
|
||||
|
||||
/* random number generator items */
|
||||
#if defined(CONFIG_TEST_RANDOM_GENERATOR) || \
|
||||
defined(CONFIG_CUSTOM_RANDOM_GENERATOR)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue