Page MenuHomec4science

parser.h
No OneTemporary

File Metadata

Created
Sun, Dec 29, 12:09

parser.h

/* Copyright (c) 2016 Aram_Yesildeniz All rights reserved. *
* original name hippie2 by Aram_Yesildeniz *
/*********************************************************************************
* Copyright (c) 2016 *
* modified and extended by Ali Omar abdelazim Mohammed <ali.mohammed@unibas.ch> *
* University of Basel, Switzerland *
* All rights reserved. *
* *
* This program is free software; you can redistribute it and/or modify it *
* under the terms of the license (GNU LGPL) which comes with this package. *
*********************************************************************************/
#ifndef _PARSER_H_
#define _PARSER_H_
int getIntNumber(FILE *readFile, char *pattern);
float getFloatNumber(FILE *readFile, char *pattern);
//void readTable(FILE *readFile, int chunks, int hostID[], int batchID[], int chunkID[], int tasks[], float startTime[], float endTime[]);
void readTable(FILE *readFile, int chunks, Chunk_t *chunkList);
void readhosts(FILE *readFile, int num_hosts, int num_cores[]);
void readjobs(FILE *readFile, int num_jobs, int job_ID[]);
#endif /* _PARSER_H_ */

Event Timeline