client-cpp
0.8.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
TimeUtils.hpp
Go to the documentation of this file.
1
17
#ifndef TIMEUTILS_HPP_
18
#define TIMEUTILS_HPP_
19
20
#include <chrono>
21
22
namespace
kaa {
23
24
class
TimeUtils
{
25
public
:
26
static
std::size_t
getCurrentTimeInMs
() {
27
return
std::chrono::duration_cast<std::chrono::milliseconds>(
28
std::chrono::system_clock::now().time_since_epoch()).count();
29
}
30
};
31
32
}
/* namespace kaa */
33
34
#endif
/* TIMEUTILS_HPP_ */
kaa::TimeUtils::getCurrentTimeInMs
static std::size_t getCurrentTimeInMs()
Definition:
TimeUtils.hpp:26
kaa::TimeUtils
Definition:
TimeUtils.hpp:24
var
lib
jenkins
workspace
kaa_release_0_8_1
client
client-multi
client-cpp
kaa
utils
TimeUtils.hpp
Generated on Tue Mar 15 2016 20:58:36 for client-cpp by
1.8.7