evennia.server.profiling.memplot

Script that saves memory and idmapper data over time.

Data will be saved to game/logs/memoryusage.log. Note that the script will append to this file if it already exists.

Call this module directly to plot the log (requires matplotlib and numpy).

class evennia.server.profiling.memplot.Memplot(*args, **kwargs)[源代码]

基类:evennia.scripts.scripts.DefaultScript

Describes a memory plotting action.

at_script_creation()[源代码]

Called at script creation

at_repeat()[源代码]

Regularly save memory statistics.

exception DoesNotExist

基类:evennia.scripts.scripts.DefaultScript.DoesNotExist

exception MultipleObjectsReturned

基类:evennia.scripts.scripts.DefaultScript.MultipleObjectsReturned

path = 'evennia.server.profiling.memplot.Memplot'
typename = 'Memplot'