mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
celldb in-memory mode, stats for actors, perf counters, minor fix in rldp2 (#1164)
* getactorstats query for validator-engine-console * celldb in-memory mode (--celldb-in-memory option) * rldp2: bugfix - do not estimate speed while nothing is sent * add simple ed25519 benchmark * fix compilation errors of different platforms and move to c++20 * fix some warnings * turn on TON_USE_ABSEIL for glibc 2.27 nix build --------- Co-authored-by: birydrad <>
This commit is contained in:
parent
5f51d3d04f
commit
72020c04c4
100 changed files with 3407 additions and 359 deletions
|
|
@ -40,6 +40,7 @@
|
|||
#include "td/utils/Slice.h"
|
||||
#include "td/utils/StackAllocator.h"
|
||||
#include "td/utils/StringBuilder.h"
|
||||
#include "td/utils/port/Clocks.h"
|
||||
|
||||
#include <atomic>
|
||||
#include <type_traits>
|
||||
|
|
@ -251,7 +252,8 @@ class Logger {
|
|||
, log_(log)
|
||||
, sb_(buffer_.as_slice())
|
||||
, options_(options)
|
||||
, log_level_(log_level) {
|
||||
, log_level_(log_level)
|
||||
, start_at_(Clocks::rdtsc()) {
|
||||
}
|
||||
|
||||
Logger(LogInterface &log, const LogOptions &options, int log_level, Slice file_name, int line_num, Slice comment);
|
||||
|
|
@ -283,6 +285,7 @@ class Logger {
|
|||
StringBuilder sb_;
|
||||
const LogOptions &options_;
|
||||
int log_level_;
|
||||
td::uint64 start_at_;
|
||||
};
|
||||
|
||||
namespace detail {
|
||||
|
|
@ -346,5 +349,4 @@ class TsLog : public LogInterface {
|
|||
lock_.clear(std::memory_order_release);
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace td
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue