We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0288895 commit a1d6f29Copy full SHA for a1d6f29
python/utils.py
@@ -328,7 +328,8 @@ def startPlugin(packageName):
328
329
errMsg = QCoreApplication.translate("Python", "Couldn't load plugin '{0}'").format(packageName)
330
331
- start = time.clock()
+ start = time.process_time()
332
+
333
# create an instance of the plugin
334
try:
335
plugins[packageName] = package.classFactory(iface)
@@ -350,7 +351,7 @@ def startPlugin(packageName):
350
351
352
# add to active plugins
353
active_plugins.append(packageName)
- end = time.clock()
354
+ end = time.process_time()
355
plugin_times[packageName] = "{0:02f}s".format(end - start)
356
357
return True
0 commit comments