import os, sys
import csv

sys.path.append(os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', '..', 'common')))
from CChameleonMetaObjectBase import *

class CCustomFileMetaData_Exp1(CChameleonMetaObjectBase):

    def __init__(self, file_path):
        super().__init__()
        
        # get file name and split
        file_name = os.path.basename(file_path)
        file_name = file_name.split(".")[0]
        tmp_split = file_name.split("_")
        
        self.type                   = tmp_split[1]
        self.task_granularity       = int(tmp_split[2][:-4])
        self.nr_nodes               = int(tmp_split[3][:-5])
        self.nr_threads             = int(tmp_split[4][:-3])
        self.powercap               = int(tmp_split[5][:-2])
        self.run                    = int(tmp_split[6])

d92a3affe1e9365d915e8ba42f67dd7d8e77cedc
<mask token>


class CCustomFileMetaData_Exp1(CChameleonMetaObjectBase):
    <mask token>

<mask token>


class CCustomFileMetaData_Exp1(CChameleonMetaObjectBase):

    def __init__(self, file_path):
        super().__init__()
        file_name = os.path.basename(file_path)
        file_name = file_name.split('.')[0]
        tmp_split = file_name.split('_')
        self.type = tmp_split[1]
        self.task_granularity = int(tmp_split[2][:-4])
        self.nr_nodes = int(tmp_split[3][:-5])
        self.nr_threads = int(tmp_split[4][:-3])
        self.powercap = int(tmp_split[5][:-2])
        self.run = int(tmp_split[6])

<mask token>
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(os.path.
    abspath(__file__)), '..', '..', 'common')))
<mask token>


class CCustomFileMetaData_Exp1(CChameleonMetaObjectBase):

    def __init__(self, file_path):
        super().__init__()
        file_name = os.path.basename(file_path)
        file_name = file_name.split('.')[0]
        tmp_split = file_name.split('_')
        self.type = tmp_split[1]
        self.task_granularity = int(tmp_split[2][:-4])
        self.nr_nodes = int(tmp_split[3][:-5])
        self.nr_threads = int(tmp_split[4][:-3])
        self.powercap = int(tmp_split[5][:-2])
        self.run = int(tmp_split[6])

import os, sys
import csv
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(os.path.
    abspath(__file__)), '..', '..', 'common')))
from CChameleonMetaObjectBase import *


class CCustomFileMetaData_Exp1(CChameleonMetaObjectBase):

    def __init__(self, file_path):
        super().__init__()
        file_name = os.path.basename(file_path)
        file_name = file_name.split('.')[0]
        tmp_split = file_name.split('_')
        self.type = tmp_split[1]
        self.task_granularity = int(tmp_split[2][:-4])
        self.nr_nodes = int(tmp_split[3][:-5])
        self.nr_threads = int(tmp_split[4][:-3])
        self.powercap = int(tmp_split[5][:-2])
        self.run = int(tmp_split[6])

import os, sys
import csv

sys.path.append(os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', '..', 'common')))
from CChameleonMetaObjectBase import *

class CCustomFileMetaData_Exp1(CChameleonMetaObjectBase):

    def __init__(self, file_path):
        super().__init__()
        
        # get file name and split
        file_name = os.path.basename(file_path)
        file_name = file_name.split(".")[0]
        tmp_split = file_name.split("_")
        
        self.type                   = tmp_split[1]
        self.task_granularity       = int(tmp_split[2][:-4])
        self.nr_nodes               = int(tmp_split[3][:-5])
        self.nr_threads             = int(tmp_split[4][:-3])
        self.powercap               = int(tmp_split[5][:-2])
        self.run                    = int(tmp_split[6])
