9 namespace Arp {
namespace System {
namespace Commons {
namespace Chrono
62 return duration_cast<
Milliseconds>(steady_clock::now().time_since_epoch());
67 return duration_cast<
Microseconds>(steady_clock::now().time_since_epoch());
72 return duration_cast<
Nanoseconds>(steady_clock::now().time_since_epoch());
static Microseconds GetMicroTick(void)
Returns the current system tick in microseconds
Definition: SystemTick.hpp:65
std::chrono::milliseconds Milliseconds
The Arp Milliseconds unit class.
Definition: TypeSystem.h:36
static Milliseconds GetMilliTick(void)
Returns the current system tick in milliseconds
Definition: SystemTick.hpp:60
static Nanoseconds GetNanoTick(void)
Returns the current system tick in nanoseconds
Definition: SystemTick.hpp:70
std::chrono::microseconds Microseconds
The Arp Microseconds unit class.
Definition: TypeSystem.h:34
std::chrono::nanoseconds Nanoseconds
The Arp Nanoseconds unit class.
Definition: TypeSystem.h:32
Root namespace for the PLCnext API
Static methods to get a current system tick in different units
Definition: SystemTick.hpp:15
System components used by the System, Device, Plc or Io domains.