Lines Matching refs:samples
43 scoped_ptr<profile_container> samples;
86 return samples->find_symbol(image_name, vma);
101 << "Output annotated source file with samples" << '\n';
105 << "Output files where samples count reach "
106 << options::threshold << "% of the samples\n";
112 << "Output annotated assembly listing with samples"
173 if (samp_it != samples->end())
189 string str = count_str(sample->counts, samples->samples_count());
196 if (samp_it != samples->end())
227 sample_entry * prev_sample = (sample_entry *)samples->
230 // Aggregate sample with previous line if it already has samples
232 str = count_str(prev_sample->counts, samples->samples_count());
234 str = count_str(sample->counts, samples->samples_count());
242 if (samp_it != samples->end())
248 if (samp_it != samples->end())
266 samples->samples_count());
272 str += count_str(symbol->sample.counts, samples->samples_count());
305 sample_container::samples_iterator samp_it = samples->begin();
358 samp_it = samples->begin(last_symbol);
500 symbol_collection symbols = samples->select_symbols(choice);
522 count_array_t counts = samples->samples_count(filename, linenr);
524 str += count_str(counts, samples->samples_count());
538 symbol_collection const symbols = samples->find_symbol(filename, linenr);
553 samples->samples_count());
561 str += "total: " + count_str(counts, samples->samples_count());
572 << in_comment << "Total samples for file : "
576 << count_str(total_file_count, samples->samples_count())
597 count_array_t count = samples->samples_count(filename);
617 samples for a given file than the
618 // sum of all symbols samples for this file due to inlining
619 symbol_collection const symbols = samples->select_symbols(filename);
738 samples->select_filename(options::threshold);
820 samples.reset(new profile_container(true, true,
835 populate_for_image(*samples, *it,