2022-11-14 22:43:45 +01:00
<!DOCTYPE html>
< html >
< head >
< meta charset = "utf-8" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" / > < meta name = "generator" content = "Docutils 0.17.1: http://docutils.sourceforge.net/" / >
2023-06-10 07:57:46 +00:00
< title > evennia.server.profiling.memplot — Evennia 2.x documentation< / title >
2022-11-14 22:43:45 +01:00
< 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" / >
< 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" / >
< / head > < body >
2023-06-10 07:57:46 +00:00
2023-06-10 08:53:19 +00:00
2023-06-10 07:57:46 +00:00
2022-11-14 22:43:45 +01:00
< 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 >
< 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 >
2023-06-10 07:57:46 +00:00
< li class = "nav-item nav-item-0" > < a href = "../index.html" > Evennia 2.x< / a > » < / li >
2022-11-14 22:43:45 +01: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 >
< li class = "nav-item nav-item-this" > < a href = "" > evennia.server.profiling.memplot< / a > < / li >
< / ul >
2023-06-10 08:53:19 +00:00
< / div >
2022-11-14 22:43:45 +01:00
< div class = "document" >
< div class = "documentwrapper" >
< 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 >
2023-02-25 16:50:58 +00:00
< li > < a href = "https://www.evennia.com/docs/latest/index.html" > Documentation Top< / a > < / li >
< li > < a href = "https://www.evennia.com" > Evennia Home< / a > < / li >
< li > < a href = "https://github.com/evennia/evennia" > Github< / a > < / li >
2022-11-14 22:43:45 +01:00
< 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 >
2023-06-10 07:57:46 +00:00
< h3 > Doc Versions< / h3 >
2022-11-14 22:43:45 +01:00
< ul >
2023-06-10 07:57:46 +00:00
< li > < a href = "evennia.server.profiling.memplot.html" > 2.x (main branch)< / a > < / li >
2022-11-15 20:29:38 +00:00
< ul >
2023-06-10 08:12:58 +00:00
< li > < a href = "../1.3.0/index.html" > 1.3.0 (v1.3.0 branch)< / a > < / li >
2023-06-10 07:57:46 +00:00
2023-06-10 08:12:58 +00:00
< li > < a href = "../0.9.5/index.html" > 0.9.5 (v0.9.5 branch)< / a > < / li >
2023-06-10 07:57:46 +00:00
2022-11-15 20:29:38 +00:00
2022-11-14 22:43:45 +01:00
< / ul >
< / div >
< / div >
< div class = "bodywrapper" >
< div class = "body" role = "main" >
< section id = "module-evennia.server.profiling.memplot" >
< 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 >
< dl class = "py class" >
< dt id = "evennia.server.profiling.memplot.Memplot" >
< 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 >
< 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 >
< dl class = "py method" >
< 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 >
< dl class = "py method" >
< 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 >
< dl class = "py exception" >
< 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 >
< 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 >
< / dd > < / dl >
< dl class = "py exception" >
< 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 >
< 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 >
< / dd > < / dl >
< dl class = "py attribute" >
< 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 >
< dl class = "py attribute" >
< 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 >
< / section >
< / 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 >
< 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 >
2023-06-10 07:57:46 +00:00
< li class = "nav-item nav-item-0" > < a href = "../index.html" > Evennia 2.x< / a > » < / li >
2022-11-14 22:43:45 +01: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 >
< li class = "nav-item nav-item-this" > < a href = "" > evennia.server.profiling.memplot< / a > < / li >
< / ul >
< / div >
2023-06-10 08:53:19 +00:00
2022-11-14 22:43:45 +01:00
< div class = "footer" role = "contentinfo" >
2023-02-26 22:34:19 +00:00
© Copyright 2023, The Evennia developer community.
2022-11-14 22:43:45 +01:00
Created using < a href = "https://www.sphinx-doc.org/" > Sphinx< / a > 3.2.1.
< / div >
< / body >
< / html >