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);
40 PerfBuffer mCountersBuf;
41 PerfGroup mCountersGroup;
44 sem_t *const mSenderSem;
45 sem_t *const mStartProfile;
49 // Intentionally undefined
50 PerfSource(const PerfSource &);
51 PerfSource &operator=(const PerfSource &);
54 #endif // PERFSOURCE_H