8#include "Component.hpp"
15 int parseCccbenchOutput(Node* , std::string );
20 std::vector<T> *array;
21 unsigned int size, xdim, ydim;
24 std::vector<T> *operator [](
unsigned int xindex);
29 this->size = _xdim * _ydim;
32 this->array =
new std::vector<T> [this->size];
35 template <
typename T>std::vector<T> *Vec2DArray<T>::operator [](
unsigned int xindex)
37 return &(this->array[this->xdim*xindex]);
41 unsigned int firstCore;
42 unsigned int lastCore;
44 const char *metric_name =
"xylat";
45 const char *xcore_name =
"xcore";
46 const char *ycore_name =
"ycore";
47 Vec2DArray<float> *c2cDatapoints;
50 virtual ~CccbenchParser(){
if(this->c2cDatapoints) {
delete [] c2cDatapoints;}}
51 unsigned int xtoi(
unsigned int _x){
return _x - this->firstCore;}
52 unsigned int ytoi(
unsigned int _y){
return _y - this->firstCore;}
Definition cccbench.hpp:40
Generic class for all hardware and logical components in sys-sage.
Definition Component.hpp:36
Definition cccbench.hpp:18