jeudi 20 septembre 2018

Does steady_clock::now return seconds?

I am trying to figure out what the value of t is ? Is it seconds or milliseconds ? The steady_clock reference does not mention the unit used.

 auto t = std::chrono::steady_clock::now() / 1000;
 auto p = t/1000;

Aucun commentaire:

Enregistrer un commentaire