On May 19, 2006, at 2:36 PM, Abdelrazak Younes wrote:

Bennett Helm a écrit :
On May 19, 2006, at 12:13 PM, Abdelrazak Younes wrote:
I can do that too. There are 2 options for sorting the report -- via a column labeled "Self" and one labeled "Total". This (as my others have been) is sorted by "Total", again arbitrarily cut near the top. Let me know if you want the "Self" version.

Yes, the "Self" version seems to be what I am looking for.

OK. I've tried playing around with it a bit to see what seems to be useful information. For this report, I've applied "Callstack Data Mining" (whatever that is!); without it, the places in the report where you can see where time is consumed are widely dispersed (and I'd have to give you many KB worth of data). (If you like, I can place a complete report on a server for you, but it's huge.)

Note that the numbers generated are numbers for that point in the tree and all subordinate branches. (The Shark.app screen gives numbers for time spent in each function at each point, but I can't see a way to generate a report with those data.) Nonetheless, what's obvious from that is the amount of time spent in QPainter (see, e.g., near the top and near the bottom; for the latter, the 1710.0 ms is for the whole tree, but of that QPainter takes up 1695.7 ms), font_metrics::width(char const*, unsigned long, LyXFont const&), font_metrics::width(char, LyXFont const&), and QImage::copy(int, int, int, int) const.

Again, let me know if you want something different (or more of the same).

Bennett

------------

# Report 3 - Session 1 - Time Profile of lyx
SharkProfileViewer
# Generated from the visible portion of the outline view
+ 17098.6 ms main (lyx)
| + 17098.6 ms LyX::priv_exec(int&, char**) (lyx)
| | + 17098.6 ms lyx_gui::start(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) (lyx)
| | | + 1144.3 ms QWorkArea::paintEvent(QPaintEvent*) (lyx)
| | | | 1075.4 ms QPainter::drawPixmap(QRect const&, QPixmap const&, QRect const&) (lyx)
| | |   6.1 ms operator new(unsigned long) (libstdc++.6.dylib)
| | |   3.1 ms operator delete(void*) (libstdc++.6.dylib)
| | |   3.1 ms __cxa_guard_acquire (libstdc++.6.dylib)
| | |   2.0 ms lyx::frontend::QtView::metaObject() const (lyx)
| | |   1.0 ms lyx::frontend::QTabular::closeGUI() (lyx)
| | |   1.0 ms LaTeXFeatures::getMacros() const (lyx)
| | | + 14763.1 ms QWorkArea::keyPressEvent(QKeyEvent*) (lyx)
| | | | + 14763.1 ms BufferView::workAreaKeyPress (boost::shared_ptr<LyXKeySym>, key_modifier::state) (lyx) | | | | | + 14763.1 ms BufferView::Pimpl::workAreaKeyPress (boost::shared_ptr<LyXKeySym>, key_modifier::state) (lyx) | | | | | | + 14286.7 ms LyXFunc::processKeySym (boost::shared_ptr<LyXKeySym>, key_modifier::state) (lyx) | | | | | | | 1.0 ms std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> > (std::basic_ostream<char, std::char_traits<char> >&, char const*) (libstdc++.6.dylib)
| | | | | | | + 14263.0 ms LyXFunc::dispatch(FuncRequest const&) (lyx)
| | | | | | | | + 6.1 ms BufferView::Pimpl::metrics(bool) (lyx)
| | | | | | | | |   2.0 ms LyXText::redoParagraph(int) (lyx)
| | | | | | | | |   1.0 ms BufferView::workHeight() const (lyx)
| | | | | | | | + 8982.4 ms LCursor::dispatch(FuncRequest const&) (lyx)
| | | | | | | | | + 8974.2 ms InsetBase::dispatch(LCursor&, FuncRequest&) (lyx) | | | | | | | | | | + 8972.1 ms LyXText::dispatch(LCursor&, FuncRequest&) (lyx)
| | | | | | | | | | |   1.0 ms LCursor::clearSelection() (lyx)
| | | | | | | | | | |   1.0 ms BufferView::haveSelection(bool) (lyx)
| | | | | | | | | | |   1.0 ms Buffer::text() const (lyx)
| | | | | | | | | | | + 14.2 ms BufferView::Pimpl::updateScrollbar() (lyx) | | | | | | | | | | | | 1.0 ms RandomAccessList<Paragraph>::size() const (lyx) | | | | | | | | | | | | + 12.2 ms QWorkArea::setScrollbarParams(int, int, int) (lyx) | | | | | | | | | | | | | 11.2 ms QWidget::update(int, int, int, int) (lyx)
| | | | | | | | | | |   1.0 ms BufferView::Pimpl::switchKeyMap() (lyx)
| | | | | | | | | | | + 1107.4 ms TransManager::translateAndInsert (char, LyXText*) (lyx) | | | | | | | | | | | | 1.0 ms lyx::support::split (std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, char) (lyx) | | | | | | | | | | | | + 1105.4 ms TransManager::insert (std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, LyXText*) (lyx) | | | | | | | | | | | | | 1.0 ms InsetLatexAccent::~InsetLatexAccent [in-charge]() (lyx) | | | | | | | | | | | | | + 1101.2 ms TransManager::insertVerbatim (std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, LyXText*) (lyx) | | | | | | | | | | | | | | + 1101.2 ms LyXText::insertChar(LCursor&, char) (lyx) | | | | | | | | | | | | | | | + 2.1 ms BufferParams::operator= (BufferParams const&) (lyx) | | | | | | | | | | | | | | | | 1.0 ms std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign (std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (libstdc++.6.dylib) | | | | | | | | | | | | | | | + 1079.6 ms LyXText::setCursor (LCursor&, int, int, bool, bool) (lyx) | | | | | | | | | | | | | | | | + 1077.6 ms LyXText::setCursorIntern (LCursor&, int, int, bool, bool) (lyx) | | | | | | | | | | | | | | | | | + 1077.6 ms LCursor::setTargetX() (lyx) | | | | | | | | | | | | | | | | | | + 725.0 ms LyXText::redoParagraph (int) (lyx) | | | | | | | | | | | | | | | | | | | + 362.9 ms LyXText::rowBreakPoint(int, Row&) const (lyx) | | | | | | | | | | | | | | | | | | | | 295.3 ms font_metrics::width (char, LyXFont const&) (lyx) | | | | | | | | | | | | | | | | | | | | + 4.1 ms Paragraph::isNewline (int) const (lyx) | | | | | | | | | | | | | | | | | | | | | + 2.0 ms Paragraph::isInset (int) const (lyx) | | | | | | | | | | | | | | | | | | | | | | 2.0 ms Paragraph::getChar(int) const (lyx) | | | | | | | | | | | | | | | | | | | | + 43.2 ms LyXText::leftMargin (int, int) const (lyx) | | | | | | | | | | | | | | | | | | | | | 1.0 ms Buffer::text() const (lyx) | | | | | | | | | | | | | | | | | | | | | + 41.1 ms font_metrics::signedWidth(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, LyXFont const&) (lyx) | | | | | | | | | | | | | | | | | | | | | | 41.1 ms font_metrics::width(char const*, unsigned long, LyXFont const&) (lyx) | | | | | | | | | | | | | | | | | | | | 1.0 ms FontIterator::operator++() (lyx) | | | | | | | | | | | | | | | | | | | | 1.0 ms Paragraph::getChar (int) const (lyx) | | | | | | | | | | | | | | | | | | | | 1.0 ms Paragraph::isLineSeparator(int) const (lyx) | | | | | | | | | | | | | | | | | | | | + 2.0 ms font_metrics::width (char const*, unsigned long, LyXFont const&) (lyx) | | | | | | | | | | | | | | | | | | | | | 1.0 ms LyXFont::realShape () const (lyx) | | | | | | | | | | | | | | | | | | | | 1.0 ms LyXText::singleWidth (Paragraph const&, int, char, LyXFont const&) const (lyx) | | | | | | | | | | | | | | | | | | | | + 1.0 ms Paragraph::isInset (int) const (lyx) | | | | | | | | | | | | | | | | | | | | | 1.0 ms Paragraph::isInset (int) const (lyx) | | | | | | | | | | | | | | | | | | | + 329.5 ms LyXText::setRowWidth (int, Row&) const (lyx) | | | | | | | | | | | | | | | | | | | | + 287.9 ms font_metrics::width (char, LyXFont const&) (lyx) | | | | | | | | | | | | | | | | | | | | | 2.0 ms QString::~QString [in-charge]() (lyx) | | | | | | | | | | | | | | | | | | | | | 1.0 ms lyx::frontend::QChanges::next() (lyx) | | | | | | | | | | | | | | | | | | | | | + 1.0 ms font_metrics::width (char const*, unsigned long, LyXFont const&) (lyx) | | | | | | | | | | | | | | | | | | | | | | + 1.0 ms font_metrics::signedWidth(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, LyXFont const&) (lyx) | | | | | | | | | | | | | | | | | | | | | | | 1.0 ms FontLoader::fontinfo(LyXFont const&) (lyx) | | | | | | | | | | | | | | | | | | | | + 4.0 ms font_metrics::width (char const*, unsigned long, LyXFont const&) (lyx) | | | | | | | | | | | | | | | | | | | | | 1.0 ms LyXFont::realShape () const (lyx) | | | | | | | | | | | | | | | | | | | | 1.0 ms LyXText::rightMargin (Paragraph const&) const (lyx) | | | | | | | | | | | | | | | | | | | | 1.0 ms Paragraph::getChar (int) const (lyx) | | | | | | | | | | | | | | | | | | | | + 20.3 ms LyXText::leftMargin (int, int) const (lyx) | | | | | | | | | | | | | | | | | | | | | + 20.3 ms font_metrics::signedWidth(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, LyXFont const&) (lyx) | | | | | | | | | | | | | | | | | | | | | | 20.3 ms font_metrics::width(char const*, unsigned long, LyXFont const&) (lyx) | | | | | | | | | | | | | | | | | | | | + 3.0 ms FontIterator::operator++() (lyx) | | | | | | | | | | | | | | | | | | | | | + 3.0 ms LyXText::getFont (Paragraph const&, int) const (lyx) | | | | | | | | | | | | | | | | | | | | | | 1.0 ms Buffer::params() (lyx) | | | | | | | | | | | | | | | | | | | | + 1.0 ms RandomAccessList<Paragraph>::operator[](unsigned long) const (lyx) | | | | | | | | | | | | | | | | | | | | | + 1.0 ms RandomAccessList<Paragraph>::operator[](unsigned long) const (lyx) | | | | | | | | | | | | | | | | | | | | | | 1.0 ms std::vector<std::_List_iterator<Paragraph>, std::allocator<std::_List_iterator<Paragraph> > >::operator[] (unsigned long) const (lyx) | | | | | | | | | | | | | | | | | | | 2.0 ms font_metrics::width (char, LyXFont const&) (lyx) | | | | | | | | | | | | | | | | | | | 1.0 ms std::vector<Row, std::allocator<Row> >::clear() (lyx) | | | | | | | | | | | | | | | | | | | 1.0 ms BufferView::buffer() const (lyx) | | | | | | | | | | | | | | | | | | | 1.0 ms Paragraph::isNewline (int) const (lyx) | | | | | | | | | | | | | | | | | | | + 27.4 ms LyXText::setHeightOfRow(int, Row&) (lyx) | | | | | | | | | | | | | | | | | | | | + 3.0 ms Spacing::getValue() const (lyx) | | | | | | | | | | | | | | | | | | | | | 1.0 ms std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string [in-charge]() (libstdc++.6.dylib) | | | | | | | | | | | | | | | | | | | | 1.0 ms LyXText::getLayoutFont(int) const (lyx) | | | | | | | | | | | | | | | | | | | | 1.0 ms LyXText::getLabelFont (Paragraph const&) const (lyx) | | | | | | | | | | | | | | | | | | | | + 20.4 ms Paragraph::getLabelWidthString() const (lyx) | | | | | | | | | | | | | | | | | | | | | 1.0 ms std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string [in-charge]() (libstdc++.6.dylib) | | | | | | | | | | | | | | | | | | | | | + 19.3 ms _ (std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (lyx) | | | | | | | | | | | | | | | | | | | | | | + 19.3 ms Messages::get (std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const (lyx) | | | | | | | | | | | | | | | | | | | | | | | + 19.3 ms Messages::Pimpl::get(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const (lyx) | | | | | | | | | | | | | | | | | | | | | | | | 2.0 ms lyx::support::getEnv(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (lyx)
| | | | | | | | | | | | | | | | | | | | | | | |   1.0 ms mempcpy (lyx)
| | | | | | | | | | | | | | | | | | | | | | | | - 8.2 ms bool boost::regex_match<__gnu_cxx::__normal_iterator<char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, char, boost::regex_traits<char, boost::cpp_regex_traits<char> > >(__gnu_cxx::__normal_iterator<char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, boost::match_results<__gnu_cxx::__normal_iterator<char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >&, boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags) (lyx) | | | | | | | | | | | | | | | | | | | | | | | | 1.0 ms std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string [in-charge]() (libstdc++.6.dylib) | | | | | | | | | | | | | | | | | | | | | | | | - 2.0 ms libintl_bindtextdomain (lyx) | | | | | | | | | | | | | | | | | | | | + 1.0 ms bool std::operator==<char, std::char_traits<char>, std::allocator<char> > (std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*) (lyx) | | | | | | | | | | | | | | | | | | | | | 1.0 ms std::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(char const*) const (libstdc++.6.dylib) | | | | | | | | | | | | | | | | | | + 351.6 ms LCursor::getPos(int&, int&) const (lyx) | | | | | | | | | | | | | | | | | | | + 351.6 ms bv_funcs::getPos (DocIterator const&, bool) (lyx) | | | | | | | | | | | | | | | | | | | | 1.0 ms std::map<LyXText const*, std::map<int, Point, std::less<int>, std::allocator<std::pair<int const, Point> > >, std::less<LyXText const*>, std::allocator<std::pair<LyXText const* const, std::map<int, Point, std::less<int>, std::allocator<std::pair<int const, Point> > > > > >::find(LyXText const* const&) const (lyx) | | | | | | | | | | | | | | | | | | | | + 350.6 ms bv_funcs::coordOffset(DocIterator const&, bool) (lyx) | | | | | | | | | | | | | | | | | | | | | + 349.6 ms LyXText::cursorX (CursorSlice const&, bool) const (lyx) | | | | | | | | | | | | | | | | | | | | | | + 306.7 ms font_metrics::width(char, LyXFont const&) (lyx) | | | | | | | | | | | | | | | | | | | | | | | 1.0 ms QString::~QString [in-charge]() (lyx) | | | | | | | | | | | | | | | | | | | | | | - 6.1 ms hfillExpansion (Paragraph const&, Row const&, int) (lyx) | | | | | | | | | | | | | | | | | | | | | | 1.0 ms LyXText::getFont (Paragraph const&, int) const (lyx) | | | | | | | | | | | | | | | | | | | | | | - 26.5 ms LyXText::computeRowMetrics(int, Row const&) const (lyx) | | | | | | | | | | | | | | | | | | | | | | - 1.0 ms font_metrics::width(char const*, unsigned long, LyXFont const&) (lyx) | | | | | | | | | | | | | | | | - 1.0 ms LCursor::~LCursor [in-charge] () (lyx) | | | | | | | | | | | | | | | | - 1.0 ms LyXText::deleteEmptyParagraphMechanism(LCursor&, LCursor&) (lyx) | | | | | | | | | | | | | | | - 16.5 ms recordUndo(Undo::undo_kind, LCursor&, int, int) (lyx)
| | | | | | | | | | | | | | | + 1.0 ms DocIterator::paragraph() (lyx)
| | | | | | | | | | | | | | | | 1.0 ms DocIterator::inTexted() const (lyx) | | | | | | | | | | | | | | | + 1.0 ms operator==(LyXFont const&, LyXFont const&) (lyx) | | | | | | | | | | | | | | | | 1.0 ms operator==(LyXFont::FontBits const&, LyXFont::FontBits const&) (lyx) | | | | | | | | | | | | | | | - 1.0 ms Paragraph::insertChar(int, char, LyXFont const&, Change) (lyx) | | | | | | | | | | | | | + 2.1 ms CharacterSet::encodeString (std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const (lyx) | | | | | | | | | | | | | | 1.0 ms std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned char, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, unsigned char> > >::find(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const (lyx) | | | | | | | | | | | | | | 1.0 ms std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> > (std::basic_ostream<char, std::char_traits<char> >&, char const*) (libstdc++.6.dylib) | | | | | | | | | | | | | + 1.0 ms InsetLatexAccent::InsetLatexAccent [in-charge](std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (lyx) | | | | | | | | | | | | | | 1.0 ms InsetLatexAccent::checkContents () (lyx)
| | | | | | | | | | |   1.0 ms CoordCache::startUpdating() (lyx)
| | | | | | | | | | | + 7835.1 ms BufferView::Pimpl::update (Update::flags) (lyx) | | | | | | | | | | | | + 6709.7 ms LyXScreen::redraw(BufferView&, ViewMetricsInfo const&) (lyx) | | | | | | | | | | | | | + 2974.5 ms QWorkArea::update(int, int, int, int) (lyx) | | | | | | | | | | | | | | + 2420.5 ms QPainter::drawImage(int, int, QImage const&, int, int, int, int, QFlags<Qt::ImageConversionFlag>) (lyx) | | | | | | | | | | | | | | | 1.0 ms operator new(unsigned long) (libstdc++.6.dylib) | | | | | | | | | | | | | | 479.4 ms QImage::copy(int, int, int, int) const (lyx) | | | | | | | | | | | | | | + 20.5 ms QWidget::update(int, int, int, int) (lyx) | | | | | | | | | | | | | | | 1.0 ms operator new(unsigned long) (libstdc++.6.dylib) | | | | | | | | | | | | | | 1.0 ms operator new(unsigned long) (libstdc++.6.dylib) | | | | | | | | | | | | | | 1.0 ms boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::match_set_repeat() (lyx) | | | | | | | | | | | | | | 1.0 ms __cxa_guard_acquire (libstdc++. 6.dylib) | | | | | | | | | | | | | + 3732.1 ms paintText(BufferView const&, ViewMetricsInfo const&) (lyx) | | | | | | | | | | | | | | + 1043.9 ms LyXText::redoParagraph(int) (lyx) | | | | | | | | | | | | | | | + 510.6 ms LyXText::rowBreakPoint(int, Row&) const (lyx) | | | | | | | | | | | | | | | | + 457.7 ms font_metrics::width(char, LyXFont const&) (lyx) | | | | | | | | | | | | | | | | | + 1.0 ms font_metrics::width(char const*, unsigned long, LyXFont const&) (lyx) | | | | | | | | | | | | | | | | | | + 1.0 ms font_metrics::signedWidth (std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, LyXFont const&) (lyx) | | | | | | | | | | | | | | | | | | | 1.0 ms FontLoader::fontinfo (LyXFont const&) (lyx) | | | | | | | | | | | | | | | | + 4.1 ms font_metrics::width(char const*, unsigned long, LyXFont const&) (lyx) | | | | | | | | | | | | | | | | | 1.0 ms LyXFont::realShape() const (lyx) | | | | | | | | | | | | | | | | 3.0 ms LyXText::singleWidth (Paragraph const&, int, char, LyXFont const&) const (lyx) | | | | | | | | | | | | | | | | + 4.1 ms Paragraph::isLineSeparator (int) const (lyx) | | | | | | | | | | | | | | | | | 2.0 ms Paragraph::getChar(int) const (lyx) | | | | | | | | | | | | | | | | + 2.0 ms Paragraph::isNewline(int) const (lyx) | | | | | | | | | | | | | | | | | + 1.0 ms Paragraph::isInset(int) const (lyx) | | | | | | | | | | | | | | | | | | 1.0 ms Paragraph::getChar(int) const (lyx) | | | | | | | | | | | | | | | | 1.0 ms Paragraph::getChar(int) const (lyx) | | | | | | | | | | | | | | | | + 17.4 ms LyXText::leftMargin(int, int) const (lyx) | | | | | | | | | | | | | | | | | 1.0 ms __gnu_cxx::__normal_iterator<boost::shared_ptr<LyXLayout> const*, std::vector<boost::shared_ptr<LyXLayout>, std::allocator<boost::shared_ptr<LyXLayout> > > > std::find_if<__gnu_cxx::__normal_iterator<boost::shared_ptr<LyXLayout> c onst*, std::vector<boost::shared_ptr<LyXLayout>, std::allocator<boost::shared_ptr<LyXLayout> > > >, (anonymous namespace)::LayoutNamesEqual> (__gnu_cxx::__normal_iterator<boost::shared_ptr<LyXLayout> const*, std::vector<boost::shared_ptr<LyXLayout>, std::allocator<boost::shared_ptr<LyXLayout> > > >, __gnu_cxx::__normal_iterator<boost::shared_ptr<LyXLayout> const*, std::vector<boost::shared_ptr<LyXLayout>, std::allocator<boost::shared_ptr<LyXLayout> > > >, (anonymous namespace)::LayoutNamesEqual) (lyx) | | | | | | | | | | | | | | | | | + 16.4 ms font_metrics::signedWidth (std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, LyXFont const&) (lyx) | | | | | | | | | | | | | | | | | | 16.4 ms font_metrics::width (char const*, unsigned long, LyXFont const&) (lyx) | | | | | | | | | | | | | | | | + 1.0 ms FontIterator::operator++() (lyx) | | | | | | | | | | | | | | | | | 1.0 ms LyXText::getFont(Paragraph const&, int) const (lyx) | | | | | | | | | | | | | | | + 488.6 ms LyXText::setRowWidth(int, Row&) const (lyx) | | | | | | | | | | | | | | | | + 447.1 ms font_metrics::width(char, LyXFont const&) (lyx) | | | | | | | | | | | | | | | | | 1.0 ms BufferView::Pimpl::menuInsertLyXFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (lyx) | | | | | | | | | | | | | | | | 1.0 ms font_metrics::width(char const*, unsigned long, LyXFont const&) (lyx) | | | | | | | | | | | | | | | | + 16.2 ms LyXText::leftMargin(int, int) const (lyx) | | | | | | | | | | | | | | | | | 1.0 ms __gnu_cxx::__normal_iterator<boost::shared_ptr<LyXLayout> const*, std::vector<boost::shared_ptr<LyXLayout>, std::allocator<boost::shared_ptr<LyXLayout> > > > std::find_if<__gnu_cxx::__normal_iterator<boost::shared_ptr<LyXLayout> c onst*, std::vector<boost::shared_ptr<LyXLayout>, std::allocator<boost::shared_ptr<LyXLayout> > > >, (anonymous namespace)::LayoutNamesEqual> (__gnu_cxx::__normal_iterator<boost::shared_ptr<LyXLayout> const*, std::vector<boost::shared_ptr<LyXLayout>, std::allocator<boost::shared_ptr<LyXLayout> > > >, __gnu_cxx::__normal_iterator<boost::shared_ptr<LyXLayout> const*, std::vector<boost::shared_ptr<LyXLayout>, std::allocator<boost::shared_ptr<LyXLayout> > > >, (anonymous namespace)::LayoutNamesEqual) (lyx) | | | | | | | | | | | | | | | | | + 14.2 ms font_metrics::signedWidth (std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, LyXFont const&) (lyx) | | | | | | | | | | | | | | | | | | 14.2 ms font_metrics::width (char const*, unsigned long, LyXFont const&) (lyx) | | | | | | | | | | | | | | | | 1.0 ms Paragraph::getChar(int) const (lyx) | | | | | | | | | | | | | | | | + 2.0 ms FontIterator::operator++() (lyx) | | | | | | | | | | | | | | | | | 1.0 ms LyXText::getFont(Paragraph const&, int) const (lyx) | | | | | | | | | | | | | | | | 1.0 ms LyXText::singleWidth (Paragraph const&, int, char, LyXFont const&) const (lyx) | | | | | | | | | | | | | | | | + 2.0 ms LyXText::rightMargin (Paragraph const&) const (lyx) | | | | | | | | | | | | | | | | | 1.0 ms font_metrics::signedWidth (std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, LyXFont const&) (lyx) | | | | | | | | | | | | | | | | | 1.0 ms BufferParams::getLyXTextClass() const (lyx) | | | | | | | | | | | | | | | | + 1.0 ms FontIterator::FontIterator [in-charge](LyXText const&, Paragraph const&, int) (lyx) | | | | | | | | | | | | | | | | | 1.0 ms LyXText::getFont(Paragraph const&, int) const (lyx) | | | | | | | | | | | | | | | + 41.6 ms LyXText::setHeightOfRow(int, Row&) (lyx)
| | | | | | | | | | | | | | | |   1.0 ms Spacing::getValue() const (lyx)
| | | | | | | | | | | | | | | | 1.0 ms LyXText::getLayoutFont(int) const (lyx) | | | | | | | | | | | | | | | | + 33.5 ms Paragraph::getLabelWidthString() const (lyx) | | | | | | | | | | | | | | | | | + 32.5 ms _(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (lyx) | | | | | | | | | | | | | | | | | | + 30.5 ms Messages::get (std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const (lyx) | | | | | | | | | | | | | | | | | | | + 30.5 ms Messages::Pimpl::get (std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const (lyx) | | | | | | | | | | | | | | | | | | | | 4.1 ms lyx::support::getEnv (std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (lyx) | | | | | | | | | | | | | | | | | | | | 1.0 ms std::vector<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >::~vector [in-charge]() (lyx)
| | | | | | | | | | | | | | | | | | | |   1.0 ms _nl_locale_name (lyx)
| | | | | | | | | | | | | | | | | | | | 1.0 ms lyx::support::package () (lyx) | | | | | | | | | | | | | | | | | | | | - 12.2 ms bool boost::regex_match<__gnu_cxx::__normal_iterator<char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, char, boost::regex_traits<char, boost::cpp_regex_traits<char> > >(__gnu_cxx::__normal_iterator<char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, boost::match_results<__gnu_cxx::__normal_iterator<char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >&, boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags) (lyx) | | | | | | | | | | | | | | | | | | | | + 1.0 ms libintl_bindtextdomain (lyx) | | | | | | | | | | | | | | | | | | | | | 1.0 ms set_binding_values (lyx) | | | | | | | | | | | | | | | | | | | | - 1.0 ms std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace_safe(unsigned long, unsigned long, char const*, unsigned long) (libstdc++.6.dylib) | | | | | | | | | | | | | | | | | | | | - 1.0 ms std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string[in-charge](char const*, std::allocator<char> const&) (libstdc++.6.dylib) | | | | | | | | | | | | | | | | | | - 1.0 ms (anonymous namespace)::getLyXMessages() (lyx) | | | | | | | | | | | | | | | | | - 1.0 ms std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string[in- charge](char const*, std::allocator<char> const&) (libstdc++.6.dylib) | | | | | | | | | | | | | | | | + 1.0 ms RandomAccessList<Paragraph>::operator[](unsigned long) (lyx) | | | | | | | | | | | | | | | | | 1.0 ms std::vector<std::_List_iterator<Paragraph>, std::allocator<std::_List_iterator<Paragraph> > >::operator[] (unsigned long) (lyx) | | | | | | | | | | | | | | | | + 1.0 ms bool std::operator==<char, std::char_traits<char>, std::allocator<char> > (std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (lyx) | | | | | | | | | | | | | | | | | 1.0 ms std::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare (std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const (libstdc++.6.dylib) | | | | | | | | | | | | | | | | + 1.0 ms LyXText::spacing(Paragraph const&) const (lyx)
| | | | | | | | | | | | | | | | |   1.0 ms BufferParams::spacing() (lyx)
| | | | | | | | | | | | | | | + 1.0 ms BufferParams::getFont() const (lyx) | | | | | | | | | | | | | | | | 1.0 ms LyXTextClass::load (std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const (lyx) | | | | | | | | | | | | | | + 2686.2 ms (anonymous namespace)::paintPar(PainterInfo&, LyXText const&, int, int, int, bool) (lyx) | | | | | | | | | | | | | | | + 34.7 ms QLPainter::fillRectangle(int, int, int, int, LColor_color) (lyx) | | | | | | | | | | | | | | | | + 1.0 ms LColorCache::get (LColor_color) const (lyx) | | | | | | | | | | | | | | | | | + 1.0 ms std::map<LColor_color, QColor, std::less<LColor_color>, std::allocator<std::pair<LColor_color const, QColor> > >::find (LColor_color const&) (lyx) | | | | | | | | | | | | | | | | | | 1.0 ms std::_Rb_tree<LColor_color, std::pair<LColor_color const, QColor>, std::_Select1st<std::pair<LColor_color const, QColor> >, std::less<LColor_color>, std::allocator<std::pair<LColor_color const, QColor> > >::find(LColor_color const&) (lyx) | | | | | | | | | | | | | | | + 2619.9 ms (anonymous namespace)::RowPainter::paintText() (lyx) | | | | | | | | | | | | | | | | 175.2 ms font_metrics::width(char, LyXFont const&) (lyx) | | | | | | | | | | | | | | | | + 5.1 ms font_metrics::width(char const*, unsigned long, LyXFont const&) (lyx) | | | | | | | | | | | | | | | | | 1.0 ms LyXFont::realShape() const (lyx) | | | | | | | | | | | | | | | | 4.1 ms BufferView::workWidth() const (lyx) | | | | | | | | | | | | | | | | 4.1 ms LyXText::singleWidth (Paragraph const&, int, char, LyXFont const&) const (lyx)
| | | | | | | | | | | | | | | |   3.1 ms Bidi::vis2log(int) const (lyx)
| | | | | | | | | | | | | | | | + 2417.1 ms (anonymous namespace)::RowPainter::paintFromPos(int&) (lyx) | | | | | | | | | | | | | | | | | + 2394.6 ms (anonymous namespace)::RowPainter::paintChars(int&, LyXFont, bool, bool) (lyx) | | | | | | | | | | | | | | | | | | + 524.7 ms font_metrics::width (char const*, unsigned long, LyXFont const&) (lyx) | | | | | | | | | | | | | | | | | | | 3.1 ms FontLoader::fontinfo (LyXFont const&) (lyx) | | | | | | | | | | | | | | | | | | | 2.0 ms QString::~QString [in- charge]() (lyx) | | | | | | | | | | | | | | | | | | | 1.0 ms QLFontInfo::width (unsigned short) const (lyx) | | | | | | | | | | | | | | | | | | + 3.1 ms std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string [in- charge]() (libstdc++.6.dylib) | | | | | | | | | | | | | | | | | | | 1.0 ms __gnu_cxx::__exchange_and_add(int volatile*, int) (libstdc++.6.dylib) | | | | | | | | | | | | | | | | | | + 1825.8 ms QLPainter::text(int, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, LyXFont const&) (lyx) | | | | | | | | | | | | | | | | | | | + 1824.8 ms QLPainter::text (int, int, char const*, unsigned long, LyXFont const&) (lyx) | | | | | | | | | | | | | | | | | | | | - 1710.0 ms QPainter::drawText (int, int, QString const&, int) (lyx) | | | | | | | | | | | | | | | | | | | | + 19.5 ms QLPainter::setQPainterPen(QPainter&, LColor_color, Painter::line_style, Painter::line_width) (lyx) | | | | | | | | | | | | | | | | | | | | | + 6.2 ms LColorCache::get (LColor_color) const (lyx) | | | | | | | | | | | | | | | | | | | | | | + 3.1 ms std::map<LColor_color, QColor, std::less<LColor_color>, std::allocator<std::pair<LColor_color const, QColor> > >::find (LColor_color const&) (lyx) | | | | | | | | | | | | | | | | | | | | | | | 2.1 ms std::_Rb_tree<LColor_color, std::pair<LColor_color const, QColor>, std::_Select1st<std::pair<LColor_color const, QColor> >, std::less<LColor_color>, std::allocator<std::pair<LColor_color const, QColor> > >::find(LColor_color const&) (lyx) | | | | | | | | | | | | | | | | | | | | | 2.1 ms operator new (unsigned long) (libstdc++.6.dylib) | | | | | | | | | | | | | | | | | | | | 5.1 ms operator new (unsigned long) (libstdc++.6.dylib) | | | | | | | | | | | | | | | | | | | | 2.1 ms std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (libstdc++.6.dylib) | | | | | | | | | | | | | | | | | | | | 1.0 ms LyXFont::realColor() const (lyx)

Reply via email to