Electroneum
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)   sl.add(#type, sizeof(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)    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 }
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
bool on_startup()
Definition: util.cpp:778
AddressBookRow - provides functions to manage address book.
Definition: wallet2_api.h:216
A generic BlockchainDB exception.
a struct containing txpool per transaction metadata
#define SL(type)
Here is the call graph for this function: