MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / now

Method now

app/src/Licensing/MonotonicClock.cpp:58–64  ·  view source on GitHub ↗

* @brief Returns now floored at the highest wall-clock ever observed (anti clock-rewind). */

Source from the content-addressed store, hash-verified

56 * @brief Returns now floored at the highest wall-clock ever observed (anti clock-rewind).
57 */
58QDateTime Licensing::MonotonicClock::now()
59{
60 QSettings settings;
61 SimpleCrypt crypt(MachineID::instance().machineSpecificKey());
62 crypt.setIntegrityProtectionMode(SimpleCrypt::ProtectionHash);
63 return nowFloored(settings, crypt);
64}

Callers 15

jquery.jsFile · 0.80
atFunction · 0.80
transmitFunction · 0.80
parseFunction · 0.80
mqttFunction · 0.80
mqttFunction · 0.80
_updateMethod · 0.80
startMethod · 0.80
stopMethod · 0.80
constructorMethod · 0.80
cancelMethod · 0.80
_createAnimationsMethod · 0.80

Calls 2

machineSpecificKeyMethod · 0.80

Tested by

no test coverage detected