A workable version
Use STL Chrono to generate system timestamp