47a48,50
> #include <iostream>
> #include <string>
>
80c83
< void setPeriodicStatsFile(const string& filename);
---
> void setPeriodicStatsFile(const std::string& filename);
83,85c86,88
< void printStats(ostream& out, bool short_stats=false);
< void printShortStats(ostream& out) { printStats(out, true); }
< void printTraceStats(ostream& out) const;
---
> void printStats(std::ostream& out, bool short_stats=false);
> void printShortStats(std::ostream& out) { printStats(out, true); }
> void printTraceStats(std::ostream& out) const;
87,88c90,91
< void printConfig(ostream& out) const;
< void printResourceUsage(ostream& out) const;
---
> void printConfig(std::ostream& out) const;
> void printResourceUsage(std::ostream& out) const;
95c98
< void profileRequest(const string& requestStr);
---
> void profileRequest(const std::string& requestStr);
137,140c140,142
< void profileTransition(const string& component, NodeID version,
< Address addr, const string& state,
< const string& event, const string& next_state,
< const string& note);
---
> void profileTransition(const std::string& component, NodeID version,
> Address addr, const std::string& state, const std::string& event,
> const std::string& next_state, const std::string& note);
143c145
< void print(ostream& out) const;
---
> void print(std::ostream& out) const;
170c172
< ostream* m_periodic_output_file_ptr;
---
> std::ostream* m_periodic_output_file_ptr;
213c215
< Map <string, int>* m_requestProfileMap_ptr;
---
> Map <std::string, int>* m_requestProfileMap_ptr;
222,223c224,225
< inline ostream&
< operator<<(ostream& out, const Profiler& obj)
---
> inline std::ostream&
> operator<<(std::ostream& out, const Profiler& obj)
226c228
< out << flush;
---
> out << std::flush;