2020-07-14 00:21:00 +02:00
<!DOCTYPE html>
2020-10-15 01:31:30 +02:00
< html >
2020-07-14 00:21:00 +02:00
< head >
< meta charset = "utf-8" / >
2021-05-16 00:06:01 +02:00
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" / > < meta name = "generator" content = "Docutils 0.17.1: http://docutils.sourceforge.net/" / >
2020-07-14 00:21:00 +02:00
< title > evennia.server.profiling.memplot — Evennia 1.0-dev documentation< / title >
< link rel = "stylesheet" href = "../_static/nature.css" type = "text/css" / >
< link rel = "stylesheet" href = "../_static/pygments.css" type = "text/css" / >
< script id = "documentation_options" data-url_root = "../" src = "../_static/documentation_options.js" > < / script >
< script src = "../_static/jquery.js" > < / script >
< script src = "../_static/underscore.js" > < / script >
< script src = "../_static/doctools.js" > < / script >
< script src = "../_static/language_data.js" > < / script >
< link rel = "shortcut icon" href = "../_static/favicon.ico" / >
< link rel = "index" title = "Index" href = "../genindex.html" / >
2022-02-06 18:34:09 +00:00
< link rel = "search" title = "Search" href = "../search.html" / >
< link rel = "next" title = "evennia.server.profiling.settings_mixin" href = "evennia.server.profiling.settings_mixin.html" / >
< link rel = "prev" title = "evennia.server.profiling.dummyrunner_settings" href = "evennia.server.profiling.dummyrunner_settings.html" / >
2020-07-14 00:21:00 +02:00
< / head > < body >
< div class = "related" role = "navigation" aria-label = "related navigation" >
< h3 > Navigation< / h3 >
< ul >
< li class = "right" style = "margin-right: 10px" >
< a href = "../genindex.html" title = "General Index"
accesskey="I">index< / a > < / li >
< li class = "right" >
< a href = "../py-modindex.html" title = "Python Module Index"
>modules< / a > |< / li >
2022-02-06 18:34:09 +00:00
< li class = "right" >
< a href = "evennia.server.profiling.settings_mixin.html" title = "evennia.server.profiling.settings_mixin"
accesskey="N">next< / a > |< / li >
< li class = "right" >
< a href = "evennia.server.profiling.dummyrunner_settings.html" title = "evennia.server.profiling.dummyrunner_settings"
accesskey="P">previous< / a > |< / li >
2020-10-15 01:31:30 +02:00
< li class = "nav-item nav-item-0" > < a href = "../index.html" > Evennia 1.0-dev< / a > » < / li >
2022-02-06 18:34:09 +00:00
< li class = "nav-item nav-item-1" > < a href = "../Evennia-API.html" > API Summary< / a > » < / li >
< li class = "nav-item nav-item-2" > < a href = "evennia-api.html" > evennia< / a > » < / li >
< li class = "nav-item nav-item-3" > < a href = "evennia.html" > evennia< / a > » < / li >
< li class = "nav-item nav-item-4" > < a href = "evennia.server.html" > evennia.server< / a > » < / li >
< li class = "nav-item nav-item-5" > < a href = "evennia.server.profiling.html" accesskey = "U" > evennia.server.profiling< / a > » < / li >
2020-10-15 01:31:30 +02:00
< li class = "nav-item nav-item-this" > < a href = "" > evennia.server.profiling.memplot< / a > < / li >
2020-07-14 00:21:00 +02:00
< / ul >
2021-06-23 18:58:26 +02:00
< div class = "develop" > develop branch< / div >
2020-07-14 00:21:00 +02:00
< / div >
< div class = "document" >
2022-10-23 09:04:07 +00:00
2020-07-14 00:21:00 +02:00
< div class = "documentwrapper" >
2022-10-23 09:04:07 +00:00
< div class = "sphinxsidebar" role = "navigation" aria-label = "main navigation" >
< div class = "sphinxsidebarwrapper" >
< p class = "logo" > < a href = "../index.html" >
< img class = "logo" src = "../_static/evennia_logo.png" alt = "Logo" / >
< / a > < / p >
< div id = "searchbox" style = "display: none" role = "search" >
< h3 id = "searchlabel" > Quick search< / h3 >
< div class = "searchformwrapper" >
< form class = "search" action = "../search.html" method = "get" >
< input type = "text" name = "q" aria-labelledby = "searchlabel" / >
< input type = "submit" value = "Go" / >
< / form >
< / div >
< / div >
< script > $ ( '#searchbox' ) . show ( 0 ) ; < / script >
< h4 > Previous topic< / h4 >
< p class = "topless" > < a href = "evennia.server.profiling.dummyrunner_settings.html"
title="previous chapter">evennia.server.profiling.dummyrunner_settings< / a > < / p >
< h4 > Next topic< / h4 >
< p class = "topless" > < a href = "evennia.server.profiling.settings_mixin.html"
title="next chapter">evennia.server.profiling.settings_mixin< / a > < / p >
< div role = "note" aria-label = "source link" >
<!-- h3>This Page</h3 -->
< ul class = "this-page-menu" >
< li > < a href = "../_sources/api/evennia.server.profiling.memplot.md.txt"
rel="nofollow">Show Page Source< / a > < / li >
< / ul >
< / div > < h3 > Links< / h3 >
< ul >
< li > < a href = "https://www.evennia.com" > Home page< / a > < / li >
< li > < a href = "https://github.com/evennia/evennia" > Evennia Github< / a > < / li >
< li > < a href = "http://games.evennia.com" > Game Index< / a > < / li >
< li >
< a href = "https://discord.gg/AJJpcRUhtF" > Discord< / a > -
< a href = "https://github.com/evennia/evennia/discussions" > Discussions< / a > -
< a href = "https://evennia.blogspot.com/" > Blog< / a >
< / li >
< / ul >
< h3 > Versions< / h3 >
< ul >
< li > < a href = "evennia.server.profiling.memplot.html" > 1.0-dev (develop branch)< / a > < / li >
< li > < a href = "../../0.9.5/api/evennia.server.profiling.memplot.html" > 0.9.5 (v0.9.5 branch)< / a > < / li >
< / ul >
< / div >
< / div >
2020-07-14 00:21:00 +02:00
< div class = "bodywrapper" >
< div class = "body" role = "main" >
2021-05-16 00:06:01 +02:00
< section id = "module-evennia.server.profiling.memplot" >
2020-07-14 00:21:00 +02:00
< span id = "evennia-server-profiling-memplot" > < / span > < h1 > evennia.server.profiling.memplot< a class = "headerlink" href = "#module-evennia.server.profiling.memplot" title = "Permalink to this headline" > ¶< / a > < / h1 >
< p > Script that saves memory and idmapper data over time.< / p >
< p > Data will be saved to game/logs/memoryusage.log. Note that
the script will append to this file if it already exists.< / p >
< p > Call this module directly to plot the log (requires matplotlib and numpy).< / p >
2020-10-15 01:31:30 +02:00
< dl class = "py class" >
2020-07-14 00:21:00 +02:00
< dt id = "evennia.server.profiling.memplot.Memplot" >
2020-10-15 01:31:30 +02:00
< em class = "property" > class < / em > < code class = "sig-prename descclassname" > evennia.server.profiling.memplot.< / code > < code class = "sig-name descname" > Memplot< / code > < span class = "sig-paren" > (< / span > < em class = "sig-param" > < span class = "o" > *< / span > < span class = "n" > args< / span > < / em > , < em class = "sig-param" > < span class = "o" > **< / span > < span class = "n" > kwargs< / span > < / em > < span class = "sig-paren" > )< / span > < a class = "reference internal" href = "../_modules/evennia/server/profiling/memplot.html#Memplot" > < span class = "viewcode-link" > [source]< / span > < / a > < a class = "headerlink" href = "#evennia.server.profiling.memplot.Memplot" title = "Permalink to this definition" > ¶< / a > < / dt >
2020-07-14 00:21:00 +02:00
< dd > < p > Bases: < a class = "reference internal" href = "evennia.scripts.scripts.html#evennia.scripts.scripts.DefaultScript" title = "evennia.scripts.scripts.DefaultScript" > < code class = "xref py py-class docutils literal notranslate" > < span class = "pre" > evennia.scripts.scripts.DefaultScript< / span > < / code > < / a > < / p >
< p > Describes a memory plotting action.< / p >
2020-10-15 01:31:30 +02:00
< dl class = "py method" >
2020-07-14 00:21:00 +02:00
< dt id = "evennia.server.profiling.memplot.Memplot.at_script_creation" >
< code class = "sig-name descname" > at_script_creation< / code > < span class = "sig-paren" > (< / span > < span class = "sig-paren" > )< / span > < a class = "reference internal" href = "../_modules/evennia/server/profiling/memplot.html#Memplot.at_script_creation" > < span class = "viewcode-link" > [source]< / span > < / a > < a class = "headerlink" href = "#evennia.server.profiling.memplot.Memplot.at_script_creation" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Called at script creation< / p >
< / dd > < / dl >
2020-10-15 01:31:30 +02:00
< dl class = "py method" >
2020-07-14 00:21:00 +02:00
< dt id = "evennia.server.profiling.memplot.Memplot.at_repeat" >
< code class = "sig-name descname" > at_repeat< / code > < span class = "sig-paren" > (< / span > < span class = "sig-paren" > )< / span > < a class = "reference internal" href = "../_modules/evennia/server/profiling/memplot.html#Memplot.at_repeat" > < span class = "viewcode-link" > [source]< / span > < / a > < a class = "headerlink" href = "#evennia.server.profiling.memplot.Memplot.at_repeat" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Regularly save memory statistics.< / p >
< / dd > < / dl >
2020-10-15 01:31:30 +02:00
< dl class = "py exception" >
2020-07-14 00:21:00 +02:00
< dt id = "evennia.server.profiling.memplot.Memplot.DoesNotExist" >
< em class = "property" > exception < / em > < code class = "sig-name descname" > DoesNotExist< / code > < a class = "headerlink" href = "#evennia.server.profiling.memplot.Memplot.DoesNotExist" title = "Permalink to this definition" > ¶< / a > < / dt >
2020-10-15 01:31:30 +02:00
< dd > < p > Bases: < a class = "reference internal" href = "evennia.scripts.scripts.html#evennia.scripts.scripts.DefaultScript.DoesNotExist" title = "evennia.scripts.scripts.DefaultScript.DoesNotExist" > < code class = "xref py py-class docutils literal notranslate" > < span class = "pre" > evennia.scripts.scripts.DefaultScript.DoesNotExist< / span > < / code > < / a > < / p >
2020-07-14 00:21:00 +02:00
< / dd > < / dl >
2020-10-15 01:31:30 +02:00
< dl class = "py exception" >
2020-07-14 00:21:00 +02:00
< dt id = "evennia.server.profiling.memplot.Memplot.MultipleObjectsReturned" >
< em class = "property" > exception < / em > < code class = "sig-name descname" > MultipleObjectsReturned< / code > < a class = "headerlink" href = "#evennia.server.profiling.memplot.Memplot.MultipleObjectsReturned" title = "Permalink to this definition" > ¶< / a > < / dt >
2020-10-15 01:31:30 +02:00
< dd > < p > Bases: < a class = "reference internal" href = "evennia.scripts.scripts.html#evennia.scripts.scripts.DefaultScript.MultipleObjectsReturned" title = "evennia.scripts.scripts.DefaultScript.MultipleObjectsReturned" > < code class = "xref py py-class docutils literal notranslate" > < span class = "pre" > evennia.scripts.scripts.DefaultScript.MultipleObjectsReturned< / span > < / code > < / a > < / p >
2020-07-14 00:21:00 +02:00
< / dd > < / dl >
2020-10-15 01:31:30 +02:00
< dl class = "py attribute" >
2020-07-14 00:21:00 +02:00
< dt id = "evennia.server.profiling.memplot.Memplot.path" >
< code class = "sig-name descname" > path< / code > < em class = "property" > = 'evennia.server.profiling.memplot.Memplot'< / em > < a class = "headerlink" href = "#evennia.server.profiling.memplot.Memplot.path" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < / dd > < / dl >
2020-10-15 01:31:30 +02:00
< dl class = "py attribute" >
2020-07-14 00:21:00 +02:00
< dt id = "evennia.server.profiling.memplot.Memplot.typename" >
< code class = "sig-name descname" > typename< / code > < em class = "property" > = 'Memplot'< / em > < a class = "headerlink" href = "#evennia.server.profiling.memplot.Memplot.typename" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < / dd > < / dl >
< / dd > < / dl >
2021-05-16 00:06:01 +02:00
< / section >
2020-07-14 00:21:00 +02:00
< / div >
< / div >
< / div >
< / div >
< div class = "related" role = "navigation" aria-label = "related navigation" >
< h3 > Navigation< / h3 >
< ul >
< li class = "right" style = "margin-right: 10px" >
< a href = "../genindex.html" title = "General Index"
>index< / a > < / li >
< li class = "right" >
< a href = "../py-modindex.html" title = "Python Module Index"
>modules< / a > |< / li >
2022-02-06 18:34:09 +00:00
< li class = "right" >
< a href = "evennia.server.profiling.settings_mixin.html" title = "evennia.server.profiling.settings_mixin"
>next< / a > |< / li >
< li class = "right" >
< a href = "evennia.server.profiling.dummyrunner_settings.html" title = "evennia.server.profiling.dummyrunner_settings"
>previous< / a > |< / li >
2020-10-15 01:31:30 +02:00
< li class = "nav-item nav-item-0" > < a href = "../index.html" > Evennia 1.0-dev< / a > » < / li >
2022-02-06 18:34:09 +00:00
< li class = "nav-item nav-item-1" > < a href = "../Evennia-API.html" > API Summary< / a > » < / li >
< li class = "nav-item nav-item-2" > < a href = "evennia-api.html" > evennia< / a > » < / li >
< li class = "nav-item nav-item-3" > < a href = "evennia.html" > evennia< / a > » < / li >
< li class = "nav-item nav-item-4" > < a href = "evennia.server.html" > evennia.server< / a > » < / li >
< li class = "nav-item nav-item-5" > < a href = "evennia.server.profiling.html" > evennia.server.profiling< / a > » < / li >
2020-10-15 01:31:30 +02:00
< li class = "nav-item nav-item-this" > < a href = "" > evennia.server.profiling.memplot< / a > < / li >
2020-07-14 00:21:00 +02:00
< / ul >
2021-06-23 18:58:26 +02:00
< div class = "develop" > develop branch< / div >
2020-07-14 00:21:00 +02:00
< / div >
< div class = "footer" role = "contentinfo" >
© Copyright 2020, The Evennia developer community.
2020-10-15 01:31:30 +02:00
Created using < a href = "https://www.sphinx-doc.org/" > Sphinx< / a > 3.2.1.
2020-07-14 00:21:00 +02:00
< / div >
< / body >
< / html >