#ifndef V8_LOGGING_METRICS_H_
#define V8_LOGGING_METRICS_H_
#include <memory>
#include <queue>
#include "include/v8-metrics.h"
#include "src/base/platform/mutex.h"
#include "src/base/platform/time.h"
#include "src/init/v8.h"
namespace v8 {
class TaskRunner;
namespace internal {
namespace metrics {
class Recorder : public std::enable_shared_from_this<Recorder> { … };
template <class T, int64_t (base::TimeDelta::*precision)() const =
&base::TimeDelta::InMicroseconds>
class V8_NODISCARD TimedScope { … };
}
}
}
#endif