Skip to content
Snippets Groups Projects
Commit eed61f49 authored by Le Van Truong's avatar Le Van Truong
Browse files

adding coding convention

parent a002cf0c
No related branches found
No related tags found
1 merge request!311#250 Emptying simulation transactions during simulation.
......@@ -148,7 +148,7 @@ public:
\param iTrans Pointer to the transaction
*/
void addTransaction(TMLTransaction* iTrans);
void removeTrans(int numberOfTrans);
void removeTrans(int numberOfTrans);
virtual std::ostream& writeObject(std::ostream& s);
virtual std::istream& readObject(std::istream& s);
virtual void streamBenchmarks(std::ostream& s) const;
......
......@@ -106,8 +106,8 @@ public:
\param glob refers to the output stream
*/
int allTrans2XML(std::ostringstream& glob, int maxNbOfTrans) const;
int allTrans2XMLByTask(std::ostringstream& glob, std::string taskName) const;
void removeTrans(int numberOfTrans);
int allTrans2XMLByTask(std::ostringstream& glob, std::string taskName) const;
void removeTrans(int numberOfTrans);
void latencies2XML(std::ostringstream& glob, unsigned int id1, unsigned int id2);
/**
\param myfile Reference to the ofstream object representing the output file
......
......@@ -133,7 +133,7 @@ public:
///inline unsigned int getTransNumber() { return _transNumber;}
inline unsigned int getID () { return _ID;}
void HW2HTML(std::ofstream& myfile) ;
void removeTrans(int numberOfTrans);
void removeTrans(int numberOfTrans);
void schedule2HTML(std::ofstream& myfile) ;
inline const TaskList& getTaskList() const{return _taskList;}
inline void setHtmlCurrTask(TMLTask *t) { _htmlCurrTask=t;}
......
......@@ -116,8 +116,8 @@ public:
\param glob refers to the output stream
*/
int allTrans2XML(std::ostringstream& glob, int maxNbOfTrans) const;
int allTrans2XMLByTask(std::ostringstream& glob, std::string taskName) const;
void removeTrans(int numberOfTrans);
int allTrans2XMLByTask(std::ostringstream& glob, std::string taskName) const;
void removeTrans(int numberOfTrans);
void latencies2XML(std::ostringstream& glob, unsigned int id1, unsigned int id2);
virtual void streamBenchmarks(std::ostream& s) const;
virtual void reset();
......
......@@ -118,8 +118,8 @@ public:
\param glob refers to the output stream
*/
int allTrans2XML(std::ostringstream& glob, int maxNbOfTrans) const;
int allTrans2XMLByTask(std::ostringstream& glob, std::string taskName) const;
void removeTrans(int numberOfTrans);
int allTrans2XMLByTask(std::ostringstream& glob, std::string taskName) const;
void removeTrans(int numberOfTrans);
void latencies2XML(std::ostringstream& glob, unsigned int id1, unsigned int id2);
void schedule2XML(std::ostringstream& glob,std::ofstream& myfile) const;
......
......@@ -273,9 +273,9 @@ public:
*/
int allTrans2XML(std::ostringstream& glob, int maxNbOfTrans) const;
int allTrans2XMLByTask(std::ostringstream& glob, std::string taskName) const;
int allTrans2XMLByTask(std::ostringstream& glob, std::string taskName) const;
void removeOldTransaction(int numberOfTrans);
void removeOldTransaction(int numberOfTrans);
void latencies2XML(std::ostringstream& glob, int id1, int id2);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment