huangcm
2025-02-26 a813214788f6e7b512df54f1c659cd0bdc9ac175
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * include/linux/sunxi_timer_test.h
 *
 * Copyright(c) 2013-2015 Allwinnertech Co., Ltd.
 *      http://www.allwinnertech.com
 *
 * Author: liugang <liugang@allwinnertech.com>
 *
 * sunxi timer test head file
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 */
 
#ifndef __SUNXI_TIMER_TEST_H
#define __SUNXI_TIMER_TEST_H
 
enum e_sunxi_timer_test_cmd {
   TIMER_TEST_CMD_FUNC_NORMAL,
   TIMER_TEST_CMD_FUNC_HRTIMER,
};
 
struct timer_test_para {
   unsigned int timer_interv_us; /* timer interval in us */
   unsigned int print_gap_s;     /* print gap in s */
   unsigned int total_test_s;    /* total test time in s */
};
 
#endif