loggerd: add wall time to initData (#30251)
* loggerd: add wall time to initData * bump cereal * fix old-commit-hash: f616dd77a18197e8d1d25bf8afbfc01c1ab2562b
This commit is contained in:
2
cereal
2
cereal
Submodule cereal updated: b1a1afebb8...24a522f6ba
@@ -24,9 +24,12 @@
|
||||
|
||||
// ***** log metadata *****
|
||||
kj::Array<capnp::word> logger_build_init_data() {
|
||||
uint64_t wall_time = nanos_since_epoch();
|
||||
|
||||
MessageBuilder msg;
|
||||
auto init = msg.initEvent().initInitData();
|
||||
|
||||
init.setWallTimeNanos(wall_time);
|
||||
init.setVersion(COMMA_VERSION);
|
||||
init.setDirty(!getenv("CLEAN"));
|
||||
init.setDeviceType(Hardware::get_device_type());
|
||||
|
||||
Reference in New Issue
Block a user