blob: fb7fc8a8f9c6200fc31a9fe190d36d3d309370df [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001/**
2 * Copyright (C) ARM Limited 2013-2014. 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
15class KMod : public Driver {
16public:
17 KMod() {}
18 ~KMod() {}
19
20 bool claimCounter(const Counter &counter) const;
21 void resetCounters();
22 void setupCounter(Counter &counter);
23
24 int writeCounters(mxml_node_t *root) const;
25};
26
27#endif // KMOD_H