chromium/v8/test/unittests/heap/memory-reducer-unittest.cc

// Copyright 2014 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include <limits>

#include "src/flags/flags.h"
#include "src/heap/memory-reducer.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace v8 {
namespace internal {

MemoryReducer::Event MarkCompactEvent(double time_ms,
                                      bool next_gc_likely_to_collect_more,
                                      size_t committed_memory) {}

MemoryReducer::Event MarkCompactEventGarbageLeft(double time_ms,
                                                 size_t committed_memory) {}

MemoryReducer::Event MarkCompactEventNoGarbageLeft(double time_ms,
                                                   size_t committed_memory) {}


MemoryReducer::Event TimerEvent(double time_ms,
                                bool should_start_incremental_gc,
                                bool can_start_incremental_gc) {}

MemoryReducer::Event TimerEventLowAllocationRate(double time_ms) {}


MemoryReducer::Event TimerEventHighAllocationRate(double time_ms) {}


MemoryReducer::Event TimerEventPendingGC(double time_ms) {}

MemoryReducer::Event PossibleGarbageEvent(double time_ms) {}


TEST(MemoryReducer, FromDoneToDone) {}


TEST(MemoryReducer, FromDoneToWait) {}


TEST(MemoryReducer, FromWaitToWait) {}


TEST(MemoryReducer, FromWaitToRun) {}


TEST(MemoryReducer, FromWaitToDone) {}


TEST(MemoryReducer, FromRunToRun) {}


TEST(MemoryReducer, FromRunToDone) {}


TEST(MemoryReducer, FromRunToWait) {}

}  // namespace internal
}  // namespace v8