--- /dev/null
+all: powertop
+
+OBJS := main.o cpu.o
+HEADERS := cpu.h
+
+
+clean:
+ rm -f *.o *~ powertop DEADJOE
+
+powertop: $(OBJS) $(HEADERS)
+ g++ $(OBJS) -o powertop
--- /dev/null
+#include <iostream>
+#include <vector>
+#include <string>
+
+using namespace std;
+
+class abstract_cpu;
+
+class abstract_cpu
+{
+public:
+ vector<class abstract_cpu> children;
+
+ void measurement_start(void);
+ void measurement_end(void):
+};
+
+class cpu_linux: public abstract_cpu
+{
+};
+
+class cpu_core: public abstract_cpu
+{
+};
+
+class cpu_package: public abstract_cpu
+{
+};