Home | History | Annotate | Download | only in service

Lines Matching refs:tracker

179   HeapSimulatorTracker tracker(TestName(), builder.Build(), {const0});
180 tracker.ExpectCallSequence({{kFinish, nullptr}});
189 HeapSimulatorTracker tracker(TestName(), builder.Build(), {param0});
190 tracker.ExpectCallSequence({
191 {kAlloc, tracker.BufferAt(param0, {})},
192 {kFree, tracker.BufferAt(param0, {})},
207 HeapSimulatorTracker tracker(TestName(), builder.Build(),
209 tracker.ExpectCallSequence({
210 {kAlloc, tracker.BufferAt(paramA, {})},
211 {kAlloc, tracker.BufferAt(paramX, {})},
212 {kAlloc, tracker.BufferAt(mul, {})},
214 {kFree, tracker.BufferAt(paramA, {})},
215 {kFree, tracker.BufferAt(paramX, {})},
216 {kFree, tracker.BufferAt(mul, {})},
235 HeapSimulatorTracker tracker(TestName(), builder.Build(),
237 tracker.ExpectCallSequence({
238 {kAlloc, tracker.BufferAt(paramA, {})},
239 {kAlloc, tracker.BufferAt(paramX, {})},
240 {kAlloc, tracker.BufferAt(mul, {})},
241 {kAlloc, tracker.BufferAt(paramY, {})},
243 {kFree, tracker.BufferAt(paramA, {})},
244 {kFree, tracker.BufferAt(paramX, {})},
245 {kFree, tracker.BufferAt(mul, {})},
246 {kFree, tracker.BufferAt(paramY, {})},
249 tracker.ExpectSharedBuffers(add, {}, mul, {});
270 HeapSimulatorTracker tracker(TestName(), builder.Build(),
272 tracker.ExpectCallSequence({
273 {kAlloc, tracker.BufferAt(paramA, {})},
274 {kAlloc, tracker.BufferAt(paramX, {})},
275 {kAlloc, tracker.BufferAt(mul, {})},
276 {kAlloc, tracker.BufferAt(paramY, {})},
277 {kAlloc, tracker.BufferAt(dot, {})},
279 {kFree, tracker.BufferAt(paramA, {})},
280 {kFree, tracker.BufferAt(paramX, {})},
281 {kFree, tracker.BufferAt(mul, {})},
282 {kFree, tracker.BufferAt(paramY, {})},
283 {kFree, tracker.BufferAt(dot, {})},
307 HeapSimulatorTracker tracker(TestName(), builder.Build(),
309 tracker.ExpectCallSequence({
310 {kAlloc, tracker.BufferAt(paramA, {})},
311 {kAlloc, tracker.BufferAt(paramX, {})},
312 {kAlloc, tracker.BufferAt(mul, {})},
313 {kAlloc, tracker.BufferAt(paramY, {})},
314 {kAlloc, tracker.BufferAt(dot, {})},
316 {kFree, tracker.BufferAt(paramA, {})},
317 {kFree, tracker.BufferAt(paramX, {})},
318 {kFree, tracker.BufferAt(mul, {})},
319 {kFree, tracker.BufferAt(paramY, {})},
320 {kFree, tracker.BufferAt(dot, {})},
323 tracker.ExpectSharedBuffers(add, {}, dot, {});
347 HeapSimulatorTracker tracker(TestName(), builder.Build(),
349 tracker.ExpectCallSequence({
350 {kAlloc, tracker.BufferAt(paramA, {})},
351 {kAlloc, tracker.BufferAt(paramX, {})},
352 {kAlloc, tracker.BufferAt(mul, {})},
353 {kAlloc, tracker.BufferAt(paramY, {})},
354 {kAlloc, tracker.BufferAt(dot0, {})},
355 {kFree, tracker.BufferAt(mul, {})}, // mul no longer used
356 {kAlloc, tracker.BufferAt(dot1, {})},
358 {kFree, tracker.BufferAt(paramA, {})},
359 {kFree, tracker.BufferAt(paramX, {})},
360 {kFree, tracker.BufferAt(paramY, {})},
361 {kFree, tracker.BufferAt(dot0, {})},
362 {kFree, tracker.BufferAt(dot1, {})},
390 HeapSimulatorTracker tracker(
393 tracker.ExpectCallSequence({
394 {kAlloc, tracker.BufferAt(paramA, {})},
395 {kAlloc, tracker.BufferAt(paramX, {})},
396 {kAlloc, tracker.BufferAt(mul, {})},
397 {kAlloc, tracker.BufferAt(paramY, {})},
398 {kAlloc, tracker.BufferAt(dot0, {})},
399 {kFree, tracker.BufferAt(mul, {})}, // mul no longer used
400 {kAlloc, tracker.BufferAt(dot1, {})},
401 {kAlloc, tracker.BufferAt(tuple, {})},
403 {kFree, tracker.BufferAt(paramA, {})},
404 {kFree, tracker.BufferAt(paramX, {})},
405 {kFree, tracker.BufferAt(paramY, {})},
406 {kFree, tracker.BufferAt(dot0, {})},
407 {kFree, tracker.BufferAt(dot1, {})},
408 {kFree, tracker.BufferAt(tuple, {})},
414 HeapSimulatorTracker tracker(TestName());
431 tracker.module()->AddEmbeddedComputation(cond_builder.Build());
437 tracker.module()->AddEmbeddedComputation(body_builder.Build());
444 tracker.module()->AddEntryComputation(builder.Build());
446 tracker.RunWholeModule(
448 tracker.ExpectCallSequence({
450 {kAlloc, tracker.BufferAt(param, {})},
451 {kAlloc, tracker.BufferAt(param, {0})},
452 {kAlloc, tracker.BufferAt(param, {1})},
453 {kAlloc, tracker.BufferAt(while_op, {})},
454 {kAlloc, tracker.BufferAt(while_op, {0})},
455 {kAlloc, tracker.BufferAt(while_op, {1})},
458 {kAlloc, tracker.BufferAt(body_param, {})},
459 {kAlloc, tracker.BufferAt(body_param, {0})},
460 {kAlloc, tracker.BufferAt(body_param, {1})},
461 {kFree, tracker.BufferAt(body_param, {})},
462 {kFree, tracker.BufferAt(body_param, {0})},
463 {kFree, tracker.BufferAt(body_param, {1})},
467 {kAlloc, tracker.BufferAt(cond_param, {})},
468 {kAlloc, tracker.BufferAt(cond_param, {0})},
469 {kAlloc, tracker.BufferAt(cond_param, {1})},
470 {kFree, tracker.BufferAt(cond_param, {})},
473 {kAlloc, tracker.BufferAt(cond_lt, {})},
477 {kFree, tracker.BufferAt(param, {})},
478 {kFree, tracker.BufferAt(param, {0})},
479 {kFree, tracker.BufferAt(param, {1})},
481 {kFree, tracker.BufferAt(while_op, {})},
482 {kFree, tracker.BufferAt(while_op, {0})},
483 {kFree, tracker.BufferAt(while_op, {1})},
485 {kFree, tracker.BufferAt(cond_param, {0})},
486 {kFree, tracker.BufferAt(cond_param, {1})},
487 {kFree, tracker.BufferAt(cond_lt, {})},