![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <algorithm>
#include <cstddef>
#include <limits>
#include <optional>
#include "src/base/platform/time.h"
#include "src/base/ring-buffer.h"
Go to the source code of this file.
Classes | |
struct | heap::base::BytesAndDuration |
class | heap::base::SmoothedBytesAndDuration |
Namespaces | |
namespace | heap |
namespace | heap::base |
Typedefs | |
using | heap::base::BytesAndDurationBuffer = v8::base::RingBuffer<BytesAndDuration> |
Functions | |
std::optional< double > | heap::base::AverageSpeed (const BytesAndDurationBuffer &buffer, const BytesAndDuration &initial, std::optional< v8::base::TimeDelta > selected_duration, size_t min_non_empty_speed=0, size_t max_speed=std::numeric_limits< size_t >::max()) |