Electroneum
Loading...
Searching...
No Matches
object_sizes.cpp File Reference
Include dependency graph for object_sizes.cpp:

Go to the source code of this file.

Classes

class  size_logger

Macros

#define ELECTRONEUM_DEFAULT_LOG_CATEGORY   "debugtools.objectsizes"
#define SL(type)

Functions

int main (int argc, char *argv[])

Macro Definition Documentation

◆ ELECTRONEUM_DEFAULT_LOG_CATEGORY

#define ELECTRONEUM_DEFAULT_LOG_CATEGORY   "debugtools.objectsizes"

Definition at line 49 of file object_sizes.cpp.

◆ SL

#define SL ( type)
Value:
sl.add(#type, sizeof(type))

Definition at line 63 of file object_sizes.cpp.

Function Documentation

◆ main()

int main ( int argc,
char * argv[] )

Definition at line 65 of file object_sizes.cpp.

66{
67 size_logger sl;
68
70
71 mlog_configure("", true);
72
73 SL(boost::thread);
74 SL(boost::asio::io_service);
75 SL(boost::asio::io_service::work);
76 SL(boost::asio::deadline_timer);
77
81
86
88
93
100
104
113
120
121 return 0;
122}
A generic BlockchainDB exception.
void mlog_configure(const std::string &filename_base, bool console, const std::size_t max_log_file_size=MAX_LOG_FILE_SIZE, const std::size_t max_log_files=MAX_LOG_FILES)
Definition mlog.cpp:148
anchor_peerlist_entry_base< epee::net_utils::network_address > anchor_peerlist_entry
peerlist_entry_base< epee::net_utils::network_address > peerlist_entry
bool on_startup()
Definition util.cpp:778
#define SL(type)
AddressBookRow - provides functions to manage address book.
a struct containing txpool per transaction metadata
Here is the call graph for this function: