33 #ifndef __H__UG__COMMON__PROFILER__FREQ_ADAPT__
34 #define __H__UG__COMMON__PROFILER__FREQ_ADAPT__
104 unsigned long find_freq(
const char* file,
const int line);
116 static std::vector<FreqAdaptPoint>
m_pos;
120 static unsigned long freq(
const char* file,
const int line){
125 static void set_freqs(std::string csvFile);
Definition: freq_adapt.h:68
bool is_active()
Definition: freq_adapt.h:77
bool m_bActive
Definition: freq_adapt.h:80
void release()
Definition: freq_adapt.cpp:123
unsigned long m_prevFreq
Definition: freq_adapt.h:81
AutoFreqAdaptNode(unsigned long freq)
Definition: freq_adapt.cpp:84
~AutoFreqAdaptNode()
Definition: freq_adapt.cpp:116
Definition: freq_adapt.h:48
FreqAdaptNodeManager()
Definition: freq_adapt.cpp:64
~FreqAdaptNodeManager()
Definition: freq_adapt.cpp:66
static void add(AutoFreqAdaptNode *node)
Definition: freq_adapt.cpp:50
static FreqAdaptNodeManager & inst()
Definition: freq_adapt.cpp:73
static void release_latest()
Definition: freq_adapt.cpp:55
std::stack< AutoFreqAdaptNode * > m_nodes
Definition: freq_adapt.h:61
Definition: freq_adapt.h:89
static unsigned long newFreq
Definition: freq_adapt.h:133
static void * freqAdaptWorker(void *This)
Definition: freq_adapt.cpp:177
static unsigned long freq(const char *file, const int line)
Definition: freq_adapt.h:120
static pthread_mutex_t freqAdapt_mutex
Definition: freq_adapt.h:134
static void set_freqs(std::string csvFile)
Definition: freq_adapt.cpp:236
static pthread_t freqAdaptWorkerThread
Definition: freq_adapt.h:139
unsigned long find_freq(const char *file, const int line)
Definition: freq_adapt.cpp:162
FreqAdaptValues()
Definition: freq_adapt.h:94
~FreqAdaptValues()
Definition: freq_adapt.h:97
static cpu_set_t processor_mask
Definition: freq_adapt.h:138
static std::vector< FreqAdaptPoint > m_pos
Definition: freq_adapt.h:116
FreqAdaptValues & operator=(const FreqAdaptValues &)
FreqAdaptValues(const FreqAdaptValues &)
static pthread_cond_t freqAdapt_condVar
Definition: freq_adapt.h:135
static void adjust_freq(unsigned long freq)
Definition: freq_adapt.cpp:226
static FreqAdaptValues & inst()
Definition: freq_adapt.cpp:156
static pthread_attr_t freqAdaptWorkerThreadAttr
Definition: freq_adapt.h:137
Definition: freq_adapt.h:107
std::string file
Definition: freq_adapt.h:108
unsigned long freq
Definition: freq_adapt.h:110
int line
Definition: freq_adapt.h:109
FreqAdaptPoint(std::string _file, int _line, unsigned long _freq)
Definition: freq_adapt.h:111