VirtualBox

Changeset 75498 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Nov 16, 2018 12:03:41 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
126655
Message:

HGCM,Main,SharedFolder,SharedClipboard,GuestProperties: Added HGCM service helpers for statistics and dbg info registration/deregistration. A PUVM is passed to HGCMService (where the helpers are implemented) when the service is loaded. Since this drags in both dbg.h and stam.h, LOG_GROUP defines now have to be at the top of the include list as everywhere else (i.e. hgcmsvc.h will define LOG_GROUP default by dragging in log.h). Added generic statistics of HGCM message processing and function level statistics to the shared folder service. [missing files, ++]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/HGCMThread.h

    r69500 r75498  
    129129 * @param pfnThread     The worker thread function.
    130130 * @param pvUser        A pointer passed to worker thread.
    131  *
    132  * @return VBox error code
    133  */
    134 int hgcmThreadCreate (HGCMTHREADHANDLE *pHandle, const char *pszThreadName, PFNHGCMTHREAD pfnThread, void *pvUser);
     131 * @param pszStatSubDir The "sub-directory" under "/HGCM/" where thread
     132 *                      statistics should be registered.  The caller,
     133 *                      HGCMService, will deregister them.  NULL if no stats.
     134 * @param pUVM          The user mode VM handle to register statistics with.
     135 *                      NULL if no stats.
     136 *
     137 * @return VBox error code
     138 */
     139int hgcmThreadCreate (HGCMTHREADHANDLE *pHandle, const char *pszThreadName, PFNHGCMTHREAD pfnThread, void *pvUser,
     140                      const char *pszStatsSubDir, PUVM pUVM);
    135141
    136142/** Wait for termination of a HGCM worker thread.
Note: See TracChangeset for help on using the changeset viewer.

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