#include "src/trace_processor/importers/common/clock_converter.h"
#include <time.h>
#include <algorithm>
#include <atomic>
#include <cinttypes>
#include <queue>
#include "perfetto/base/logging.h"
#include "perfetto/ext/base/hash.h"
#include "src/trace_processor/storage/trace_storage.h"
#include "src/trace_processor/types/trace_processor_context.h"
#include "protos/perfetto/common/builtin_clock.pbzero.h"
#include "protos/perfetto/trace/clock_snapshot.pbzero.h"
namespace perfetto {
namespace trace_processor {
ClockConverter::ClockConverter(TraceProcessorContext* context)
: … { … }
void ClockConverter::MaybeInitialize() { … }
base::StatusOr<ClockConverter::Timestamp> ClockConverter::FromTraceTime(
ClockId clock_id,
Timestamp ts) { … }
std::string ClockConverter::TimeToStr(Timestamp ts) { … }
}
}