mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Add write time stats to celldb/db_stats.txt (#972)
Co-authored-by: SpyCheese <mikle98@yandex.ru>
This commit is contained in:
parent
25f61dff16
commit
d2b012c883
8 changed files with 148 additions and 57 deletions
|
@ -87,4 +87,8 @@ void PerfWarningTimer::reset() {
|
|||
start_at_ = 0;
|
||||
}
|
||||
|
||||
double PerfWarningTimer::elapsed() const {
|
||||
return Time::now() - start_at_;
|
||||
}
|
||||
|
||||
} // namespace td
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue