VirtualBox

Changeset 72384 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 29, 2018 2:48:27 PM (7 years ago)
Author:
vboxsync
Message:

VMM/Guru: Speed up stderr output by explicit buffering. Makes a big difference on Windows. :) [fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/VMMGuruMeditation.cpp

    r72383 r72384  
    8787 * @param   pHlp        The instance to flush.
    8888 */
    89 static void vmmR3FatalDumpInfoHlp_FlushStdErr(PVMMR3FATALDUMPINFOHLP pHlp)
     89static void vmmR3FatalDumpInfoHlpFlushStdErr(PVMMR3FATALDUMPINFOHLP pHlp)
    9090{
    9191    size_t cch = pHlp->offStdErrBuf;
     
    110110        else
    111111        {
    112             vmmR3FatalDumpInfoHlp_FlushStdErr(pHlp);
     112            vmmR3FatalDumpInfoHlpFlushStdErr(pHlp);
    113113            if (cbChars < sizeof(pHlp->achStdErrBuf))
    114114                offBuf = 0;
     
    273273
    274274    if (pHlp->fStdErr)
    275         vmmR3FatalDumpInfoHlp_FlushStdErr(pHlp);
     275        vmmR3FatalDumpInfoHlpFlushStdErr(pHlp);
    276276}
    277277
     
    772772     * Repeat the summary to stderr so we don't have to scroll half a mile up.
    773773     */
     774    vmmR3FatalDumpInfoHlpFlushStdErr(&Hlp);
    774775    if (Hlp.szSummary[0])
    775776        RTStrmPrintf(g_pStdErr,
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette