hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/tools/thermal/tmon/tmon.h
....@@ -1,19 +1,10 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * tmon.h contains data structures and constants used by TMON
34 *
45 * Copyright (C) 2012 Intel Corporation. All rights reserved.
56 *
6
- * This program is free software; you can redistribute it and/or
7
- * modify it under the terms of the GNU General Public License version
8
- * 2 or later as published by the Free Software Foundation.
9
- *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU General Public License for more details.
14
- *
157 * Author Name Jacob Pan <jacob.jun.pan@linux.intel.com>
16
- *
178 */
189
1910 #ifndef TMON_H
....@@ -36,6 +27,9 @@
3627 #define NR_LINES_TZDATA 1
3728 #define TMON_LOG_FILE "/var/tmp/tmon.log"
3829
30
+#include <sys/time.h>
31
+#include <pthread.h>
32
+
3933 extern unsigned long ticktime;
4034 extern double time_elapsed;
4135 extern unsigned long target_temp_user;