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