zephyr/include
Charles E. Youse 3036faf88a tests/benchmarks: fix BOOT_TIME_MEASUREMENT
The boot time measurement sample was giving bogus values on x86: an
assumption was made that the system timer is in sync with the CPU TSC,
which is not the case on most x86 boards.

Boot time measurements are no longer permitted unless the timer source
is the local APIC. To avoid issues of TSC scaling, the startup datum
has been forced to 0, which is in line with the ARM implementation
(which is the only other platform which supports this feature).

Cleanups along the way:

As the datum is now assumed zero, some variables are removed and
calculations simplified. The global variables involved in boot time
measurements are moved to the kernel.h header rather than being
redeclared in every place they are referenced. Since none of the
measurements actually use 64-bit precision, the samples are reduced
to 32-bit quantities.

In addition, this feature has been enabled in long mode.

Fixes: #19144

Signed-off-by: Charles E. Youse <charles.youse@intel.com>
2019-09-21 16:43:26 -07:00
..
app_memory
arch tests/benchmarks: fix BOOT_TIME_MEASUREMENT 2019-09-21 16:43:26 -07:00
audio
bluetooth Bluetooth: GATT: Use check_perm to check CCC permission 2019-09-19 21:12:39 +03:00
cmsis_rtos_v1
cmsis_rtos_v2
console console: Remove deprecated function console_register_line_input 2019-09-18 19:14:25 -05:00
crypto
data
debug debug: tracing: add sys_trace_thread_name_set 2019-09-19 00:37:35 -04:00
dfu
disk
display
drivers console: Remove deprecated function console_register_line_input 2019-09-18 19:14:25 -05:00
dt-bindings irq: rv32m1: Fixup IRQ values for multi-level IRQ handling 2019-09-10 07:34:57 -05:00
fs fcb: start using errno codes 2019-09-08 12:42:53 +02:00
linker linker: cxx: Include .gcc_except_table sections 2019-09-19 09:26:42 -05:00
logging logging: Add basic userspace support 2019-08-27 14:29:21 -04:00
mgmt
misc
net net: sockets: Store socket private data into its own variable 2019-09-18 23:47:36 +03:00
nvs
posix posix: pthread: pthread_mutex_timedlock should accept absolute deadline 2019-08-27 17:50:48 -04:00
power
random
settings
shell
stats
storage include: rearrange for standard use of extern "C" in various headers 2019-08-13 18:00:31 +02:00
sys lib/timeutil: avoid implementation-defined behavior 2019-09-19 20:49:51 -04:00
toolchain toolchain: Add __BYTE_ORDER__ definition to the GCC toolchain header. 2019-09-19 08:13:52 -04:00
usb
zephyr
adc.h
atomic.h
base64.h
cache.h
can.h
clock_control.h
console.h
counter.h
crc.h
device.h include: rearrange for standard use of extern "C" in various headers 2019-08-13 18:00:31 +02:00
disk_access.h
display.h
dma.h
entropy.h
espi.h
exc_handle.h
fatal.h kernel: remove z_fatal_print() 2019-09-12 05:17:39 -04:00
fcb.h
flash_map.h
flash.h
fs.h
generated_dts_board.h
gna.h
gpio.h
hwinfo.h
i2c.h
i2s.h
init.h
ipm.h
irq_nextlevel.h irq_nextlevel: add API to query if an IRQ line is enabled 2019-09-07 10:20:51 -04:00
irq_offload.h
irq.h
json.h
kernel_includes.h
kernel_version.h
kernel.h tests/benchmarks: fix BOOT_TIME_MEASUREMENT 2019-09-21 16:43:26 -07:00
led_strip.h
led.h
pinmux.h
power.h
ptp_clock.h include: rearrange for standard use of extern "C" in various headers 2019-08-13 18:00:31 +02:00
pwm.h
ring_buffer.h
sched_priq.h
sensor.h
shared_irq.h
spi.h
spinlock.h spinlock: Make sure C and C++ have the same sizeof(k_spinlock) value 2019-09-16 14:34:24 -05:00
stats.h
sw_isr_table.h include: rearrange for standard use of extern "C" in various headers 2019-08-13 18:00:31 +02:00
sys_clock.h include: rearrange for standard use of extern "C" in various headers 2019-08-13 18:00:31 +02:00
sys_io.h
syscall.h kernel: syscalls: Whitespace fixups 2019-09-12 11:31:50 +08:00
toolchain.h headers: Removed include other.h from toolchain.h 2019-09-13 11:14:56 +02:00
tracing.h
tty.h
uart.h
updatehub.h
watchdog.h
zephyr.h