Qt アプリケーションで大量のページ フォールトが発生していることに気付きました。ドッキング ウィジェット (下に数十個のウィジェットのウィジェット ツリーがある) のサイズを 2 秒間変更して再現し、AQTime を使用してその操作をトレースしました。この操作で 2000 のページ フォールトが発生します。何故ですか?
Windows XP 32 ビットで Qt 4.5.3 を使用する
更新: それらはソフト ページ フォールト
です。これをプレビューすると、コンボボックスをクリックしてこれらの項目の 1 つを選択するたびに、200 ページ フォールトが発生します。
Parents
Code Type Routine Name Faults Faults with Children Hit Count
x86 qt_memfill_template<unsigned int,unsigned int> 2416 2416 5160
x86 qt_memfill<unsigned int> 2416 2416 5160
x86 qt_rectfill<unsigned int> 0 2416 5160
x86 qt_rectfill_template<unsigned int> 0 2416 63
x86 qt_rectfill_quint32 3 2419 63
x86 fillRect_normalized 1 2420 63
x86 QRasterPaintEngine::fillRect 3 2423 63
x86 QRasterPaintEngine::fillRect 1 2424 63
x86 QPainter::fillRect 1 2427 63
x86 fillRegion 0 2427 15
x86 QWidgetPrivate::paintBackground 2 2430 12
x86 QWidgetPrivate::drawWidget 0 2430 12
x86 QWidgetBackingStore::sync 2 2596 12
x86 QWidgetPrivate::syncBackingStore 4 2610 12
x86 QETWidget::translateConfigEvent 0 2479 6
x86 QtWndProc 0 2495 12