Changeset 101803 in vbox
- Timestamp:
- Nov 5, 2023 9:09:38 AM (15 months ago)
- Location:
- trunk/src/libs/xpcom18a4
- Files:
-
- 3 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/Config.kmk
r98394 r101803 412 412 xpcom/ds/nsISupportsIterators.idl \ 413 413 xpcom/ds/nsIVariant.idl \ 414 xpcom/ds/nsITimelineService.idl \415 414 xpcom/ds/nsIArray.idl \ 416 415 xpcom/ds/nsIPropertyBag.idl \ -
trunk/src/libs/xpcom18a4/Makefile.kmk
r101799 r101803 645 645 xpcom/ds/nsVariant.cpp \ 646 646 xpcom/ds/nsVoidArray.cpp \ 647 xpcom/ds/nsTimelineService.cpp \648 647 xpcom/ds/nsValueArray.cpp \ 649 648 xpcom/ds/nsCOMArray.cpp \ … … 1195 1194 nsISupportsArray.xpt \ 1196 1195 nsISupportsIterators.xpt \ 1197 nsITimelineService.xpt \1198 1196 nsIArray.xpt \ 1199 1197 nsIObserverService.xpt \ -
trunk/src/libs/xpcom18a4/python/src/loader/pyloader.cpp
r58104 r101803 66 66 67 67 #endif 68 69 #include "nsITimelineService.h"70 68 71 69 typedef nsresult (*pfnPyXPCOM_NSGetModule)(nsIComponentManager *servMgr, … … 185 183 PRBool bDidInitPython = !Py_IsInitialized(); // well, I will next line, anyway :-) 186 184 if (bDidInitPython) { 187 NS_TIMELINE_START_TIMER("PyXPCOM: Python initializing");188 185 Py_Initialize(); 189 186 if (!Py_IsInitialized()) { … … 195 192 #endif // NS_DEBUG 196 193 PyEval_InitThreads(); 197 NS_TIMELINE_STOP_TIMER("PyXPCOM: Python initializing");198 NS_TIMELINE_MARK_TIMER("PyXPCOM: Python initializing");199 194 } 200 195 // Get the Python interpreter state 201 NS_TIMELINE_START_TIMER("PyXPCOM: Python threadstate setup");202 196 #ifndef PYXPCOM_USE_PYGILSTATE 203 197 PyThreadState *threadStateCreated = NULL; … … 218 212 PyGILState_STATE state = PyGILState_Ensure(); 219 213 #endif // PYXPCOM_USE_PYGILSTATE 220 #ifdef MOZ_TIMELINE221 // If the timeline service is installed, see if we can install our hooks.222 if (NULL==PyImport_ImportModule("timeline_hook")) {223 if (!PyErr_ExceptionMatches(PyExc_ImportError))224 LogError("Failed to import 'timeline_hook'");225 PyErr_Clear(); // but don't care if we can't.226 }227 #endif228 214 // Add the standard paths always - we may not have been the first to 229 215 // init Python. … … 249 235 #endif 250 236 251 NS_TIMELINE_STOP_TIMER("PyXPCOM: Python threadstate setup");252 NS_TIMELINE_MARK_TIMER("PyXPCOM: Python threadstate setup");253 NS_TIMELINE_START_TIMER("PyXPCOM: PyXPCOM NSGetModule entry point");254 237 nsresult rc = PyXPCOM_NSGetModule(servMgr, location, result); 255 NS_TIMELINE_STOP_TIMER("PyXPCOM: PyXPCOM NSGetModule entry point");256 NS_TIMELINE_MARK_TIMER("PyXPCOM: PyXPCOM NSGetModule entry point");257 238 return rc; 258 239 } -
trunk/src/libs/xpcom18a4/xpcom/build/nsXPComInit.cpp
r101777 r101803 106 106 #include "nsAtomTable.h" 107 107 #include "nsTraceRefcnt.h" 108 #include "nsTimelineService.h"109 108 110 109 #include "nsVariant.h" … … 198 197 NS_GENERIC_FACTORY_CONSTRUCTOR(nsRecyclingAllocatorImpl) 199 198 200 #ifdef MOZ_TIMELINE201 NS_GENERIC_FACTORY_CONSTRUCTOR(nsTimelineService)202 #endif203 204 199 static NS_METHOD 205 200 nsXPTIInterfaceInfoManagerGetSingleton(nsISupports* outer, … … 369 364 COMPONENT(EXCEPTIONSERVICE, nsExceptionServiceConstructor), 370 365 COMPONENT(ATOMSERVICE, nsAtomServiceConstructor), 371 #ifdef MOZ_TIMELINE372 COMPONENT(TIMELINESERVICE, nsTimelineServiceConstructor),373 #endif374 366 COMPONENT(OBSERVERSERVICE, nsObserverService::Create), 375 367 COMPONENT(GENERICFACTORY, nsGenericFactory::Create), -
trunk/src/libs/xpcom18a4/xpcom/components/xcDll.cpp
r31259 r101803 55 55 #include "nsCRT.h" 56 56 #include "nsString.h" 57 #include "nsITimelineService.h"58 57 #include "nsModule.h" 59 58 #ifdef DEBUG -
trunk/src/libs/xpcom18a4/xpcom/io/nsLocalFileUnix.cpp
r62375 r101803 79 79 #include "prproces.h" 80 80 #include "nsISimpleEnumerator.h" 81 #include "nsITimelineService.h"82 81 83 82 #include "nsNativeCharsetUtils.h" … … 1538 1537 NS_ENSURE_ARG_POINTER(_retval); 1539 1538 1540 NS_TIMELINE_START_TIMER("PR_LoadLibrary");1541 1542 1539 *_retval = PR_LoadLibrary(mPath.get()); 1543 1544 NS_TIMELINE_STOP_TIMER("PR_LoadLibrary");1545 NS_TIMELINE_MARK_TIMER1("PR_LoadLibrary", mPath.get());1546 1540 1547 1541 if (!*_retval) -
trunk/src/libs/xpcom18a4/xpcom/io/nsLocalFileWin.cpp
r62374 r101803 68 68 #include "nsXPIDLString.h" 69 69 #include "prproces.h" 70 #include "nsITimelineService.h"71 70 72 71 #include "nsAutoLock.h" … … 1339 1338 return NS_ERROR_FILE_IS_DIRECTORY; 1340 1339 1341 NS_TIMELINE_START_TIMER("PR_LoadLibrary");1342 1340 *_retval = PR_LoadLibrary(mResolvedPath.get()); 1343 NS_TIMELINE_STOP_TIMER("PR_LoadLibrary");1344 NS_TIMELINE_MARK_TIMER1("PR_LoadLibrary", mResolvedPath.get());1345 1346 1341 if (*_retval) 1347 1342 return NS_OK;
Note:
See TracChangeset
for help on using the changeset viewer.