summaryrefslogtreecommitdiff
path: root/tools/gator/daemon/PmuXML.h
blob: 173db9c7ecae146e52886a3dbcee9d1a0e580602 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/**
 * Copyright (C) ARM Limited 2010-2016. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#ifndef PMUXML_H
#define PMUXML_H

class PmuXML {
public:
	PmuXML();
	~PmuXML();

	static void read(const char *const path);
	static void writeToKernel();

private:
	static void parse(const char *const xml);
	static void getDefaultXml(const char **const xml, unsigned int *const len);

	// Intentionally unimplemented
	PmuXML(const PmuXML &);
	PmuXML &operator=(const PmuXML &);
};

#endif // PMUXML_H