797426290dfc752dd46e4a6ebe9379e68c5c6706
[firefly-linux-kernel-4.4.55.git] / tools / gator / daemon / KMod.h
1 /**
2  * Copyright (C) ARM Limited 2013. All rights reserved.
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  */
8
9 #ifndef KMOD_H
10 #define KMOD_H
11
12 #include "Driver.h"
13
14 // Driver for the gator kernel module
15 class KMod : public Driver {
16 public:
17         KMod() {}
18         ~KMod() {}
19
20         bool claimCounter(const Counter &counter) const;
21         void resetCounters();
22         void setupCounter(Counter &counter);
23
24         void writeCounters(mxml_node_t *root) const;
25 };
26
27 #endif // KMOD_H