Stick the conversion of python to unix time with all of

the other param code so that other functions can use it
as well.

--HG--
extra : convert_revision : a8becdeadc70af0b64bff5b0770788dfba6e1857
This commit is contained in:
Nathan Binkert
2007-01-28 10:26:59 -08:00
parent f9a341f8e7
commit 37795b104d
6 changed files with 52 additions and 63 deletions

View File

@@ -781,4 +781,5 @@ SimObjectVectorParam<OBJ_CLASS *>::showType(std::ostream &os) const \
template <class T> bool parseParam(const std::string &str, T &data);
template <class T> void showParam(std::ostream &os, const T &data);
void parseTime(const std::vector<int> &time, struct tm *tm);
#endif // _SIM_PARAM_HH_