• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /**
2  * Copyright (c) 2020 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *   http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  *
15  */
16 
17 #ifndef KERNEL_TEST_H
18 #define KERNEL_TEST_H
19 
20 #define TESTCOUNT_NUM_1 1
21 #define TESTCOUNT_NUM_2 2
22 #define TESTCOUNT_NUM_3 3
23 #define TESTCOUNT_NUM_4 4
24 #define TESTCOUNT_NUM_5 5
25 
26 #define DELAY_TICKS_1 1
27 #define DELAY_TICKS_5 5
28 #define DELAY_TICKS_10 10
29 
30 #define TEST_TASK_STACK_SIZE      0x600
31 #define TASK_LOOP_NUM         0x10000000
32 #define TEST_TIME 10
33 #define THREAD_COUNT_MIN    3
34 #define THREAD_COUNT_MAX    30
35 #define THREAD_STACK_SPACE_MAX    4096
36 #define MAX_UINT32 0xFFFFFFFF
37 #define ALIVE_INFO_DIS 10000
38 
39 #ifdef __cplusplus
40 #if __cplusplus
41 #endif
42 #endif /* __cplusplus */
43 #endif
44