mageec  0.1.0
MAchine Guided Energy Efficient Compilation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Classes | Enumerations | Functions
mageec Namespace Reference

MAchine Guided Energy Efficient Compilation. More...

Classes

class  hashedelf
 
class  database
 MAGEEC Machine Learner Database. More...
 
class  mageec_feature
 MAGEEC Program Feature Base Type. More...
 
class  basic_feature
 
class  mageec_ml
 MAGEEC Machine Learner. More...
 
class  file_ml
 File based "Machine Learner". More...
 
class  mageec_pass
 MAGEEC Pass Base Type A pass consists of a descriptor and value and are used to communicate between the machine learner and the compiler which passes to use and to store in a machine learning database which passes were run. More...
 
class  basic_pass
 
struct  result
 Machine Learning Test Result Structure. More...
 
class  mageec_framework
 MAGEEC Framework. More...
 

Enumerations

enum  decision { NATIVE_DECISION, FORCE_EXECUTE, FORCE_NOEXECUTE }
 enum for storing the state of a decision. More...
 

Functions

uint64_t hash_data (const void *data, unsigned long size)
 Generic 64-bit hash for use throughout MAGEEC. More...
 

Detailed Description

MAchine Guided Energy Efficient Compilation.

Enumeration Type Documentation

enum for storing the state of a decision.

Enumerator
NATIVE_DECISION 

No decision available/made so should use compiler default.

FORCE_EXECUTE 

Decision made that pass should be executed.

FORCE_NOEXECUTE 

Decision made that pass should not be executed.

Definition at line 31 of file mageec-decision.h.

Function Documentation

uint64_t mageec::hash_data ( const void *  data,
unsigned long  size 
)

Generic 64-bit hash for use throughout MAGEEC.

Parameters
dataData to hash.
sizeSize of data.

Definition at line 23 of file hasher.cpp.