VirtualBox

Changeset 107427 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Jan 6, 2025 4:59:33 PM (13 days ago)
Author:
vboxsync
Message:

HGCMThread.cpp: Fixed a warning found by Parfait. ​jiraref:VBP-1424

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/HGCMThread.cpp

    r106061 r107427  
    318318                        pVMM->pfnSTAMR3RegisterFU(pUVM, &m_StatPostMsgTwoPending, STAMTYPE_COUNTER, STAMVISIBILITY_ALWAYS,
    319319                                                  STAMUNIT_COUNT,
    320                                                   "Times a message was appended to input queue with only one pending message.",
     320                                                  "Times a message was appended to input queue with two pending messages.",
    321321                                                  "/HGCM/%s/PostMsg2Pending", pszStatsSubDir);
    322322                        pVMM->pfnSTAMR3RegisterFU(pUVM, &m_StatPostMsgThreePending, STAMTYPE_COUNTER, STAMVISIBILITY_ALWAYS,
    323323                                                  STAMUNIT_COUNT,
    324                                                   "Times a message was appended to input queue with only one pending message.",
     324                                                  "Times a message was appended to input queue with three pending messages.",
    325325                                                  "/HGCM/%s/PostMsg3Pending", pszStatsSubDir);
    326326                        pVMM->pfnSTAMR3RegisterFU(pUVM, &m_StatPostMsgManyPending, STAMTYPE_COUNTER, STAMVISIBILITY_ALWAYS,
    327327                                                  STAMUNIT_COUNT,
    328                                                   "Times a message was appended to input queue with only one pending message.",
     328                                                  "Times a message was appended to input queue with >3 pending messages.",
    329329                                                  "/HGCM/%s/PostMsgManyPending", pszStatsSubDir);
    330330                    }
    331 
    332331
    333332                    /* Wait until the thread is ready. */
     
    440439            if (!pPrev->m_pPrev)
    441440                STAM_REL_COUNTER_INC(&m_StatPostMsgOnePending);
    442             else if (!pPrev->m_pPrev)
     441            else if (!pPrev->m_pPrev->m_pPrev)
    443442                STAM_REL_COUNTER_INC(&m_StatPostMsgTwoPending);
    444             else if (!pPrev->m_pPrev->m_pPrev)
     443            else if (!pPrev->m_pPrev->m_pPrev->m_pPrev)
    445444                STAM_REL_COUNTER_INC(&m_StatPostMsgThreePending);
    446445            else
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