| 
    Zephyr Project API
    3.2.0
    
   A Scalable Open Source RTOS 
   | 
 
Functions | |
| static | K_SEM_DEFINE (test_exit_sem, 0, 1) | 
| static void | calculate_pi_low (void) | 
| Entry point for the low priority pi compute task.  More... | |
| static void | calculate_pi_high (void) | 
| Entry point for the high priority pi compute task.  More... | |
| K_THREAD_DEFINE (pi_low,(1024+CONFIG_TEST_EXTRA_STACK_SIZE), calculate_pi_low, NULL, NULL, NULL, 10,(K_FP_REGS), K_TICKS_FOREVER) | |
| K_THREAD_DEFINE (pi_high,(1024+CONFIG_TEST_EXTRA_STACK_SIZE), calculate_pi_high, NULL, NULL, NULL, 5,(K_FP_REGS), K_TICKS_FOREVER) | |
| ZTEST (fpu_sharing_generic, test_pi) | |
Variables | |
| static float | reference_pi = 0.0f | 
| static volatile unsigned int | calc_pi_low_count | 
| static volatile unsigned int | calc_pi_high_count | 
| static volatile bool | test_exited | 
      
  | 
  static | 
Entry point for the high priority pi compute task.
      
  | 
  static | 
Entry point for the low priority pi compute task.
      
  | 
  static | 
| K_THREAD_DEFINE | ( | pi_high | , | 
| (1024+CONFIG_TEST_EXTRA_STACK_SIZE) | , | ||
| calculate_pi_high | , | ||
| NULL | , | ||
| NULL | , | ||
| NULL | , | ||
| 5 | , | ||
| (K_FP_REGS) | , | ||
| K_TICKS_FOREVER | |||
| ) | 
| K_THREAD_DEFINE | ( | pi_low | , | 
| (1024+CONFIG_TEST_EXTRA_STACK_SIZE) | , | ||
| calculate_pi_low | , | ||
| NULL | , | ||
| NULL | , | ||
| NULL | , | ||
| 10 | , | ||
| (K_FP_REGS) | , | ||
| K_TICKS_FOREVER | |||
| ) | 
| ZTEST | ( | fpu_sharing_generic | , | 
| test_pi | |||
| ) | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static |