Lines Matching refs:speed
98 size_t speed = 1 * MB;
99 size_t time = GCIdleTimeHandler::EstimateMarkCompactTime(size, speed);
100 EXPECT_EQ(size / speed, time);
106 size_t speed = 1;
107 size_t time = GCIdleTimeHandler::EstimateMarkCompactTime(size, speed);
121 size_t speed = 1 * MB;
122 size_t time = GCIdleTimeHandler::EstimateScavengeTime(size, speed);
123 EXPECT_EQ(size / speed, time);
135 size_t speed = 1 * KB;
136 EXPECT_FALSE(GCIdleTimeHandler::ScavangeMayHappenSoon(available, speed));
142 size_t speed = 1 * KB;
143 EXPECT_TRUE(GCIdleTimeHandler::ScavangeMayHappenSoon(available, speed));
151 size_t speed = heap_state.mark_compact_speed_in_bytes_per_ms;
153 static_cast<int>((heap_state.size_of_objects + speed - 1) / speed);
163 size_t speed = heap_state.mark_compact_speed_in_bytes_per_ms;
164 int idle_time_ms = static_cast<int>(heap_state.size_of_objects / speed - 1);
173 size_t speed = heap_state.mark_compact_speed_in_bytes_per_ms;
174 int idle_time_ms = static_cast<int>(heap_state.size_of_objects / speed - 1);
182 size_t speed = heap_state.incremental_marking_speed_in_bytes_per_ms;
186 EXPECT_GT(speed * static_cast<size_t>(idle_time_ms),
195 size_t speed = heap_state.incremental_marking_speed_in_bytes_per_ms;
199 EXPECT_GT(speed * static_cast<size_t>(idle_time_ms),
209 size_t speed = heap_state.mark_compact_speed_in_bytes_per_ms;
210 int idle_time_ms = static_cast<int>(heap_state.size_of_objects / speed - 1);
220 size_t speed = heap_state.mark_compact_speed_in_bytes_per_ms;
221 int idle_time_ms = static_cast<int>(heap_state.size_of_objects / speed + 1);
252 size_t speed = heap_state.mark_compact_speed_in_bytes_per_ms;
253 int idle_time_ms = static_cast<int>(heap_state.size_of_objects / speed + 1);