2 * Copyright (C) ARM Limited 2010-2014. All rights reserved.
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.
12 #include <semaphore.h>
16 #include "PerfBuffer.h"
17 #include "PerfGroup.h"
23 class PerfSource : public Source {
25 PerfSource(sem_t *senderSem, sem_t *startProfile);
33 void write(Sender *sender);
36 bool handleUEvent(const uint64_t currTime);
40 PerfBuffer mCountersBuf;
41 PerfGroup mCountersGroup;
45 sem_t *const mSenderSem;
46 sem_t *const mStartProfile;
50 // Intentionally undefined
51 PerfSource(const PerfSource &);
52 PerfSource &operator=(const PerfSource &);
55 #endif // PERFSOURCE_H