x86: remove redunant idle timestamp setting
This metric shows when the system first enters an idle state, which has already been recorded in the arch- independent implementation of the idle thread. Only x86 was doing this. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
f6fb634b89
commit
fa22ecffec
1 changed files with 0 additions and 4 deletions
|
@ -21,10 +21,6 @@
|
|||
void z_arch_cpu_idle(void)
|
||||
{
|
||||
sys_trace_idle();
|
||||
#if defined(CONFIG_BOOT_TIME_MEASUREMENT)
|
||||
__idle_time_stamp = k_cycle_get_32();
|
||||
#endif
|
||||
|
||||
__asm__ volatile (
|
||||
"sti\n\t"
|
||||
"hlt\n\t");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue