mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-01-04 23:59:58 +01:00
add type to mod/plug stats
This commit is contained in:
parent
c80c9227d5
commit
869bc141de
|
|
@ -75,7 +75,8 @@ class Module:
|
|||
"""!Returns statistical information's from last module run
|
||||
|
||||
@return Statistics as pyton dict"""
|
||||
stats = {"runCount": self._runCount,
|
||||
stats = {"type": "plugin",
|
||||
"runCount": self._runCount,
|
||||
"cumTime": self._cumTime,
|
||||
"moduleTime": self._moduleTime,
|
||||
"moduleErrorCount": self._moduleErrorCount}
|
||||
|
|
|
|||
|
|
@ -123,7 +123,8 @@ class Plugin:
|
|||
"""!Returns statistical information's from last plugin run
|
||||
|
||||
@return Statistics as pyton dict"""
|
||||
stats = {"runCount": self._runCount,
|
||||
stats = {"type": "plugin",
|
||||
"runCount": self._runCount,
|
||||
"sumTime": self._sumTime,
|
||||
"cumTime": self._cumTime,
|
||||
"setupTime": self._setupTime,
|
||||
|
|
|
|||
Loading…
Reference in a new issue