diff options
Diffstat (limited to 'include/net/activity_stats.h')
-rw-r--r-- | include/net/activity_stats.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/net/activity_stats.h b/include/net/activity_stats.h new file mode 100644 index 00000000000..10e4c1506ee --- /dev/null +++ b/include/net/activity_stats.h | |||
@@ -0,0 +1,25 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2010 Google, Inc. | ||
3 | * | ||
4 | * This software is licensed under the terms of the GNU General Public | ||
5 | * License version 2, as published by the Free Software Foundation, and | ||
6 | * may be copied, distributed, and modified under those terms. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * Author: Mike Chan (mike@android.com) | ||
14 | */ | ||
15 | |||
16 | #ifndef __activity_stats_h | ||
17 | #define __activity_stats_h | ||
18 | |||
19 | #ifdef CONFIG_NET_ACTIVITY_STATS | ||
20 | void activity_stats_update(void); | ||
21 | #else | ||
22 | #define activity_stats_update(void) {} | ||
23 | #endif | ||
24 | |||
25 | #endif /* _NET_ACTIVITY_STATS_H */ | ||