| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * tmon.h contains data structures and constants used by TMON |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2012 Intel Corporation. All rights reserved. |
|---|
| 5 | 6 | * |
|---|
| 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 | | - * |
|---|
| 15 | 7 | * Author Name Jacob Pan <jacob.jun.pan@linux.intel.com> |
|---|
| 16 | | - * |
|---|
| 17 | 8 | */ |
|---|
| 18 | 9 | |
|---|
| 19 | 10 | #ifndef TMON_H |
|---|
| .. | .. |
|---|
| 36 | 27 | #define NR_LINES_TZDATA 1 |
|---|
| 37 | 28 | #define TMON_LOG_FILE "/var/tmp/tmon.log" |
|---|
| 38 | 29 | |
|---|
| 30 | +#include <sys/time.h> |
|---|
| 31 | +#include <pthread.h> |
|---|
| 32 | + |
|---|
| 39 | 33 | extern unsigned long ticktime; |
|---|
| 40 | 34 | extern double time_elapsed; |
|---|
| 41 | 35 | extern unsigned long target_temp_user; |
|---|