Page Speed Optimization Libraries
1.4.26.1
|
Handles reading the logfile created by SharedMemConsoleStatisticsLogger. More...
#include "shared_mem_statistics.h"
Public Member Functions | |
ConsoleStatisticsLogfileReader (FileSystem::InputFile *file, int64 start_time, int64 end_time, int64 granularity_ms, MessageHandler *message_handler) | |
bool | ReadNextDataBlock (int64 *timestamp, GoogleString *data) |
int64 | end_time () |
Handles reading the logfile created by SharedMemConsoleStatisticsLogger.
bool net_instaweb::ConsoleStatisticsLogfileReader::ReadNextDataBlock | ( | int64 * | timestamp, |
GoogleString * | data | ||
) |
Reads the next timestamp in the file to timestamp and the corresponding chunk of data to data. Returns true if new data has been read.