net_instaweb::SharedMemStatistics Class Reference
List of all members.
Member Function Documentation
void net_instaweb::SharedMemStatistics::GlobalCleanup |
( |
MessageHandler * |
message_handler |
) |
|
This should be called from the root process as it is about to exit, when no further children are expected to start.
void net_instaweb::SharedMemStatistics::Init |
( |
bool |
parent, |
|
|
MessageHandler * |
message_handler | |
|
) |
| | |
This method initializes or attaches to shared memory. You should call this exactly once in each process/thread, after all calls to AddVariables, AddHistograms and SetMaxBuckets have been done. The root process (the one that starts all the other child threads and processes) must be the first one to make the call, with parent = true, with all other calling it with = false.
The documentation for this class was generated from the following file: