SimpleKernel 1.17.0
Loading...
Searching...
No Matches
KernelFdtTest Class Reference
Inheritance diagram for KernelFdtTest:
Inheritance graph
Collaboration diagram for KernelFdtTest:
Collaboration graph

Protected Member Functions

void SetUp () override
 
void TearDown () override
 

Protected Attributes

test_env::TestEnvironmentState env_state_
 

Detailed Description

Definition at line 12 of file kernel_fdt_test.cpp.

Member Function Documentation

◆ SetUp()

void KernelFdtTest::SetUp ( )
inlineoverrideprotected

Definition at line 14 of file kernel_fdt_test.cpp.

14 {
17 env_state_.BindThreadToCore(std::this_thread::get_id(), 0);
18 }
test_env::TestEnvironmentState env_state_
void BindThreadToCore(std::thread::id tid, size_t core_id)
将指定线程绑定到核心
void InitializeCores(size_t num_cores)
初始化指定数量的核心
void SetCurrentThreadEnvironment()
设置当前线程的环境实例指针
Here is the call graph for this function:

◆ TearDown()

void KernelFdtTest::TearDown ( )
inlineoverrideprotected

Definition at line 20 of file kernel_fdt_test.cpp.

void ClearCurrentThreadEnvironment()
清除当前线程的环境实例指针
Here is the call graph for this function:

Member Data Documentation

◆ env_state_

test_env::TestEnvironmentState KernelFdtTest::env_state_
protected

Definition at line 22 of file kernel_fdt_test.cpp.


The documentation for this class was generated from the following file: