MCPcopy Create free account
hub / github.com/baidu/tera / SetProcessStartTime

Method SetProcessStartTime

src/tabletnode/tabletnode_sysinfo.cc:456–463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

454}
455
456void TabletNodeSysInfo::SetProcessStartTime(int64_t ts) {
457 MutexLock lock(&mutex_);
458 if (!info_.unique()) {
459 SwitchInfo();
460 }
461 assert(info_.unique());
462 info_->set_process_start_time(ts);
463}
464
465void TabletNodeSysInfo::SetTimeStamp(int64_t ts) {
466 MutexLock lock(&mutex_);

Callers 1

TabletNodeImplMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected