Lines Matching full:context

23 /** @internal Internal ID's to distinguish context type. */
36 /** @brief Descriptor of a k_timer handler execution context.
38 * The handler is executed in the k_timer handler context which typically means
39 * interrupt context. This context will preempt any other used in the set.
41 * @note There can only be up to one k_timer context in the set and it must be the
58 /** @brief Descriptor of a thread execution context.
60 * The handler is executed in the thread context. The priority of the thread is
73 * @param preempt_cnt Number of preemptions of that context to complete the test.
85 * @param user_data User data provided in the context descriptor.
92 * @param prio Context priority counting from 0 which indicates the highest priority.
95 * @retval false stop executing the current context.
99 /** @internal Context structure. */
111 * thread context.
119 /** @brief Initialize context structure.
139 /** @internal Strip first argument (context type) and call struct initializer. */
143 /** @internal Macro for initializing context data. */
147 /** @internal Macro for checking if provided context is a timer context. */
151 /** @internal If context descriptor is @ref ZTRESS_TIMER, it returns index of that
157 /** @internal Macro validates that @ref ZTRESS_TIMER context is not used except for
162 "There can only be up to one ZTRESS_TIMER context and it must " \
171 * used. Each thread context has an assigned priority. The priority is assigned in
172 * a descending order (first listed thread context has the highest priority).
173 * The maximum number of supported thread contexts, including the timer context,
201 * @param timer_data Timer context. NULL if timer context is not used.
226 * Report contains number of executions and preemptions for each context, initial
231 /** @brief Get number of executions of a given context in the last test.
233 * @param id Context id. 0 means the highest priority.
239 /** @brief Get number of preemptions of a given context in the last test.
241 * @param id Context id. 0 means the highest priority.
247 /** @brief Get optimized timeout base of a given context in the last test.
252 * @param id Context id. 0 means the highest priority.