Lines Matching refs:generator
28 // Tests of profiles generator and utilities.
34 #include "src/profiler/profile-generator-inl.h"
350 ProfileGenerator generator(&profiles);
354 generator.code_map()->AddCode(ToAddress(0x1500), entry1, 0x200);
355 generator.code_map()->AddCode(ToAddress(0x1700), entry2, 0x100);
356 generator.code_map()->AddCode(ToAddress(0x1900), entry3, 0x50);
367 generator.RecordTickSample(sample1);
375 generator.RecordTickSample(sample2);
382 generator.RecordTickSample(sample3);
421 ProfileGenerator generator(&profiles);
425 generator.code_map()->AddCode(ToAddress(0x1500), entry1, 0x200);
426 generator.code_map()->AddCode(ToAddress(0x1700), entry2, 0x100);
427 generator.code_map()->AddCode(ToAddress(0x1900), entry3, 0x50);
438 generator.RecordTickSample(sample1);
446 generator.RecordTickSample(sample2);
453 generator.RecordTickSample(sample3);
477 ProfileGenerator generator(&profiles);
479 generator.code_map()->AddCode(ToAddress(0x1500), entry1, 0x200);
487 generator.RecordTickSample(sample1);
651 CodeMap* code_map = profiler->generator()->code_map();