/******************************************************************************************
> [KAZOE]                                                                                 <
> Initial Sofware by [Yannick Verdie, Florent Lafarge], Copyright (C) Inria (GEOMETRICA)  <
> All Rights Reserved, 2012, [Version 1.0].                                               <
******************************************************************************************/
#ifndef _STAT_H_
#define _STAT_H_

#include <iostream>
#include <fstream>
using namespace std;


class GPU_Stat
{
public:
	GPU_Stat(std::string n)	;

	 //iteration, energy, time, nb_object, currentT, decreateT, currentDelta, , decreaseDelta
	void write(	int i, float e, float time, int n, float t, float dt, float d, float dd);
	

	void close();


	~GPU_Stat();


private:
	std::string m_name;
	std::ofstream m_myfile;
 };

#endif