32e5d9b154
Add commands to enable and disable the pipeline on the thread. Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com> Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
25 lines
406 B
C
25 lines
406 B
C
/* SPDX-License-Identifier: BSD-3-Clause
|
|
* Copyright(c) 2010-2018 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _INCLUDE_THREAD_H_
|
|
#define _INCLUDE_THREAD_H_
|
|
|
|
#include <stdint.h>
|
|
|
|
int
|
|
thread_pipeline_enable(uint32_t thread_id,
|
|
const char *pipeline_name);
|
|
|
|
int
|
|
thread_pipeline_disable(uint32_t thread_id,
|
|
const char *pipeline_name);
|
|
|
|
int
|
|
thread_init(void);
|
|
|
|
int
|
|
thread_main(void *arg);
|
|
|
|
#endif /* _INCLUDE_THREAD_H_ */
|