mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Merge branch 'testnet' into accelerator
This commit is contained in:
commit
3af45ed7f6
7 changed files with 11 additions and 7 deletions
|
@ -58,7 +58,6 @@ std::string ErrorCtx::as_string() const {
|
|||
* Constructs a ValidateQuery object.
|
||||
*
|
||||
* @param shard The shard of the block being validated.
|
||||
* @param min_ts The minimum allowed UnixTime for the block.
|
||||
* @param min_masterchain_block_id The minimum allowed masterchain block reference for the block.
|
||||
* @param prev A vector of BlockIdExt representing the previous blocks.
|
||||
* @param candidate The BlockCandidate to be validated.
|
||||
|
@ -7056,6 +7055,7 @@ void ValidateQuery::written_candidate() {
|
|||
void ValidateQuery::record_stats() {
|
||||
double work_time = work_timer_.elapsed();
|
||||
double cpu_work_time = cpu_work_timer_.elapsed();
|
||||
LOG(WARNING) << "validation took " << perf_timer_.elapsed() << "s";
|
||||
LOG(WARNING) << "Validate query work time = " << work_time << "s, cpu time = " << cpu_work_time << "s";
|
||||
td::actor::send_closure(manager, &ValidatorManager::record_validate_query_stats, block_candidate.id, work_time,
|
||||
cpu_work_time);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue