/** * Copyright (c) 2020 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ #ifndef KERNEL_TEST_H #define KERNEL_TEST_H #define TESTCOUNT_NUM_1 1 #define TESTCOUNT_NUM_2 2 #define TESTCOUNT_NUM_3 3 #define TESTCOUNT_NUM_4 4 #define TESTCOUNT_NUM_5 5 #define DELAY_TICKS_1 1 #define DELAY_TICKS_5 5 #define DELAY_TICKS_10 10 #define TEST_TASK_STACK_SIZE 0x600 #define TASK_LOOP_NUM 0x10000000 #define TEST_TIME 10 #define THREAD_COUNT_MIN 3 #define THREAD_COUNT_MAX 30 #define THREAD_STACK_SPACE_MAX 4096 #define MAX_UINT32 0xFFFFFFFF #define ALIVE_INFO_DIS 10000 #ifdef __cplusplus #if __cplusplus #endif #endif /* __cplusplus */ #endif